What do you mean mains power and USB together?!
Do you have the CST-75 charger?
You should ALWAYS use the battery when flashing (and the battery should be fully charged, just in case)!