Problem when burning a Bootloader on a Nano

I have a Nano that I can't upload sketches to and when I try to burn bootloader on a Nano from the IDE I get

"Arduino: 1.8.10 (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"

Error while burning bootloader."

Is there anything I can do now?

I tried also the regular 328P bootloader (for uploading and burning too).

You will need an ISP programmer. If you don’t have a programmer, you can use a spare Arduino board as an "Arduino as ISP" programmer. Although the "Arduino as ISP" only works for programming targets of the AVR architecture, you can use boards of any architecture as an "Arduino as ISP" programmer.


The following instructions are for using an Arduino board as an "Arduino as ISP" programmer. If you have a dedicated programmer, you can skip to the next set of instructions.

Make the following connections between the Arduino board you will be using as the programmer and the target. Refer to the "Connections" table on the SPI library reference page to determine the pins:

| Programmer | | Target |
| - | - |
| ----------- | |------- |
| MISO | | MISO |
| ----------- | |------- |
| VCC | | 5V |
| | | (VCC on 3.3 V boards) |
| ----------- | |------- |
| SCK | | SCK |
| ----------- | |------- |
| MOSI | | MOSI |
| ----------- | |------- |
| 10 | | RESET |
| ----------- | |------- |
| GND | | GND |

Connect the programmer board to your computer with a USB cable.

File > Examples > 11.ArduinoISP > Arduino ISP

Select the port of your board from the Tools > Port menu.

Sketch > Upload

Wait for the upload to finish.

You are now ready to burn the bootloader using your "Arduino as ISP" programmer.


Instructions for burning the bootloader:

  • Connect an ISP programmer to the ICSP header on your Arduino board.
  • Select the target board from the Tools > Board menu and any other custom Tools menus (e.g. Tools > Processor).
  • Select the appropriate programmer from the Tools > Programmer menu.
  • Tools > Burn Bootloader
  • Wait for the process to finish successfully.

Note: only the Arduino IDE has Burn Bootloader functionality. It is not possible to do this via Arduino Web Editor or arduino-cli.

Thanks! I will try this.