Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs
78 votes

Arduino Nano uploading gives error: avrdude: stk500_recv(): programmer is not responding

Know this is old but I ran onto it during my search for Nano(V3)'s not uploading so thought might help someone else. Problem is the bootloader - Arduino IDE BUT I Found an easy solution (right under ...
Goofy Brained's user avatar
77 votes

"avrdude: stk500_getsync(): not in sync: resp=0x00," aka Some Dude Named Avr Won't Let Me Upload My Program

Another fix: Change Tools->Processor->Atmega 328P to Atmega 328P (Old Bootloader). Remind that the Processor option is only available when you select some specific Boards at Tools>Board. ...
aguadopd's user avatar
  • 871
17 votes

CH340 Nano avrdude: stk500_getsync() not in sync resp=0xa4

Arduino has recently changed to using a different bootloader on their official Nano boards that communicates at 115200 baud rather than the previous 57600 baud. Support for these new boards was added ...
per1234's user avatar
  • 4,178
13 votes
Accepted

avrdude: Error: butterfly programmer uses avr_write_page() but does not provide a cmd() method

After much frustration in trying things, I came across this forum post which advised: sudo systemctl stop ModemManager.service If this works, disable the service from starting next boot: sudo ...
Tom Hale's user avatar
  • 431
12 votes

"avrdude: stk500_getsync(): not in sync: resp=0x00," aka Some Dude Named Avr Won't Let Me Upload My Program

In my case I hadn't wired the RTS pin of the FTDI chip to a capacitor which went to the RST pin of the Arduino Pro Mini. Once I installed this connection, I no longer got the error and I was able to ...
tr4nc3's user avatar
  • 221
6 votes

"avrdude: stk500_getsync(): not in sync: resp=0x00," aka Some Dude Named Avr Won't Let Me Upload My Program

I uninstalled the IDE and drivers etc, installed it all again, then I ran the Arduino IDE as an administrator and set to run compatibility as windows 7 (I'm currently using 10). I also changed the ...
daysley's user avatar
  • 61
5 votes
Accepted

Upload code on Arduino Leonardo using command line

The problem with the Leonardo is it doesn't automatically reset when you open the serial port like boards such as the Uno do. The Arduino IDE contains code to manually reset the board (by opening the ...
Majenko's user avatar
  • 105k
5 votes

Upload code on Arduino Leonardo using command line

After try some trial and error I have built a simple binary to upload into the Leonardo bootloader. This binary opens serial at 1200 baud then closes it, and wraps the avrdude binary to write .hex ...
vanbwodonk's user avatar
5 votes

esp32, platformio A fatal error occurred: Packet content transfer stopped (received 8 bytes) *** [upload] Error 2

I was able to resolve this issue by detaching jumpers that i had connected to the GPIO 12/13 pins during upload. After uploading they can be attached again. See this github issue: https://github.com/...
Trizion's user avatar
  • 51
5 votes

esp32, platformio A fatal error occurred: Packet content transfer stopped (received 8 bytes) *** [upload] Error 2

I had this error when trying to upload a sketch from Arduino IDE to a TTGO T-Display, found that I could resolve this by changing the upload speed from the default of 921600 to 115200. After doing ...
steoleary's user avatar
  • 151
5 votes

Uploading sketch to multiple Arduinos connected in series

Try connecting only the RX and reset pins. Serial programming is done by the bootloader, but it needs to be switched into programming mode first, which is done by resetting the chip and then sending a ...
Mark Feldman's user avatar
4 votes

"avrdude: stk500_getsync(): not in sync: resp=0x00," aka Some Dude Named Avr Won't Let Me Upload My Program

I had a similar issue with my Uno board avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x90 Tried many methods Press reset before ...
ChethanSuresh's user avatar
4 votes
Accepted

Relationship between avrdude's "programmer" and bootloaders

If you are using the bootloader, you are not using a programmer. The programmer, when used, is connected to the ICSP pins on the Arduino. The bootloader however expects a well-defined sequence of data ...
Nick Gammon's user avatar
  • 38.3k
4 votes
Accepted

writing and uploading sketch as cpp file

See my post about How the IDE organizes things. Also see my page about how to avoid the quirks of the IDE sketch file pre-preprocessing. You can certainly manage without .ino files. As Edgar Bonet ...
Nick Gammon's user avatar
  • 38.3k
4 votes

Uploading Error: no programmer has been specified

This issue occurs when using Arduino IDE 1.6.8 or older with Arduino AVR Boards 1.6.12 or 1.6.14. There are two solutions: Upgrade your Arduino IDE to 1.6.9 or newer by downloading and installing the ...
per1234's user avatar
  • 4,178
4 votes
Accepted

Set avrdude transfer baud rate in Arduino IDE

Update the boards package for the AVR hardware. That will give you new options in the tools menu. Then you should just select the right CPU variant. From top to bottom those are 115200, 57600 and ...
Majenko's user avatar
  • 105k
4 votes

Arduino UNO Power interruption

Do you have to upload the UNO after the applied power is disconnected? No. Does the UNO retain the code without any power? Yes. And when the power is disconnected, if the code is retained, will ...
VE7JRO's user avatar
  • 2,560
3 votes

"avrdude: stk500_getsync(): not in sync: resp=0x00," aka Some Dude Named Avr Won't Let Me Upload My Program

An unusual one but I've been swapping out the microcontrollers a lot and i got this error when one wasn't seated correctly.. i was able to burn a few times but i guess it slipped back out - a little ...
fearghal's user avatar
3 votes

Have I bricked my Arduino Uno? Problems with uploading to board

I have bricked 2x ATMega328P on my Arduino Uno board due to static (I think). The static seems to have killed the TX pin and hence the program can't be downloaded using the USB cable. The easiest ...
sa_leinad's user avatar
  • 3,188
3 votes

"avrdude: stk500_getsync(): not in sync: resp=0x00," aka Some Dude Named Avr Won't Let Me Upload My Program

I had this error come up too. It was the first time using a new Arduino Nano board after I had soldered on headers. Just tyring the Blink Sketch, nothing was connected to the board. I found a tiny ...
Wilkie's user avatar
  • 31
3 votes

Arduino Nano (clone) not recognized

It sounds like a blown protection diode MBR0520 in between USB and +5V of the nano.
Jerby's user avatar
  • 31
3 votes

Sketches won't upload to Uno

You can set the verbosity level in the Arduino IDE: File menu Preferences Settings tab "Show verbose output during" => check "upload" Click OK Upload again, and note the additional output telling ...
bas's user avatar
  • 145
3 votes
Accepted

I can't upload my program to Arduino Uno

Checks: Check if the board has power (probably it will). Check if the board is shown at the ports in the IDE (i.e. COM3: Arduino Uno). Check if you put the correct board in the IDE (e.g. Uno, Mega ...
Michel Keijzers's user avatar
3 votes
Accepted

How can I set a calculated value when my sketch is uploaded?

The C compilers provide two macros that resolve to string literals: __DATE__ gives the time the file was compiled, and __TIME__ gives the current time of day. They output e.g. "May 31 2017" and "21:...
Gerben's user avatar
  • 11.3k
3 votes
Accepted

Can't open "COM1" on Linux with Trinket Pro

[ 881.092161] usb 2-1: Product: USBtiny [ 881.092163] usb 2-1: Manufacturer: Adafruit [ 1004.305143] usb 2-1: USB disconnect, device number 5 [ 1019.935505] usb 2-1: new low-speed USB device number ...
Chris Stratton's user avatar
3 votes
Accepted

Upload already compiled code on Linux CLI without arduino-cli

Use avrdude. The command format is simple, assuming you have installed it from the Linux repositories: avrdude -carduino -patmega328p -P/dev/ttyUSB0 -b115200 -Uflash:w:/path/to/project.bin.hex:i ...
Majenko's user avatar
  • 105k
3 votes
Accepted

Arduino Nano clone doesn't upload Linux

The problem is in kernel ch341 driver. Using 5.3.3 on Archlinux and 5.6 rc1. https://github.com/torvalds/linux/blob/e33eab9ded328ccc14308afa51b5be7cbe78d30b/drivers/usb/serial/ch341.c This driver ...
Jakub Janek's user avatar
3 votes
Accepted

Replacing the IC (atmega328) if lifespan has been arrive

You only need to change the IC, not the entire board. The microcontroller IS the IC. Also, you will not see any degradation, it will just 'suddenly' fail, or starting to fail sometimes, without any ...
Michel Keijzers's user avatar
3 votes
Accepted

How to detect ESP32 vs ESP8266 automatically when uploading the application?

You can attempt to get the "chip ID" from the target board using esptool.py. The ESP8266 has a chip ID, but the ESP32 doesn't. Running esptool.py --port <serial port> chip_id will ...
Majenko's user avatar
  • 105k
2 votes

"avrdude: stk500_getsync(): not in sync: resp=0x00," aka Some Dude Named Avr Won't Let Me Upload My Program

There is also the possibility of the the controller itself being placed the wrong way in the socket on the Arduino. This can be dangerous for the controller (which may get zapped) but, in my case, it ...
A B's user avatar
  • 31

Only top scored, non community-wiki answers of a minimum length are eligible