Default windows mobile device disconnect

i am trying to flash a new rom with wm6 and i can connect my phone and sync with windows mobile device then when i start the process the screen on the phone goes black and disconnect the phone from the computer. which stops the update process. its on a htc hermes. any help would be greatly appriciated