How to upload while externaly powered ?

Hi . Thanks for input. That all makes sense now.

Where did you get that misunderstanding?

Hehehe. That my own invention :slight_smile:

I have hoked relays on 1 and 2 pins(was out of free pins). Probably that's why my arduino quits whenever I plug USB in to it.