The bootloader is a piece of code stored in a reserved space in your Arduino board's memory. It initiates the sketch when the board is powered and allows new sketches to be uploaded from your PC. This tutorial explains how to burn the bootloader to an Arduino Uno using an Arduino Nano.
What you'll need
- Arduino Nano
- Arduino Uno
- USB Cable Type A Male to Micro Type B Male
- Jumper cables x 6nos
Open Arduino IDE.
Connect Arduino Nano to your PC.
Select Arduino Nano in
Tools > Board > Arduino AVR Boards.
ArduinoISPsketch from the menu bar:
File > Examples > 11.Arduino ISP > ArduinoISP
Arduino > Examples > 11.Arduino ISP > ArduinoISP
Upload the sketch.
Disconnect Arduino Nano board from your PC.
Connect the boards as follows:
Programmer Pin Target Pin D10 SS Reset 5V 5V GND GND D11 COPI D11 COPI D12 CIPO D12 CIPO D13 SCK D13 SCK
Connect Arduino Nano to your PC again.
Arduino as ISPin
Tools > Programmer.
Tools > Burn Bootloader.
Wait for the process to finish. When it's complete,
avrdude done. Thank you.will be printed to console.