Uploading breaks USB port on Arduino Mico

Hi,

I can upload the .hex file via a programmer, and output messages via the USB port, but if I try to upload from vMicro (build & upload) in Atmel 7 via the USB the USB port switches off. I then need to power off
the Arduino to get the USB port back.

Any ideas why this happens?

Phil

(deleted)