AVRDUDE: stk500_getsync()

Hello Arduino forum,

Have seen a post that is sort of like this. The responder asked the poser to copy the error message but there did not seem to be any resolution.

Arduino: 1.8.12 (Windows Store 1.8.33.0) (Windows 10), Board: "Arduino Uno"

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\arduino-builder -dump-prefs -logger=machine -hardware C:\Program \ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-size" -A "C:\Users\ALLEN~1.PIT\AppData\Local\Temp\arduino_build_617238/PIR_Arduino_BD437g_Two_Modules_210220.ino.elf"
Sketch uses 1022 bytes (3%) of program storage space. Maximum is 32256 bytes.
Global variables use 13 bytes (0%) of dynamic memory, leaving 2035 bytes for local variables. Maximum is 2048 bytes.
Using Port : COM3
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xe2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xe2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xe2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xe2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xe2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xe2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xe2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xe2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xe2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xe2

avrdude done. Thank you.

Don't think the problem is w the COM port. And I had the greyed out PORT menu option issue but fixed that.
Have tried several different boards, cables, and computers.

Have been stuck for days.

Thanks.

Allen in Dallas

Remove any connections to pins 0 and 1 on your Arduino board. These pins are used for communication with your computer, including uploads. Connecting anything to these pins can interfere with uploads.

Make sure you have the correct board selected from the Tools > Board menu. Note that some boards have similar names, but are not interchangeable. Examples include "Arduino Uno" vs. "Arduino Uno WiFi" vs. "Arduino Uno WiFi Rev2", "Arduino Nano" vs. "Arduino Nano Every" vs. "Arduino Nano IoT" vs "Arduino Nano 33 BLE", "Arduino Duemilanove" vs. "Arduino Due".

Make sure you have selected the port of your Arduino board from the Tools > Port menu.

Sometimes the port will be labeled with the board name in the menu. Other times it will not. If you don’t know which port is your Arduino board, you can find it like this:

  • Unplug your Arduino board from the computer.
  • Tools > Port
  • Note the ports, if any, listed in the menu.
  • Close the Tools menu. The ports list is only updated when the Tools menu is re-opened, so this step is essential.
  • Plug your Arduino board into the computer.
  • Tools > Port - The new port listed in the menu is your Arduino board.

I have the same problem trying to program an Arduino Mini :-

Uploading ‘SkySurferMotor’ to ‘ATmega328P (Arduino Mini)’ using ‘COM3’
The uploader returned an error
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x59
…etc…
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x59

However, I tested the download to a Nano, Uno, and Mega2560 and they all worked fine.
The Mini is interfaced by using a Sparkfun Beefy, and I have successfully used this to program the Mini a matter of a few weeks ago, so I think something has changed in the Arduino Dev environment, or (Dare I say it) Windows 10.

Hello Global Moderator, BinaryFive and the Arduino forum,

Got it to work.

Had tried switching boards, cables, computers, software reinstall. Spent hours in frustration.

Finally remembered I had a an Arduino Mega 2560.
Had a little hassle getting the Com port to recognize but when I did
it compiled and loaded.

Then I tried my old Uno. and it started working too.

Still don't know exactly what made the difference just glad to be back on track.

Thanks for your support and replies.

Allen in Dallas

I'm glad to hear you managed to get it working. Thanks for taking the time to post an update. Enjoy!
Per

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.