Error in uploading code to Arduino UNO R3, Programmer is not responding

Hello Guys, I am using Arduino UNO R3, Please help me to get rid of this error

Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x09
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x09
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x09
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x09
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x09
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x09
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x09
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x09
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x09
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x09
Failed uploading: uploading error: exit status 1

  1. Did it ever work?
  2. Anything connected to pins 0 and 1 of the Uno?
  3. Anything else connected to the Uno?
  4. Is this an original Uno or a clone?
  5. Did you select the correct serial port?
  6. What is your operating system?
  7. Which version of the IDE are you using?
  8. When you press and release the reset button, how many flashes do you see?

Your topic has been moved. Please do not post in "Uncategorized"; see the sticky topics in Uncategorized - Arduino Forum.

Yes it worked, I am using it at least 3 weeks, It was working, But suddenly it is showing this error
No, there is nothing connected to pin 0 and pin 1
No, Nothing is connected to Uno
Yes, This is original Uno
Yes, Selected serial port is correct.
Operating system is Windows 11 Pro
Arduino IDE version is Arduino 2.3.3
If i press reset button, Almost 3 to 4 flashes i see

OK, that means that the bootloader on the 328P is OK.

Although I would expect a different error message if the serial monitor is open, is the serial monitor open? If yes, close it.

You can run the loopback test to see if it reveals a problem with the 16U2 serial-to-usb converter: Loop-Back Test Instructions

I tried Loop-Back test, Everything is working fine as in instructions.

When i send data to serial monitor, it sends it (echo) back

What should i do next?

Anyone here! Please try to help me in solving my problem

Hi @muhammad_atif_shakeel. 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.

Hi @ptillisch . I disconnected the USB cable. And there is nothing connected to board, I also connected Board again to computer. But still the problem is same

Given the information gathered so far, I am left with only two possible causes for the upload failure:

  • The bootloader was somehow corrupted.
  • There is physical damage to the microcontroller or its support circuitry.

Even though the blinking LED after you press the reset button does indicate the bootloader is at least somewhat functional, there is still a possibility that it was corrupted in a way that leaves it able to blink the LED, but not to perform an upload. If so, the board might be recoverable by performing a "Burn Bootloader" operation.

I have to warn you there is no guarantee that this somewhat complex procedure which requires additional hardware will recover your board. But if you have the necessary hardware and are up for a challenge and an interesting project then I think it is worth a try.

Prepare ISP programmer

You will need an ISP programmer. If you don't have a programmer, you can use a spare Arduino board as an "Arduino as ISP" programmer.

Arduino as ISP

The following instructions are for using an Arduino board as an "Arduino as ISP" programmer. If you have a dedicated programmer, you can skip to the next set of instructions.

Although the "Arduino as ISP" only works for programming targets of the AVR architecture, you can also use boards of a variety of architectures (e.g., "AVR", "SAMD", "megaAVR") as an "Arduino as ISP" programmer.


In the instructions below, the board used as an "Arduino as ISP" is referred to as the "programmer board". The board the bootloader is being burned on is referred to as the "target board".


  1. Disconnect the USB cable of the Arduino boards from your computer.

  2. Make the following connections between the "programmer board" and the "target board".
    Refer to the "Connections" table on the SPI library reference page to determine the pin numbers.

    Programmer Target
    CIPO (AKA "MISO") CIPO
    VCC 5V (VCC on 3.3 V boards)
    SCK SCK
    COPI (AKA "MOSI") COPI
    10 RESET
    GND GND
  3. Connect the "programmer board" to your computer with a USB cable.

  4. Select File > Examples > 11.ArduinoISP > ArduinoISP from the Arduino IDE menus.
    The "ArduinoISP" sketch will open in Arduino IDE.

  5. Select your "programmer board" from Arduino IDE's Tools > Board menu.

  6. Select the port of your "programmer board" from Arduino IDE's Tools > Port menu.

  7. Select Sketch > Upload from the Arduino IDE menus.

  8. Wait for the upload to finish.

You are now ready to burn the bootloader using your "Arduino as ISP" programmer.

Burn Bootloader

Instructions for burning the bootloader:

It is not possible to do this via Arduino Cloud Editor. You will need to use Arduino IDE or Arduino CLI.

  1. Connect an ISP programmer to your Arduino board.
    If you are using an "Arduino as ISP", then you have already connected it according to the previous instructions.
  2. Select the target board from the Tools > Board menu and any other custom Tools menus (e.g., Tools > Processor).
  3. Select the appropriate programmer from the Tools > Programmer menu.
  4. Tools > Burn Bootloader
  5. Wait for the process to finish successfully.
  6. Disconnect the USB cable of the programmer from your computer.
  7. Disconnect the programmer from the "target board".

Now connect the "target board" to your computer with a USB cable, select its port from the Tools > Port menu, and try uploading a sketch as usual.

Conclusion

Now connect the "target board" to your computer with a USB cable and try uploading again. Does the upload succeed now?