Forcing reset using 1200bps open/close on port. AVRDUDE

Can’t upload / download file to Arduino board using avrdude. What I get is following error messages:

avrdude.exe: jtagmkII_open_pdi()
avrdude.exe: jtagmkII_getsync()
avrdude.exe: jtagmkII_getsync(): Sending sign-on command:
avrdude.exe: jtagmkII_send(): sending 1 bytes
avrdude.exe: ser_recv(): programmer is not responding
avrdude.exe: jtagmkII_recv(): Timeout receiving packet
avrdude.exe: jtagmkII_getsync(): sign-on command: status -1

AVRDUDE from within ArduinoIDE get things done, however in output window I see:

Forcing reset using 1200bps open/close on port COM4

It seems that arduinoIDE does some magic trick with COM port before running avrdude.
Does anyone else have the same trouble?

I did somewhat walk-around the trouble on the W10 machine using MODE.exe command, but it is kind of a headache.

  • just use the reset button to reset the Arduino right before the upload

    – 

Leave a Comment