Go Down

Topic: Error message programmer is not responding / avrdude not in sync (Read 2077 times) previous topic - next topic

ccarver

I have two new arduino unos (not knockoffs) that worked fine receiving code from the same dell laptop running windows 10 for a few days, then suddenly I began receiving the errors below:


Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"

Sketch uses 928 bytes (2%) 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.
http://downloads.arduino.cc/packages/package_index.json file signature verification failed. File ignored.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6a
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.



No hardware was changed; they are the same two boards, same cable, same laptop, etc. The arduino still powers on and lights up. I have tried every fix suggested online, including the following:
  • uninstalling/reinstalling arduino several times
  • compiling code on web editor (received the same error)
  • installing arduino on different laptop (same type, dell running windows 10)
  • deleting everything in the "arduino15" folder
  • pressing reset button right before code compiles
  • plugging in USB connection right before code compiles
  • swapping out USB cables
  • running different codes (including the most simple one, the "blink" example

Any advice would be much appreciated.

lfreddi

Does the Arduino IDE recognize succesfully the Arduino Uno board? (in the menu Tools/Port you can see the COM port that the arduino Uno is using?)

ccarver

Yes, it does recognize that there is a board plugged in. The code also successfully compiles, and I receive the error after about a minute during when it says "uploading."

bos1714

Hello there!

Do you have the correct board and COM port selected, you can check the COM port by opening Device Manager and going to Ports (COM and LPT) and there should be an Arduino something-something there. Make sure that COM port number is the same as the one you have in Tools->Port of the Arduino IDE.

Out of curiosity, what Arduino board(s) are you using?
Time line? Time isn't made out of lines. It is made out of circles. That is why clocks are round.

ccarver

Hello there!

Do you have the correct board and COM port selected, you can check the COM port by opening Device Manager and going to Ports (COM and LPT) and there should be an Arduino something-something there. Make sure that COM port number is the same as the one you have in Tools->Port of the Arduino IDE.

Out of curiosity, what Arduino board(s) are you using?
Yes, I am using the correct port and everything shows up as it should. I get this error on both the arduino uno and arduino mega.


bos1714

Time line? Time isn't made out of lines. It is made out of circles. That is why clocks are round.

ccarver

Are you using a USB 2.0 or 3.0 port?
I'm using a USB 2.0 port. I am still having all of the issues mentioned above.

bos1714

Time line? Time isn't made out of lines. It is made out of circles. That is why clocks are round.

ccarver

Have you tried the loop-back test?
Thank you very much for the suggestion. I tried the test according to the forum here. I connected the board with the jumpers in the places stated, ensured that the correct COM port and board were selected in arduino, and then opened the serial monitor. Nothing I typed was echoed back after I hit send.

Was this done correctly? If so, would this be solved by simply buying a new cable? This is the third cable I've bought, all from different companies.

Thank you for the help.

bos1714

I have had some trouble with the default loopback test too. Instead of putting a wire between reset and ground, simply hold down the reset button on the board and try that way. Can you also look at the Rx and Tx LEDs to see if they blink quickly?
Time line? Time isn't made out of lines. It is made out of circles. That is why clocks are round.

jake2701

I just bought 10 nanos from China. They would not program. After searching Internet I realized they got no bootloader. Arranged Uno to serve as programmer, and tried to to program bootloader. Fricken "wrong signature use -F". After reading all the crap people have been writing, I went to "programmers.txt", added "-F" in "arduino as ISP" block   "arduinoasisp.program.extra_params=-P{serial.port} -b{program.speed} -F
and fricken nanos got bootloader and started to work

jake2701

I don't know, but why simple things like that are not explained. Why, to make a mystery, to make yourself more important? I used to program 8051 microcontrollers using machine code and Commodore 64. Today we got everything on the plate, child's play. But we gonna put some f*** ups, and we are not going to tell about them. Let them sweat...... '

vipintmu

Dear all i also am facing same issue. Even my board is new & i upload only 8-10 times different coding.
The code also successfully compiles, and I receive the error after about a minute during when it says "uploading." Can anyone solve this issue as soon as possible.
The Error Messages are shown below:-

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x22
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x22
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x22
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x22
avrdude: stk500_recv(): programmer is not responding
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x22
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x22
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x22
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x22
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x22
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x22

ccarver

I have had some trouble with the default loopback test too. Instead of putting a wire between reset and ground, simply hold down the reset button on the board and try that way. Can you also look at the Rx and Tx LEDs to see if they blink quickly?
I have determined that the original loop-back test does work, but only when I use a working arduino uno that does accept code. The uno that throws up the original error does not give a response during the loop-back test when using the same laptop and USB cable.

I also had 2 megas that gave the same error as my original post, however we were able to get them to accept code if we did Tools > Programmer > Arduino as ISP, when it was originally AVRISP mkll. This does not work to fix the same error for the uno. I am unsure what this command does regardless - is it hurting the mega to program it this way? I can't seem to find any answers on Google.

Thank you very much.

Go Up