Instructables

Burn Arduino Bootloader on Atmega-328 TQFP and DIP chips on Breadboard

Featured
Picture of Burn Arduino Bootloader on Atmega-328 TQFP and DIP chips on Breadboard

Parts required (Hardware)

 

  1. Arduino Uno Board (1)
  2. TQFP 32 to DIP 28 Adapter (1) Link
  3. Atmega TQFP 32 pin chip (1)
  4. Atmega DIP 28 pin chip (1)
  5. 10K resistor (1)
  6. 16MHz crystal (1)
  7. 18pf - 22pf capacitor (2)
  8. Tact Switch (1)
  9. Jumper wires (few)
  10. LED (1)
  11. 560 Ohm resistor (1)
  12. 10uF electrolytic cap (optional)
  13. Breadboard (1)
  14. Arduino Pins (2x6 pins, 2x8 pin socket)
  15. ZIF socket 28 pin (1)

 

Software pre-requisites : Arduino software installed

If you like this Instructable. I greatly appreciate your Vote for this Instructable @  http://www.instructables.com/contest/123dcircuits...

Thank You

 
Remove these adsRemove these ads by Signing Up

Step 1: Burn Arduino ISP to Arduino board

Picture of Burn Arduino ISP to Arduino board

Connect Arduino Uno board to your computer. Start Arduino program and from examples choose "ArduinoISP" sketch and upload it to "Arduino Uno" board. Please make sure you select the correct board name and serial port. Now this board is ready to program new Atmega-328 chips on the breadboard as shown in the next step.

Step 2: Arrange all components on breadboard

Picture of Arrange all components on breadboard
Burn-Test.jpg

Wire all components as shown in this picture on the breadboard. The Ziff socket is placed starting on pin 21, Add markings on the Breadboard to show Pin 1, Pin 14, Pin 15, Pin 28 of Atmega dip28 chip as it will be easy to wire later. The Breadboard does not show power, But run power +5V and GND from breadboard to Arduino board.

Step 3: Update Signature inside avrdude conf file

Picture of Update Signature inside avrdude conf file
avrdude-file-original-tqfp.png

It is recommended to first test burn bootloader on a Atmega 328 DIP-28 chip. I have Atmega 328-PU chips which requires signature to be updated inside avrdude conf file as shown in the picture.

Please make a backup of avrdude file and copy it so original file is left untouched and you can fail back to it if required. This file can be found under "C:\arduino-1.0.1\hardware\tools\avr\etc\avrdude".

Please restart Arduino program after you update "avrdude" config file.

The "#" sign in from of the signature indicates comment (not used by arduino)

Step 4: Burn Bootloader to Atmega-328 DIP chip

Picture of Burn Bootloader to Atmega-328 DIP chip
BurnBootLoader.png

Review all connections, select Arduino ISP Sketch and Burn boot-loader. If you receive Errors check the connections and jumpers. The 3rd picture shows boot-loader burning in action.

vj015 months ago

is it possible to get the schematic for the TQFP

GSAV556 months ago
What does this do or allow you to do?
Audigi (author)  GSAV556 months ago

This Instructable shows you how to burn arduino bootloader to new/existing Atmega 328P DIP/TQFP chips.

mjs23246 months ago

this is great, very well done.

Paul_Stone6 months ago
post also electronic schematic :)
Audigi (author)  Paul_Stone6 months ago

Please give me couple of days. I have to draw it and post.

baecker03 Audigi6 months ago
very well done, will vote up
Audigi (author)  Paul_Stone6 months ago

Paul,

Here is the Schematic for wiring new Atmega 328P with Arduino Uno. Also, Please vote in the Contests for this Instructable. Thank You.

IMG_1436_Schematic.jpg
padbravo6 months ago

Join the request for the schematic...

Audigi (author)  padbravo6 months ago

Here is the Schematic for wiring new Atmega 328P with Arduino Uno. Also, Please vote in the Contests for this Instructable. Thank You.

IMG_1436_Schematic.jpg
padbravo Audigi6 months ago
Sure!

and tks!
Audigi (author)  padbravo6 months ago

Give me some time I will post the schematic of Arduino connections on the Breadboard.

ramachillara6 months ago

Pretty awesome

thanks..
joey566 months ago
Awesome
audreyobscura6 months ago

This is awesome. Great documentation. Do you think that you could add a little bit of info to this i'ble about why you made it? I'm curious as why you needed to do this.

Thanks!

its good .....and thank you for publish this knowledge
Audigi (author)  atiwari186 months ago

Thank You Atiwari.

Audigi (author)  audreyobscura6 months ago

First let me say, Thank You Audrey. Appreciate it. I always document my electronic experiments in a notebook, thought of my own blog but never had time, so its coming out this way. I am glad you like it.