Go Down

Topic: Burn Bootloader -> w/ Arduino as ISP option (Read 24 times) previous topic - next topic



Wanted to ask under the tools->Burn Bootloader option, there's one which says: w/ Arduino as ISP

What does it do exactly? Does it turn my arduino into an avr programmer straight?

If so, what hardware changes do I need to make? and how do I use it to load the Arduino bootloader into a new Atmega chip?



I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.



Thanks! That was what I was looking for :)


Did anyone got this method to work with ATMega328? I have tried a couple of times, but have not had any luck so far.


Apr 06, 2010, 03:43 pm Last Edit: Apr 06, 2010, 03:45 pm by raron Reason: 1
I made it work by sort of mixing the nice Avrdude tuturial:
with the atmega 328 fuse settings from this tutorial:

Basically I set my fuses to:
And the lockbit fuse to 0xCF.

and then using the really excellent ADAboot bootloader from http://www.wulfden.org/TheShoppe/freeduino/ADABOOT.shtml. Though you can use any compatible bootloader you want to. But this is really nice, boots almost instantly!

Well some verify / out of sync on verify errors did pop up sometimes, but it seems to work. Probably due to a different read-back of some fuse bits as I understand it. I used the megaISP linked above.

Others have seemingly succeeded with different fuse settings: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1268700386/0


Hello, im using an Arduino that came with an Atmega328, will using this tutorial of using the Arduino as an ISP "ArduinoISP" allow me to burn the bootloader to an Atmega8 just as easy or do i need to change something?

Im choosing Atmega8 because of its price, to make standalone school projects, which needs less than 8kb in program memory.

Thanks in advance!


Thanks raron, I will have to give this method a try then.


May 03, 2010, 09:15 pm Last Edit: May 03, 2010, 09:30 pm by lars.engel Reason: 1
@AlphaZeta: Do you have any updates on this? I am trying the same but I get a

avrdude: Expected signature for ATMEGA328P is 1E 95 0F
        Double check chip, or use -F to override this check.

message. Is the LED on pin 9 supposed to pulse when the arduino is doing nothing? I am running the circuit as in the Tutorial "Arduino as ISP"



Hi lundnul,

No, I haven't tried again. Now I am getting so used to using the bitbanging method and it has been working extremely well for me.


But you need a programmer for this, right? Are you doing this under MacOS?

So far I have succeeded in running avrdude directly with the -F option to ignore the signature. I try to burn the ATmegaBOOT_168_atmega328_pro_8MHz.hex which comes with Arduino. Unfortunately I get a verification error now.

Anyone with an idea?




May 04, 2010, 09:28 pm Last Edit: May 04, 2010, 10:18 pm by lars.engel Reason: 1

Though I am still a bit confused:

I need to run a compiled version of avrdude and I need to install the D2xx driver instead of the VCP driver?

I am trying this http://doswa.com/blog/2009/12/20/avrdude-58-with-ftdi-bitbang-patch-on-linux/ on MacOS but I am stuck with the Makefile, did you go the same way?


Well, if you are using the bitbang method, you will have to modify the avrdude source file to accommodate the FT232 chip and thus you do need to compile your own avrdude from the source.

I know that under Linux you do not need to install additional drivers, but I am not quite sure if you need to under Windows. Maybe someone else can answer this one?


Go Up