Go Down

Topic: avrdude: stk500_recv(): programmer is not responding (Read 18949 times) previous topic - next topic

harshith08

i am trying to upload bluetooth code to arduino nano,but im getting this type of error(avrdude: stk500_recv(): programmer is not responding).
i thought my arduino nano board was dumped by retrying uploading code to board and this error appeared even i used new board can i get a confident solution?

pert

Please do this:
  • (In the Arduino IDE) File > Preferences
  • Uncheck the checkbox next to "Show verbose output during: compilation"
  • Check the checkbox next to "Show verbose output during: upload
  • Click "OK"
  • Sketch > Upload
  • After the upload fails, you'll see a button on the right side of the orange bar "Copy error messages" (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button.
  • In a forum reply here, click on the reply field.
  • Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
  • Press "Ctrl + V". This will paste the upload output between the code tags.
  • Move the cursor outside of the code tags before you add any additional text to your reply.

harshith08

after trying what u told this is appeared."<Arduino: 1.8.9 (Windows 10), Board: "Arduino Nano, ATmega328P"

Build options changed, rebuilding all
c:\program files (x86)\arduino\hardware\tools\avr\bin\../lib/gcc/avr/5.4.0/../../../../avr/bin/ar.exe: unable to rename 'core\core.a'; reason: Permission denied

exit status 1
Error compiling for board Arduino Nano.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.>"

pert

This sort of error could be caused by your antivirus software. Try TEMPORARILY disabling your antivirus for a single compilation to see if the problem goes away, then turn the antivirus back on. If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to whitelist the appropriate file, folder, or process so it doesn't interfere with compilation.

harshith08



       this type of error occured"<System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

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

avrdude done.  Thank you.

Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.>".

pert

Try selecting Tools > Processor > ATmega328P (Old Bootloader).

harshith08

after selecting 'ATmega328P(oldbootloader)' igot this error can  get particular solution?

pert

Make sure you have selected the port of your Arduino board from the Tools > Port menu.

You can find it like this:
  • Unplug your Arduino board from the computer.
  • Tools > Port
  • Note the ports, if any, listed in the menu.
  • Close the Tools menu
  • Plug your Arduino board into the computer.
  • Tools > Port - The new port listed in the menu is your Arduino board.

hmmmirjana

Hello, I have the same problem and need a suggestion to solve it.
I have LilyPad 328 ATmega328P Main Board compatible for Arduino's IDE    and 
   
Basic Breakout Board For FTDI FT232RL USB to Serial IC For Arduino New 3.3V 5.5V
I have Arduino 1.8.5. and WIN10 Educational

I put:
Board:LilyPad Arduino
Port: COM3 (checked in Device Manager)
Processor: ATmega 328P
Programmer:AVR ISP
And I get this message
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xcd
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

So I tried to solve problem, but I did not succeed.
Please, help me!

pert

Make sure you have the FTDI breakout attached the right way around. The pin marked "DTR" on the FTDI board should be connected to the pin marked "G" on the LilyPad, then all the other pins are aligned from there.

If you have anything wired to the RX and TX pins on the LilyPad, that may interfere with the upload, so disconnect it before trying the upload.

zneb

This Dude problem is getting to be a pain in the projects, I have tried every fix I can find, but nothing works. I know I'm not the one to figure it out but hope someone does soon .My problem started about three wks ago and none of the Arduino  boards work. I don't see any upgrades or other changes that could have caused the problem. I tried the nano with the old Bootloader and no luck either. When I reset the uno"s   "tried 4 different ones" I get the 3 blinks so I guess they should be alright. I see some have tried some things that have worked for them none have worked for me after many TRYS. Am I wrong in thinking this is Arduino problem and they should be looking into it. It's probably a easy fix and everyone is looking to deep. Most dudes are good guys but We have a stinker here. Sorry for the rattling on but it is annoying when nothing works.

pert

none of the Arduino  boards work.
Are you saying you have multiple Arduino boards that all started having the same problem at the same time?

Am I wrong in thinking this is Arduino problem and they should be looking into it.
It's impossible to say whose problem this is. Many thousands of people are using Arduino's software every day with absolutely no problems uploading. Of the tiny percentage who do have uploading errors, the vast majority are caused by user error or damaged/defective hardware. Anyway, it's not really productive to talk about whoese problem it is.


If you have any external circuitry connected to your Arduino board, try disconnecting it to see if that solves the problem.

zneb

Yes to the multiple boards. The dude happens with or without any hook ups. Is there a way to check if boards are damaged, cause the ones I used were not new. I have tried a number of Sketch's that comply and have uploaded before without issue . Now I get this dude  error when I try them also. I also tried a different  computer same issue. I took all Arduino files off computer and started over that did not work either. {uninstalled also}.I just made the lego bulldozer 3 x scaled up and have been trying for 3 weeks to solve this issue and get it running. I haven't run into any dude I couldn't get along with but I guess there is always the first one . got to keep pushing on, maybe I'll get lucky. This is My issue message   
Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "Arduino/Genuino Uno"

Sketch uses 3322 bytes (10%) of program storage space. Maximum is 32256 bytes.
Global variables use 76 bytes (3%) of dynamic memory, leaving 1972 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avrdude -CC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM5 -b115200 -D -Uflash:w:C:\Users\frank\AppData\Local\Temp\arduino_build_7910/sketch_apr16ajoystick.ino.hex:i

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

         System wide configuration file is "C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf"

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

avrdude done.  Thank you.

Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


pert

Make sure you have selected the port of your Arduino board from the Tools > Port menu.

Sometimes the port will be labeled with the board name in the menu. Other times it will not. If you don't know which port is your Arduino, you can find it like this:
  • Unplug your Arduino board from the computer.
  • Tools > Port
  • Note the ports, if any, listed in the menu.
  • Close the Tools menu
  • Plug your Arduino board into the computer.
  • Tools > Port - The new port listed in the menu is your Arduino board.

flagtrax

#14
Apr 18, 2019, 04:36 am Last Edit: Apr 18, 2019, 04:41 am by flagtrax
For what it's worth, I've been fooling with a couple of Pro-mini clones today. I've been working on a project using a 3.3V tft display, and wanted to keep the whole project on one voltage to avoid level translation. I have several 5V boards and one 3.3V. I've always had issues trying to upload sketches to the 3.3V board, and I've read that a 5V board will run at 3.3V. So I powered it @ 3.3V and sure enough it took the upload and ran it fine. (an example sketch from the Adafruit tft library) BUT I received an error in the verbose output at upload. Running IDE 1..8.7  I've posted details here
https://forum.arduino.cc/index.php?topic=610726.msg4140962#msg4140962

To reiterate a point made on that post, I then remembered I had IDE 1.8.4 loaded on my old laptop. I ran the same setup on it, and the sketch again uploaded, and ran fine, this time with a clean verbose output.

I must have been in a masochistic mood, because I updated to the latest IDE 1.8.9 . I then could not upload to the board at all; getting "not in sync" errors.
I then rolled back to IDE 1.8.7 and uploads worked again (with same errors).

Now the 3.3V board as stated would never take an upload, keep in mind that I had selected ProMini 3.3V 8mhz in the board selection menu. Just for kicks today I selected 5V 16mhz as the board and it took an upload :o  I don't know if all that helps in pursuit of all the problems that seem to have appeared but I hope it does.

FOOTNOTE: Through all that, I was able to upload to my UNO.

Go Up