Arduino Nano stk500 Error: Old Bootloader Upload Fix

nano v3.0 development board atmega328p

Arduino Nano stk500 Error: Old Bootloader Upload Fix

To fix an Arduino Nano stk500 error, open Tools, Processor in Arduino IDE and try ATmega328P (Old Bootloader) if ATmega328P fails. The old bootloader talks at 57600 baud and the new bootloader talks at 115200 baud, so the wrong setting never syncs. Check the port, install the CH340 driver, and use a USB data cable.

Quick facts

  • Exact error: avrdude: stk500_recv(): programmer is not responding, then stk500_getsync() attempt 1 of 10: not in sync: resp=0x00.
  • Old bootloader upload speed: 57600 baud. New bootloader upload speed: 115200 baud.
  • Processor menu: Tools, Processor, ATmega328P or ATmega328P (Old Bootloader).
  • Nano V3 board in this guide: ATmega328P, CH340G, USB-C.
  • Pins D0 and D1 are the serial pins. Unplug anything on them during upload.

What does the stk500 error mean?

The error means the computer sent data but the bootloader on the Nano never replied. When you click Upload, the IDE resets the board and avrdude sends a sync request to the bootloader. A healthy bootloader answers with the byte 0x14, which means in sync. If nothing useful comes back, avrdude retries 10 times and gives up. The output reads avrdude: stk500_recv(): programmer is not responding, then avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00. Arduino IDE 2 then shows Failed uploading: uploading error: exit status 1. The board is almost always fine. The fault is in the board selection, the port, the driver, the cable, or the wiring on pins D0 and D1.

The most common cause on a clone Nano is the bootloader setting. Arduino changed the Nano bootloader in 2018. Boards made before 2018 and most clone boards use the old bootloader at 57600 baud. Boards made after 2018 use the new bootloader at 115200 baud. The IDE must use the same baud rate as the bootloader on the board. A mismatch means the sync bytes arrive at the wrong speed, and the bootloader never answers. The fix is one menu change. Open Tools, Processor and try the other option. That single change fixes most Nano upload errors.

How do you pick the right Processor setting?

Open Tools, Board and select Arduino Nano. Open Tools, Processor and look at the options. The menu lists ATmega328P and ATmega328P (Old Bootloader). Try ATmega328P first on a new board. If the upload fails with a stk500 error, switch to ATmega328P (Old Bootloader) and try again. Try ATmega328P (Old Bootloader) first on a clone board or on a board that worked with an older IDE version. The Nano V3 board in this guide is a clone-style board with a CH340G USB chip, so the old bootloader setting is the likely pick. Record the setting that works in your project notes. A board that needs the old bootloader will need it on every upload.

Do not change the board package to fix this error. The old bootloader option appeared in Arduino AVR Boards 1.6.21 and later. Update the AVR boards package in Boards Manager if the option is missing. Open Tools, Board, Boards Manager, search for Arduino AVR Boards, and install the current version. The option appears after the update. A board that worked before an IDE update and fails after it often needs the old bootloader setting, because the update changed the default. The forum threads for this error repeat the same fix: switch the Processor setting and retry.

Is the port, driver, or cable the problem?

Check the port next. Open Tools, Port and pick the port that appears when you plug the Nano in. On Windows, the Nano V3 board shows as USB-SERIAL CH340 under Ports in Device Manager. On macOS it appears as a cu.usbserial device. On Linux it appears as /dev/ttyUSB0. Unplug the board and watch the port disappear to confirm it belongs to your Nano. If no port appears, the cable or the CH340 driver is the problem. The driver fix guide in this series covers CH340 installs. Swap the cable first, because a charge-only USB-C cable powers the board but carries no data. Use a cable you have used for file transfer.

Close any program that holds the port open. The Serial Monitor, a second IDE window, and a terminal program can all lock the port. A port busy error reads Access is denied on Windows. Close the other program and retry. A port that appears in Device Manager with a yellow warning icon needs a driver reinstall. Uninstall the driver in Device Manager, check the box to delete the driver software, restart the computer, and install the current CH341SER driver from WCH. Do not install a driver from a random download site. Use the chip maker site.

What is wired to pins D0 and D1?

Pins D0 and D1 are the serial pins on the Nano. D0 is RX and D1 is TX. The USB chip uses those pins to talk to the bootloader during upload. A Bluetooth module, a GPS module, or another board wired to D0 or D1 will fight the upload. Unplug anything on D0 and D1 during upload, then reconnect it after the upload finishes. A shield that uses D0 and D1 will block every upload until you remove it. A sensor on D2 or a later pin does not affect the upload. Move any serial device to other pins when you can, and keep D0 and D1 free in the final build when the project uses serial at runtime.

A loopback test tells you whether the USB side or the microcontroller side is at fault. Connect a jumper wire between D0 and D1 on the Nano, open the Serial Monitor at 9600 baud, and type a line. The text should echo back. An echo proves the USB chip and the port work. No echo means the USB side is at fault. Remove the jumper before you upload, because the jumper shorts TX to RX and blocks the bootloader. The loopback test takes two minutes and it separates a driver fault from a bootloader fault. Use it after the Processor setting and the cable both check out.

When should you burn a new bootloader?

Burn a new bootloader only after the loopback test passes and every other fix has failed. A missing or damaged bootloader is the last cause on the list, not the first. To burn a bootloader, you need a second Arduino as a programmer or a dedicated ISP programmer. Load the ArduinoISP sketch on the programmer board, wire the ISP pins to the Nano, and use Tools, Burn Bootloader in the IDE. The wiring must match the ISP pinout for the Nano. A wrong wire can damage the board. The ArduinoISP sketch runs at 19200 baud, and the burn takes a minute. Do not burn a bootloader to fix a wrong Processor setting. The Processor setting is a menu change, and a bootloader burn is a hardware step.

A board that uploads after a bootloader burn but fails again on the next upload has a different fault. The bootloader did not damage itself. A loose USB socket, a bad cable, or a power fault is more likely. Check the cable and the port again before you burn a second time. A Nano that never uploads, even with the right Processor setting, a good cable, a working driver, and free D0 and D1 pins, may have a damaged ATmega328P chip. Try the same sketch on a second Nano board. A second board that works proves the first board is faulty. A second board that fails the same way proves the setup is at fault.

How do you keep Nano uploads working?

Record three things in your project notes: the Processor setting that works, the port name, and the board package version. A Nano that needs the old bootloader will need it on every computer you use. A teammate who opens the project on another computer needs the same setting. The Arduino IDE does not save the Processor setting in the sketch. It saves it in the IDE preferences for the board. A new IDE install resets it to the default. Write the setting in a README file in the project folder, next to the board name and the port. That note saves the next upload.

Update the AVR boards package only when you have a reason. A package update can change the default Processor setting and break a working Nano project. Finish the project, then update and test again. The same rule applies to every board package and library in this series. A stable project is worth more than a new version number. Keep the Nano V3 board in this guide on the old bootloader setting unless you verify that the new bootloader works on your exact board. Test the new setting once, record the result, and stay with the setting that works.

Step-by-step: Arduino Nano stk500 error fix

  1. Read the output panel and confirm the error is stk500_getsync() not in sync: resp=0x00.
  2. Open Tools, Board and confirm Arduino Nano is selected.
  3. Open Tools, Processor and switch to ATmega328P (Old Bootloader) if ATmega328P fails, or the reverse on a new board.
  4. Open Tools, Port and pick the port that appears when you plug the Nano in.
  5. Swap in a known USB data cable and try a different USB port on the computer.
  6. Install the CH340 driver from WCH if no port appears in Device Manager.
  7. Unplug anything wired to pins D0 and D1, then retry the upload.
  8. Close the Serial Monitor and any other program that holds the port open.
  9. Run a loopback test with a jumper between D0 and D1 to confirm the USB side works.
  10. Burn a new bootloader only after the loopback test passes and every other fix has failed.

Processor setting and bootloader baud rate

Processor setting Upload baud rate Which boards use it
ATmega328P 115200 Nano boards made after 2018, new bootloader
ATmega328P (Old Bootloader) 57600 Nano boards made before 2018 and most clone boards

First code to run

Upload this sketch after the Processor setting works. It blinks the LED on pin 13 once per second and uses no libraries.

// Blink for Arduino Nano V3 in Arduino IDE
// Board: Arduino Nano, Processor ATmega328P (Old Bootloader) on clone boards
// Library: none. Uses only the Arduino core.
// LED_BUILTIN is pin 13 on Nano. D0 and D1 must stay free during upload.
void setup() {
  pinMode(LED_BUILTIN, OUTPUT);  // Set the on-board LED pin as an output
}

void loop() {
  digitalWrite(LED_BUILTIN, HIGH);  // Turn the LED on
  delay(1000);                      // Wait 1000 ms (1 second)
  digitalWrite(LED_BUILTIN, LOW);   // Turn the LED off
  delay(1000);                      // Wait 1000 ms (1 second)
}

If the upload fails with ATmega328P, switch the Processor menu to ATmega328P (Old Bootloader) and retry. Do not change the board, the port, and the Processor setting at once.

Frequently asked questions

What is the old bootloader on Arduino Nano?

The old bootloader is the bootloader on Nano boards made before 2018 and on most clone boards. It talks at 57600 baud. The new bootloader talks at 115200 baud. Pick the setting in Tools, Processor that matches the bootloader on your board.

Why does my Nano fail with stk500_getsync not in sync?

The IDE and the bootloader are not talking at the same speed, or the port, driver, cable, or wiring on D0 and D1 is at fault. Switch the Processor setting first, then check the port, driver, and cable.

Can I use a Nano with a CH340 chip in Arduino IDE?

Yes. Install the WCH CH341SER driver, pick the USB-SERIAL CH340 port in Tools, Port, and pick the Processor setting that matches the bootloader. The Nano V3 board in this guide uses CH340G.

Why must D0 and D1 stay free during upload?

D0 and D1 are the serial pins. The USB chip uses them to talk to the bootloader. A device wired to those pins fights the upload. Unplug it during upload and reconnect it after.

When should I burn a new bootloader on a Nano?

Only after the loopback test passes and the Processor setting, port, driver, cable, and D0 and D1 checks all fail. A bootloader burn needs a second Arduino as a programmer or a dedicated ISP programmer.

Parts used in this guide

This guide fixes uploads on the Nano V3.0 board with ATmega328P and CH340G linked below. Try ATmega328P (Old Bootloader) first on this board.

Related guides

Sources

Last updated: 2026-11-21