Serial communication no available when external power source plugged, why!?

Happens that i upload my program succesfully, after i plug-in the external source, because the servo, i cant get serial communication with my computer and i get trouble with my Arduino board(mega 2560 by the way) :frowning: to get recognized again by the pc.
Hope somebody can help me, greetings :slight_smile: