############################################################## |
############################################################## |
Using an Arduino board to burn the bootloader
If your ATMega8/ATmega328 already configured to use external clock, then wire up the Arduino board & microcontroller as show in figure 1, otherwise (microcontroller configured to use internal clock) you can follow either figure 1 or figure 2.
- Upload the ArduinoISP sketch onto your Arduino board.
- From Tools>Board menu, select ATmega328 Optiboot (8MHz internal clock) if you want to burn the bootloader on ATMega328 microcontroller
- From Tools>Board menu, select ATmega8 Optiboot (8MHz internal clock) if you want to burn the bootloader on ATMega8 microcontroller
- From Tools>Programmer> menu, select Arduino as ISP
- Select Burn Bootloader from Tools menu to start burning bootloader to microcontroller