Bootloading Atmega328-PU with arduino UNO hex file

Hi,

I wanted to know weather is there any possible way to bootload Atmega328-PU with Arduino UNO hex file using external USB programmer ??

Also are there any settings to be taken care of while bootloading or i just need to upload the hex file ?

Thanks,

Ujjwal Soni

ujjwalbsoni20032003:
Hi,

I wanted to know weather is there any possible way to bootload Atmega328-PU with Arduino UNO hex file using external USB programmer ??

Also are there any settings to be taken care of while bootloading or i just need to upload the hex file ?

Thanks,

Ujjwal Soni

Yup. You can use a couple of different programmers or use an Arduino as ISP

or

Both of these Arduino ISP programmers handle all the fuse settings. Settings are as follows:

##############################################################

uno.name=Arduino Uno
uno.upload.protocol=arduino
uno.upload.maximum_size=32256
uno.upload.speed=115200
uno.bootloader.low_fuses=0xff
uno.bootloader.high_fuses=0xde
uno.bootloader.extended_fuses=0x05
uno.bootloader.path=optiboot
uno.bootloader.file=optiboot_atmega328.hex
uno.bootloader.unlock_bits=0x3F
uno.bootloader.lock_bits=0x0F
uno.build.mcu=atmega328p
uno.build.f_cpu=16000000L
uno.build.core=arduino
uno.build.variant=standard

##############################################################

What programmer do you have in mind?

Hi,

Thanks for the reply. I have developed Arduino UNO board using a breadboard and assembled it. I do not have any ATMEGA328 chip with preloaded bootloader, i have 10 blank chips for ATMEGA328-PU and want to bootload it with Arduino UNO hex.

Could you suggest me a programmer ?

Thanks,

Ujjwal Soni

ujjwalbsoni20032003:
Hi,

Thanks for the reply. I have developed Arduino UNO board using a breadboard and assembled it. I do not have any ATMEGA328 chip with preloaded bootloader, i have 10 blank chips for ATMEGA328-PU and want to bootload it with Arduino UNO hex.

Could you suggest me a programmer ?

You can use your Uno as a programmer.

I do not have Arduino UNO. I have my own Arduino UNO breadboard with blank ATMEGA328-PU chip.

As fungus suggested, an Uno would make a great programmer since it can be configured to perform as an ISP and then back to other Uno projects. Here is a great sketch that is blazing fast:

For the dedicated types, there is the AVRISP MkII:

And then there is the classic USBtinyISP, it just can't flash over 64k:

If you bootload those chips, you are going to need a USB to UART board like:

He doesn't have a Uno, so those sketches won't help.

@OP you either need to get a programmer (around $20) like the USBtinyISP mentioned above, or buy at least one chip with the bootloader on it. Then you can use it to flash other chips.

Hi,

I have a programmer that uses AVR911 protocol. I thought I can burn the hex of the bootloader UNO "ATmegaBOOT_168_atmega328" in the path arduino\avr\bootloaders. I can program the chips without bootloader but I cannot burn any bootloader. I'd like to burn original one. I searched a lot but nothing has worked out for me. Any idea?

Some links that do not work for me :

https://learn.sparkfun.com/tutorials/installing-an-arduino-bootloader/all

is there any answer to this?!

"This"? Your pronoun usage makes it impossible to help.

darkstar614:
is there any answer to this?!

Yes.

The OP - or you if it counts - goes and buys a cheap USBASP programmer.
5dinBRyW)zJ!p!~~60_57.JPG)

You have a ISP that uses AVR911? Read this: http://www.atmel.com/images/doc2568.pdf