Introduction: The Easiest Way to Burn Bootloader Into Atmega328P-PU

Picture of The Easiest Way to Burn Bootloader Into Atmega328P-PU

Atmega328P-PU can be used to replace the burnt atmega328 on Arduino UNO or build one simple standalone Arduino. Here I would like to share the easiest ways to burn bootloader with you and hope it can help you.

Step 1: Materials Preparing

Picture of Materials Preparing

The following 3 materials is needed:

1. Crowduino With ATMega 328 V1.1 This Crowduino is Arduino Compatible. The most interesting of this board can be programming wireless with Xbee. If you have a Arduino board already, this is not needed.

2. AVR ISP Shield V1.1 It is very easy to use, you don’t need a breadboard and a whole mess of jumper wires. This board makes you load the bootloader to the atmega328P-PU very easy.

3. ATmega328P-PU DIP Chip This chip is pre-loaded with the Arduino Optiboot (Uno 16MHz) Bootloader. If you purchased at the atmel office supplier, it doesn't have bootloader.

Step 2: Plug AVR ISP Shield

Picture of Plug AVR ISP Shield

Plug AVR ISP Shield onto the Arduino/Crowduino. Connect the board to PC using USB cable.

Step 3: Open the Firmware

Picture of Open the Firmware

Open the ArduinoISP firmware (in Examples) in the Arduino IDE(File>examples>ArduinoISP)

Step 4: Select the Items

Picture of Select the Items

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).

Step 5: Upload the ArduinoISP Sketch

Picture of Upload the ArduinoISP Sketch

You need to upload the ArduinoISP sketch as the picture shown.

Step 6: Plug the Atmega328P-PU

Picture of Plug the Atmega328P-PU

Plug the atmega328P-PU IC into the IC holder of the AVR ISP shield. Please be careful about the direction of the atmega328.

Step 7: Select the Item in the Tools

Picture of Select the Item in the Tools

Select the item in the Tools > Board menu that corresponds to the board on which you want to burn the bootloader (not the board that you're using as the programmer).

Step 8: Use the Burn Bootloader > Arduino As ISP Command.

Picture of Use the Burn Bootloader > Arduino As ISP Command.

Step 9: Note the LED on AVR ISP Shield

Picture of Note the LED on AVR ISP Shield

When burning the boot loader, you will see the LED(PROG) on AVR ISP Shield is blinking, and it will put out when complete the burn.

Now, you can burn bootloader into more Chips from step 6 to step 9. For more details or you want to burn bootloader to other arduino boards, you can also have a look at this wiki page.


Eric Brouwer made it! (author)2015-07-28

A excellent Instructable on using a programming shield. I am using this method for all my breadboard development, and to program all my projects. By default, I include a programming header on all my projects, making it possible to program the chip without removing it.

I will be lost without this shield. And instead of buying a pre-loaded ATMega328p, I now buy 2 blank chips for the same price. Quick and easy to burn bootloader.

I wish I knew about this programming shield before building my own.

Elecrow (author)Eric Brouwer2015-07-28

Hi Eric,
Thanks very much for sharing. You are a really good maker. The DIY programming shield is really good and the tutorial you made is really good too.

I just thought the tutorial list on this Arduino page is not in detail, So I made this tutorial in details for the AVR ISP shield to let everyone can made it. I think the tutorial I made for it is really easy that geekers can do it even they just know how to use the Arduino.

If this tutorial have something make you inconvenience, please accept my sincere apologize.


About This Instructable



Bio: Elecrow is an open hardware facilitation company based in Shenzhen. We integrate resources to serve new era of innovation. To make your making and innovation ... More »
More by Elecrow:Easiest Arduino Smart Plant WateringDIY Halloween Haunted House (Arduino Project)Arduino sunflower - An electronic sundancer
Add instructable to: