Uno R3 - problem with loading program

Hi Everyone,
I have problem with my official board Uno R3.
Firstly I had problem with seeing board in IDE, I had to instal new firmware to Atmega16U2 and I did that. After this IDE saw board but it was not possible to load any sketches due to avrdude fault.
According to troubleshooting form arduino.cc website I should load new bootloader to uC. I've used usbAsp to do this. New bootloader is now on uC but I still have same issue during loading.
Loopback test I've also done and it was ok. I'm runnig out of ideas what else I can do. I've even swapped Atmega328P to another one. Cable is checked, I reseted board, IDE, PC still nothing. Does anyone have any idea what i can do?

What, exactly, is that issue?

Show any error message(s) you are getting ...

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x20
Failed uploading: uploading error: exit status 1

Hi @aduill. Please try this experiment and then report back with the results:


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


  1. Connect the Arduino board to your computer with a USB cable.
  2. Press and release the button on the Arduino board that is marked "RESET".

Now please reply here on the forum thread with the answer to the following question:

  • Did you see the "L" LED blink quickly multiple times immediately after you released the "RESET" button?

I've checked. No I don't see "L" led blinking fast. I have "blink" sketch loaded on uC (still loaded from my test with usbasp) and when I push button Reset led is pernament ON and when I release button it is blinking again

There is your problem. When you do an "Upload Using Programmer" it erases the bootloader. You must do another "Burn Bootloader" operation before you can go back to doing normal uploads via the USB cable.

A post was split to a new topic: Error occurred while uploading sketch

Ok, bootloader is back onto uC. After pushing reset button is blinking quickly for a moment. Loading program still generates faults:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x44
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x44
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x44
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x44
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x44
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x44
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x44
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x44
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x44
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x44
Failed uploading: uploading error: exit status 1

I'm going to ask you to post the full verbose output from an upload attempt.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Select File > Preferences... from the Arduino IDE menus.
    The "Preferences" dialog will open.
  2. Uncheck the box next to Show verbose output during: compilation in the "Preferences" dialog.
  3. Check the box next to Show verbose output during: ☐ upload.
  4. Click the OK button.
  5. Attempt an upload, as you did before.
  6. Wait for the upload to fail.
  7. You will see a "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the COPY ERROR MESSAGES button on that notification.
  8. Open a forum reply here by clicking the Reply button.
  9. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code tags icon on toolbar
  10. Press Ctrl+V.
    This will paste the error output from the upload into the code block.
  11. Move the cursor outside of the code tags before you add any additional text to your reply.
  12. Click the Reply button to post the output.

I did as you told. Show verbose output during: compilation was already unchecked. After loading program I got message:

Failed uploading: no upload port provided

Can be a bad cable too. Please try with another one.

@aduill Please follow my instructions exactly. I need the full output. If there is something in my instructions that doesn't make sense, or if you are having some problem while following them, then provide a detailed description of the difficulty and I'll help you out.

I did as you wrote. Just point 2, of your instruction :
Uncheck the box next to Show verbose output during: compilation in the "Preferences" dialog.
was in my case already done (unchecked).
Everything what I get is:

Szkic używa 444 bajtów (1%) pamięci programu. Maksimum to 32256 bajtów.
Zmienne globalne używają 9 bajtów (0%) pamięci dynamicznej, pozostawiając 2039 bajtów dla zmiennych lokalnych. Maksimum to 2048 bajtów.
Failed uploading: no upload port provided

Edit. I did this 2 more times and that is what I've got this time:

Szkic używa 444 bajtów (1%) pamięci programu. Maksimum to 32256 bajtów.
Zmienne globalne używają 9 bajtów (0%) pamięci dynamicznej, pozostawiając 2039 bajtów dla zmiennych lokalnych. Maksimum to 2048 bajtów.
"C:\Users\Adrian\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\Adrian\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-PCOM7" -b115200 -D "-Uflash:w:C:\Users\Adrian\AppData\Local\Temp\arduino\sketches\EACC547954A92C866E922E27B5FC8DAF/sketch_jul17a.ino.hex:i"

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

         System wide configuration file is "C:\Users\Adrian\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

         Using Port                    : COM7
         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=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x98

avrdude done.  Thank you.

Failed uploading: uploading error: exit status 1

This error might be caused by having the wrong port selected from the Tools > Port menu in Arduino IDE. I know you already validated the port by using the loopback test, but it is possible you changed the port selection after that time due to the problem with the erased bootloader, so it is worth double checking.

Please perform this experiment to verify that the port you have selected is your Arduino board:

With some boards, the port will be labeled with the board name in the menu (e.g., "COM42 (Arduino Uno)"). In this case, you can be fairly confident that you have identified the port. But for other boards the port will not be labeled. You can positively identify the port using this procedure:

  1. Disconnect the USB cable of the Arduino board from your computer.
  2. Select Tools > Port from the Arduino IDE menus.
  3. Take note of the ports, if any, listed in the menu.
  4. Close the Tools menu.
    :exclamation: The ports list is only updated when the Tools menu is re-opened, so this step is essential.
  5. Connect the Arduino board to your computer with a USB cable.
  6. Select Tools > Port from the Arduino IDE menus. - If a new port is listed in the menu, that is the port of your Arduino board.

Select that port from the menu and try uploading again.

If the upload still fails, or if no new port appeared after you plugged the Arduino board into your computer, add a reply here to let us know and we'll investigate the problem further.

Unfortunatelly port is correct. I'm thinking that maybe there is something wrong with port COM in device manager. IDE is telling:

Using Port                    : COM7
Using Programmer              : arduino
Overriding Baud Rate          : 115200

But in device manager I have:
Baud Rate: 9600
Data bits: 8
Parity bit: None
Stop bit: 1

OK, on to the next thing:

It is possible for a short or external circuitry connected to the Arduino board to interfere with the upload process, causing this type of upload error.

Make sure the board is not sitting on anything conductive that could short the contacts on the bottom of the board. Make sure there isn't any conductive debris (e.g., strands of wire or component leads) on the board or on the surface the board is sitting on.

If you have a shield or any external circuitry or components connected to your Arduino board, try this experiment:

  1. Disconnect the USB cable of the Arduino board from your computer.
  2. Disconnect any shields, modules, external circuitry, etc. from your board.
  3. Connect the Arduino board to your computer with a USB cable.

Now try uploading a sketch to the board again. Does the upload succeed?

This experiment will determine whether the upload error was caused by interference from your external circuitry. If so, you can then focus your attention on identifying the specific problem with the circuit and resolving it.

That is normal and not related in any way to the problem you are having.

I’m a little confused by “ Firstly I had problem with seeing board in IDE, I had to instal new firmware to Atmega16U2 and I did that. After this IDE saw board but it was not possible to load any sketches due to avrdude fault.” - what exactly did you do and why did you do it ? This is a process rarely if ever needed ( I’ve never tried it ) it’s the very last thing I would have looked at

@ptillisch Nothing is connected to my Uno, no shields, no external circuts. Board is sitting on dedicated transparent case. I've checked if there is something inside what could cause short the contacts.

@barshatriplee I've changed cables, nothing happens.

@hammy Normaly board should be reachable via IDE, in my case it was not. I've checked Device Manager and my board was not showing as port COM. My board was shown as Atmega16u2 and driver for this device had fault. I've searched a little bit and found that loading new firmware may help. That's why I did this. After loading firmware it appears as COM 7, and I could see it in IDE.

Please post a link to where you obtained the firmware from.

@ptillisch Instructions are from: https://docs.arduino.cc/hacking/software/DFUProgramming8U2
Firmware from: https://github.com/arduino/ArduinoCore-avr/tree/master/firmwares/atmegaxxu2
I took old version (added 11 years ago): [UNO-dfu_and_usbserial_combined.hex]