We may often encounter such situation as bootloader falls off when using Arduino, this thing can freak us out especially when we got no bootloader tools on hand. So what shall we do? Here we’ll introduce a way on how to burn bootloader via Arduino, which is rather practical in cases when without bootloader burning tools and no extra Arduinos.
Step 1: Preparation
- Arduino Duemilanove
- Dupont Line
- In-line resistance
Step 2: Burning Process
1. Burn Arduino ISP into Arduino Duemilanove
(1) Open Arduino IDE 1.0.5, select ArduinoISP under the secondary menu “Examples” of File. (fig 3)
(2) Compile ArduinoISP code and download it into Arduino Duemilanove. Note that you must refer to the picture below to select the board. (fig 4 & 5)
Note: you must follow the picture to select the board; as for the serial port number, you select it according to the actual port number of IDE
2. Burn bootloader into UNO’s Atmega328p via Arduino Duemilanove
(1) Connect the ISP burning port of Arduino Duemilanove to UNO’s burning port via Dupont line (fig 6)
(2) Short a 100 ohm resistor between the reset pin and 5V on UNO (fig 7)
(3) Configure Arduino IDE to achieve bootloader burning functions (fig 8 , 9 , 10)
Follow the mentioned guides to click on the Burn Bootloader, wait for a short period of time, the below prompt will appear to indicate burning done successfully.
Note: If you still can’t get it done though covered all the steps, please check the resistance between the reset pin and the 5V pin. Be sure that this resistance must be around 110 ohm.