Posts

Showing posts from March, 2015

BURN ARDUINO BOOT LOADER USING another ARDUINO (Arduino as an AVR ISP)

Image
This tutorial explains how to use an Arduino board as an AVR ISP (in-system programmer). This allows you to use the board to burn the bootloader onto an AVR . (e.g. the  ATmega168  or  ATmega328  used in Arduino). Instructions To use your Arduino board to burn a bootloader onto an AVR, you need to follow a few simple steps. 1. Open the  ArduinoISP  firmware (in  Examples ) to your Arduino board. 2.Note for Arduino 1.0:  you need to make one small change to the  ArduinoISP  code. Find the line in the heartbeat() function that says "delay(40);" and change it to "delay(20);". Select the items in the  Tools > Board  and  Serial Port  menus that correspond to the board you are using as the programmer (not the board being programmed). Upload the  ArduinoISP  sketch. Wire your Arduino board to the target as shown in the diagram below. ( Note for the Arduino Uno:  you'll need to add a 10 uF capacitor between reset and ground.) Select the item in the