UNO help please. avrdude: stk500_recv(): programmer is not responding

Morning all.

I have this problem with two UNO boards now. Both have been working fine, then have died on me with this error after being in circuit.

When I hit upload, the code compiles, the board resets and the RX light flashes. I have nothing from the TX light.

I have tried different ATMega chips (also with the arduino bootloader already burnt).

Any suggestions before I go out and buy (yet another) UNO board?

Edit: Just tried the loopback test. It works correctly on one board, however the other echos back garbage.

Try this, it sounds exactly the same error I had.

http://arduino.alt245.com.ar/how-i-dealt-with-this-error/

That is how I solved it.

Thanks for the reply,

I've checked that out, but unfortunately no luck. I've ordered (yet another!) UNO anyway. The boards will still run a pre-programmed chip so I can probably use them as a semi-permanent project platform.

Hi therecklessengineer,
I am having similar problem. Let me know if you find a way to fix your problem.

here's a possible solution:

I was getting this exact error. I also tried the solution that involves pressing the reset button during power-up and releasing during the upload and that didn't work for me either.

My clue is that I had just previously used my USBtiny avr programmer to write a bootloader directly to the chip, the atmega328P. that is, I pulled the chip from the arduino and used my programmer to write a bootloader with avrdude, bypassing the arduino IDE. After that the 'L' LED blinked as expected, so I thought it was good, but I got this error message and couldn't upload sketches. So, I theorized that I had selected the wrong bootloader file.

I used the my programmer again to give it a bootloader, but this time I left the atmega chip in the arduino, connected my programmer to the arduino board, and used the arduino IDE to "Burn Bootloader." It burned it successfully. I disconnected my programmer, connected my UNO to the usb port and successfully uploaded the example blink sketch.

I followed these instructions to connect my programmer to the arduino:
https://www.sparkfun.com/tutorials/247

Again, I think the reason it worked this time I let the Arduino IDE select the bootloader file... and it did a better job than I did.

Hi all!

My problem is the same..
But i know the port is good and the board type too..
The bootloader is good too coz the 13 pin is on..
The loop back test worked too soo i dont know what i should to do...
Any Idea?

As this item comes up as one of the first google items for "stk500_recv(): programmer is not responding", I'll add some info to this old thread that may help.

I posted this solution using a USBasp to refresh the bootloader:

https://forum.arduino.cc/index.php?topic=123573.msg3101883#msg3101883

see also:

hi all.. i encounter this error when i try to use ICSP for microsd module.. since i do use motor shield V1 that took over lots of pins..

i can use my uno normally if i disconnect the microsd module.. but then im still want to use microsd module,

is it "good" to use Analogs pins for microsd module ?

in code which chipSelect have to key in ?

regards

I have the same problem... my code is as follows:

int BYTEREAD = 0;

void setup() {
Serial.begin(9600);
Serial.flush();
}
void loop() {
if (Serial.available() > 0) {
Serial.flush();
int BYTEREAD = Serial.read();
Serial.flush();
Serial.print("I read from you:");
Serial.flush();
Serial.println(BYTEREAD);
Serial.flush();
}
}

I have loads of Serial.flushes in my program, what can I do ?
I'm only trying to get my arduino uno to read the serial and then read it back to me!!!!

the error is:

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xc1

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xc1

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xc1

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xc1

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xc1

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xc1

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xc1

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xc1

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xc1

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xc1

avrdude done. Thank you.

this is the whole message...

:frowning:
:frowning:

Did you select the correct board?
Did you select the correct port?

PS
I do not see a need for Serial.flush() in your code.