May 29, 2013

Burn bootloader with arduino as isp

The environment is Windows 7, arduino 1.0.5.
So I have an ATMEGA328 to which I need to upload the arduino bootloader. You can reprogram even if it is already bootloaded.


Required components:
  1. Arduino UNO with atmega328 on it.
  2. Another atmega328 ( on which the bootloader has to be updated )
  3. 22pf capacitors(2), 16Mhz crystal, breadboard and wires.

Steps:
  1. Wire the circuit as shown
  2. Open Arduino IDE and select open > ArduinoISP sketch
  3. Select Tools > Board > Arduino UNO (First One)
  4. Select the COM port
  5. Select Tools > Programmer > Arduino as ISP
  6. Compile and Upload the code
  7. Now change the Board to Arduino Duemilanove w/ Atmega328 ( Select Tools > Board > Arduino Duemilanove w/ Atmega328 )
  8. Now click on Tools > Burn Bootloader.
Important : two Atmega328 is requred one on Arduino UNO board and one on breadboard. Arduino uno board is used to here to update the bootloader on Atmega328 in the breadboard.


For Web Developer

  open -a "Google Chrome" --args --disable-web-security