Go Down

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

pert

I'm glad to hear you're able to upload again @Kukka!

Now you just need to identify the specific problem with the external circuitry you had connected when you weren't able to upload. The most common way for external circuitry to interfere with uploads is if you have anything connected to pins 0 and 1 on the non-native USB boards (e.g., Uno, Nano, Mega, Pro Mini). Those pins are also used for uploads, so connecting anything to them can interfere with the uploads.

Eris1173

Try a loopback test:
  • Disconnect power from the board.
  • Remove all connections and shields from the board.
  • Force the processor to remain in reset by connecting a jumper wire from the RESET to the GND pin.
  • Connect a jumper from the RX pin (Arduino pin 0) to the TX pin (Arduino pin 1).
  • Connect the board to your computer.
  • Select the port of your board from the **Tools > Port** menu.
  • **Tools > Serial Monitor**
  • Type some text into the input field at the top of the Serial Monitor window.
  • Press Enter. If the text you typed is shown in Serial Monitor's output window, the loopback test passed. If the text was not shown, the loopback test failed.
  • Close Serial Monitor.
  • Disconnect the board from the computer.
  • Remove the two jumper wires.


If the loopback test failed, the USB to TTL serial adapter is damaged and it's unlikely to be worth repairing your board.

Thanks Pert, seems the loopback test failed :(
Do I need a new board than? That`s sure?

Baasanjav

Hello,

I had the same problem that says "stk500_recv(): programmer is not responding".

I have chosen ATmega328P (Old Bootloader) from the Tools drop-down menu.
Also, I made sure my board and ports are correct.

I hope it helps.
Thank you.

Eris1173


chewzo

Arduino: 1.8.12 (Mac OS X), Board: "Arduino Uno"

Sketch uses 7592 bytes (23%) of program storage space. Maximum is 32256 bytes.
Global variables use 342 bytes (16%) of dynamic memory, leaving 1706 bytes for local variables. Maximum is 2048 bytes.
/private/var/folders/yk/z00xc0352xs2qbj6ss4mctf80000gn/T/AppTranslocation/40E7AD16-B114-4745-8BE1-2468A36C784F/d/Arduino-2.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/private/var/folders/yk/z00xc0352xs2qbj6ss4mctf80000gn/T/AppTranslocation/40E7AD16-B114-4745-8BE1-2468A36C784F/d/Arduino-2.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -carduino -P/dev/cu.SOC -b115200 -D -Uflash:w:/var/folders/yk/z00xc0352xs2qbj6ss4mctf80000gn/T/arduino_build_745727/RFID_Solenoid_Door_Lock.ino.hex:i

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

         System wide configuration file is "/private/var/folders/yk/z00xc0352xs2qbj6ss4mctf80000gn/T/AppTranslocation/40E7AD16-B114-4745-8BE1-2468A36C784F/d/Arduino-2.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/Users/elizataylor/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

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

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

Code: [Select]
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

Remove any connections to pins 0 and 1 on your Arduino board. These pins are used for communication with your computer, including uploads. Connecting anything to these pins can interfere with uploads.

Make sure you have the correct board selected from the Tools > Board menu.

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. The ports list is only updated when the Tools menu is re-opened, so this step is essential.
  • Plug your Arduino board into the computer.
  • Tools > Port - The new port listed in the menu is your Arduino board.

kaakrc

Hi all! Just a quick summary of what has worked for me.
I noticed that all my arduino nano's suddenly had this issue of "not being in sync" or something when I tried to upload a code. (you need verbose output during upload/compilation to see this). What's WEIRD is that I was able to upload code using the Pocket AVR Programmer and the 3x2 pin header on the nano/uno, but it didn't work with the USB... odd.

SO.

I did two things and I'm not even sure they were both necessary:

1) (may be optional) I went to sparkfun and followed their link to WCH website. You can use google chrome and translate the webpage (unless you speak mandarin). Then download the CH340/CH341/etc. driver package. Once you have this, put it in the folder for arduino/drivers/ftdi bus drivers (or similar). Go to the device manager and plug in your arduino, assuming you already have some sort of CH340 drivers (windows usually does). right click the port for your CH340 device and click update driver. It will show you the folder you need and you can put your new drivers there. Then inside the popup window for "update driver" go to that same folder, and select the .inf file that came in your CH340 package. The driver is now up to date.

2) Idk why this works but give it a shot. I've done this before with success, but can't explain why. You will need the Pocket AVR Programmer or similar (like $15 on amazon or sparkfun). Plug it in and make sure you already have all the necessary drivers installed. Go to tools and select the programmer (USBtinyISP) and select the board nano. Change the processor to "ATMEGA328 (old bootloader)". Then click "burn bootloader" in tools. Now go back and change the board to "Arduino Genuino Uno". Burn the bootloader with these settings. Now you basically changed the bootloader from A to B back to A. In my experience this works.

I think the reason this works is because I mostly use knockoff arduino's for cheap because I use so many of them for little projects and such. But this has worked for me so far. I hope this is helpful!

pert

I noticed that all my arduino nano's suddenly had this issue of "not being in sync" or something when I tried to upload a code.
Usually the easy fix for this is to select Tools > Processor > ATmega328P (Old Bootloader).

I was able to upload code using the Pocket AVR Programmer and the 3x2 pin header on the nano/uno, but it didn't work with the USB... odd.
Note that when you do an "Upload Using Programmer" it erases the bootloader, which makes it so you can no longer upload over USB until after you have done a Tools > Burn Bootloader.

You will need the Pocket AVR Programmer or similar (like $15 on amazon or sparkfun).
Another option is to turn a spare working Arduino board into an "Arduino as ISP" programmer:
https://www.arduino.cc/en/Tutorial/ArduinoISP
but it is handy to have a dedicated ISP programmer like the Pocket AVR Programmer, so that's a good choice too.

Change the processor to "ATMEGA328 (old bootloader)". Then click "burn bootloader" in tools.
This step is unnecessary.

change the board to "Arduino Genuino Uno". Burn the bootloader with these settings.
This is a great tip! That will free up 1.5 kB of program memory that would have otherwise been used for the bloated Nano bootloader. It also makes it so you are no longer subject to the bug in the Nano's old bootloader that causes it to go into an endless reset loop after a watchdog reset. Just remember to always select Tools > Board > Arduino Uno when using your Nano after this.

MNTHN

I double check all the factors which can produce this type of error but it's still not solved. Please check the below file.


cpstjen

Code: [Select]
Arduino: 1.8.12 (Mac OS X), Board: "Rokit-SmartInventor-mega32_v2"

Sketch uses 10012 bytes (30%) of program storage space. Maximum is 32336 bytes.
Global variables use 970 bytes of dynamic memory.
/Users/Tracy/Library/Arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/bin/avrdude -C/Users/Tracy/Library/Arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/etc/avrdude.conf -v -patmega32 -carduino -P/dev/cu.Bluetooth-Incoming-Port -b115200 -D -Uflash:w:/var/folders/bn/tv0rq86d4jz0_zfpswfc072r0000gn/T/arduino_build_448585/FlightController.ino.hex:i

avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "/Users/Tracy/Library/Arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/etc/avrdude.conf"
         User configuration file is "/Users/Tracy/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/cu.Bluetooth-Incoming-Port
         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=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

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.

getting this error when trying to upload code to board

kaiseren

Code: [Select]
Arduino: 1.8.12 (Windows 10), Placa:"Arduino Nano, ATmega328"

O sketch usa 29092 bytes (94%) de espaço de armazenamento para programas. O máximo são 30720 bytes.
Variáveis globais usam 1106 bytes (54%) de memória dinâmica, deixando 942 bytes para variáveis locais. O máximo são 2048 bytes.
C:\Users\ARTHUR\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino8/bin/avrdude -CC:\Users\ARTHUR\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino8/etc/avrdude.conf -v -patmega328p -carduino -PCOM3 -b57600 -D -Uflash:w:C:\Users\ARTHUR\AppData\Local\Temp\arduino_build_175162/FX-SaberOS.ino.hex:i

avrdude: Version 6.3, compiled on Dec 16 2016 at 13:33:19
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Users\ARTHUR\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino8/etc/avrdude.conf"

         Using Port                    : COM3
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x58

avrdude done.  Thank you.

Problema ao carregar para a placa. Veja http://www.arduino.cc/en/Guide/Troubleshooting#upload para sugestões.

Este relatório teria mais informações com
"Mostrar a saida detalhada durante a compilação"
opção pode ser ativada em "Arquivo -> Preferências"



Problema ao tentar fazer upload de código para o arduino nano v3.

Budvar10

#71
Mar 18, 2020, 06:16 pm Last Edit: Mar 18, 2020, 06:19 pm by Budvar10
Overriding Baud Rate : 57600
Tente usar a nova configuração do carregador de inicialização para 115200 baud.

:smiley-mr-green:
Arduino clone with ATmega1284P   http://forum.arduino.cc/index.php?topic=277260.0

pert

Problema ao tentar fazer upload de código para o arduino nano v3.
Do this:
  • Tools > Board > Boards Manager
  • Wait for the downloads to finish.
  • Click on "Arduino AVR Boards".
  • Click the "Update" button.
  • Wait for the update to finish.
  • Click the "Close" button.
  • Try uploading to your Nano again.

houseojfazz

hi
I m new here, and new in electronics-world.
I bougt a start kit cause I want to learn elecronics, to make a coinpusher (motor, lights and MP3 music)

I try to folow all the steps in the tutorials and I have the same problem as a lot of people...

see below please :

pff... nothing goes....


Can someone help me in understandable explainations please?

thanks a lot:

see my error :



Arduino: 1.8.12 (Windows 7), Board:"Arduino Uno"

De schets gebruikt 3988 bytes (12%)  programma-opslagruimte. Maximum is 32256 bytes.
Globale variabelen gebruiken 226 bytes (11%) van het dynamisch geheugen. Resteren 1822 bytes voor lokale variabelen. Maximum is 2048 bytes.
C:\Users\Vincent Vanneste\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\Vincent Vanneste\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega328p -carduino -PCOM6 -b115200 -D -Uflash:w:C:\Users\VINCEN~1\AppData\Local\Temp\arduino_build_236269/LOVE_O_METER.ino.hex:i

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

         System wide configuration file is "C:\Users\Vincent Vanneste\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

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

avrdude done.  Thank you.

Probleem bij het uploaden naar het board. Zie http://www.arduino.cc/en/Guide/Troubleshooting#upload voor suggesties.

Dit rapport zou meer informatie bevatten met
"Uitgebreide uitvoer weergeven tijden compilatie"
optie aan in Bestand -> Voorkeuren.

pert

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x08
Remove any connections to pins 0 and 1 on your Arduino board. These pins are used for communication with your computer, including uploads. Connecting anything to these pins can interfere with uploads.

Make sure you have the correct board selected from the Tools > Board menu.

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 board, 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. The ports list is only updated when the Tools menu is re-opened, so this step is essential.
  • Plug your Arduino board into the computer.
  • Tools > Port - The new port listed in the menu is your Arduino board.

Go Up