Arduino Uno Code Not Uploading

Hi I have been trying to create a project using an Elegoo UNO R3. everything worked perfectly fine for a few weeks and code was uploading fine. Soon I got these errors-

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x45
Problem uploading to board. See Arduino Help Center for suggestions.

The arduino does this even with nothing plugged into it other than the USB. I tried uploading from a different computer and got the same error.

I'm using the latest version of Windows 10

Make sure you have the correct board selected from the Tools > Board menu.

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, 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
  • Plug your Arduino board into the computer.
  • Tools > Port - The new port listed in the menu is your Arduino board.

I'm having the same issue with an Elegoo, too. Would really appreciate a hint or two. I've spent a lot of the day on this and would like to move forward :expressionless:

Using such details:

Getting the ol' "avrdude: stk500_recv(): programmer is not responding"

The list of triumphs in the past 7 hours:

  • started working after about the 15th install and 3rd reboot - discovered that had to put the device through a USB 2.0 Hub (now seems to be seen through direct usb 3.0 port - but still no luck)
  • port in Device Manager is: "USB-SERIAL CH340 (COM5)" (or 8 or 9 depending on where I was plugging it)
  • Using Processor: "ATMega328P Old Bootoloader"
  • Board Selected: Arduino Nano
  • IDE: 1.8.9 (standalone)

Upload verbose log:

Sketch uses 444 bytes (1%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM5 -b57600 -D -Uflash:w:C:\Users\A\AppData\Local\Temp\arduino_build_654734/sketch_sep02a.ino.hex:i

avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

Using Port : COM5
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xe0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xe0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xe0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xe0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xe0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xe0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xe0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xe0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xe0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xe0

avrdude done. Thank you.

Problem uploading to board. See Arduino Help Center for suggestions.

Allister_McRae:

  • Using Processor: "ATMega328P Old Bootoloader"

Select Tools > Processor > ATmega328P and then try uploading again. Although in my experience the Nano derivative boards like yours usually use the old bootloader, it's possible that Elegoo followed Arduino's lead and started putting the new bootloader on their boards.

Thanks for the response, pert. I'll try that.

Also of note is that I had soldered the pins on 3 boards.

One board powers up but doesn't detect.

The other two are having the identical issue. So for humour, I hooked up one that I hadn't soldered... And everything worked.

Tx/Rx lights up and does the job under 'old bootloader'

On the non-working ones, I get a couple of brief flashes of the Rx light - but not tx.

Maybe ~100 hours of soldering experience isn't quite enough..or I'm a flippin gibbon :slight_smile:

Will have to try soldering the known working one in the morning and seeing what happens.

Thanks again!

Hmm. Soldered just the same as the others. Works. Odd. Glad I got a 10 pack :roll_eyes: