Programmer is not responding

Hello, when I upload my code it says like this. I tested my code last week but it worked but now I tested it again my program has an error and it says like this:

Sketch uses 4794 bytes (14%) of program storage space. Maximum is 32256 bytes.
Global variables use 259 bytes (12%) of dynamic memory, leaving 1789 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=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x8a
Failed uploading: uploading error: exit status 1

Are you using an Uno?

Your topic is lacking details; with the risk of forgetting some, you can start by providing the below information.

  1. Which board are you using?
  2. Correct board selected?
  3. Anything connected to pins 0 and 1?
  4. Correct port selected?
  5. Which operating system?

I've split your question from the another topic; please do not hijack topics.

What kind of Arduino you have?
Post the avrdude command that was used. It is just before the log you posted.

Problem can be in the incorrect board settings include the port on your computer.

yesss

I am using Arduino Uno R3

I am using Arduino uno r3 and yes the board is correctly selected also the pins and port.

I connected the Arduino to breadboard. Is it possible that my arduino is broken?

You can switch on the verbose output during upload in File->Preferences and post it.

If you push the reset button does the LED blink a few time?

it says
Using Port : COM21
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.

Failed uploading: uploading error: exit status 1

hello, no it does not blink

Seems like the bootloader is damaged. Is it genuine board or some clone? Do you have another board?

I bought this at an electronics shop and I don't have another board. How do I fix this?

That is not a good sign. There is either a hardware problem or somehow the bootloader was wiped out. I suspect a hardware problem

Did you have anything connected to it and anytime?

The board L LED should blink 3x after reset or power on or at uploading start.
If it is the bootloader you will need the ISP programmer (it is HW) to fix it, or with another Arduino. However, it can be HW problem too.

no. May I ask what are the possibilities that why is bootloader is damaged? how do I fix it? Do I need a new arduino board?

how do I fix this?

I said it may also be a hardware problem which it probably is.

Let's do one more test just to make sure.

2 Likes

hello this is the result in the loopback test.
when I sent the message the TX and RX led flicked