is there any other way to burn bootloader?

is there any way to burn bootloader whithout icsp? or show me a link
thanks

No, it's a chicken and egg kind of thing. A bootloader is the first chip code that has to be loaded as there is no existing bootloader on the chip to allow serial program loading.

An ISP programmer can load either bootloader code or normal code, but a running bootloader can only load normal programs onto a chip. However with the proper sketch (ArduinoISP) running on a standard arduino board that board can then emulate being a ISP programmer and load bootloaders into other boards or even blank AVR chips mounted on a breadboard.

Lefty

thanks for replay.
an other question , is there any way to burn arduino with iscp,but not use other device except a computer, can arduino burn bootloader by itself?

coos:
thanks for replay.
an other question , is there any way to burn arduino with iscp,but not use other device except a computer, can arduino burn bootloader by itself?

Well there is a way to use the PC's parallel printer port (do they have such ports anymore?) to attach to the iscp pins on a arduino board. Then using AVRDUDE in command line mode have it burn a bootloader. Also the Arduino IDE knows how to use such a parallel printer cable to burn bootloaders from inside the IDE.

Not everyone can get it to work, I failed trying and ended up getting a USBtiny ISP programmer kit for $20, works great.

Lefty

An Arduino can act as an ICSP (in-circuit serial programmer) which allows it to program other AVR processors including installing a bootloader. The steps are described here...

ArduinoISP still has that chicken and egg problem

You guys forgot that the FT232 can act as a programmer by bit-bang
http://www.geocities.co.jp/arduino_diecimila/bootloader/index_en.html

Also on the new Uno, I'm pretty sure you can modify the code for http://www.fourwalledcubicle.com/AVRISP.php to work with the ATmega8U2

frank26080115:
Also on the new Uno, I'm pretty sure you can modify the code for http://www.fourwalledcubicle.com/AVRISP.php to work with the ATmega8U2

Err... I just tried this, the code compiled to 9872 bytes with XPROG protocol enabled (for Xmega chips), 6498 bytes without XPROG protocol.

There's stuff I got to cut out before this fits on the 6k available on the ATmega8U2

edit, i got it down to 6174, but it needs to be 6144 or less

I can disable software bit-bang SPI if needed but then lower SCK speeds won't be supported

edit, software bit-bang SPI is disabled and the rescue clock is gone, now it is 5930 bytes, in theory it should work

I don't have an Uno to test with, and I haven't modified the pin assignments for the reset pin. Does anybody want to help?

The 8u2 only has 4k available. The DFU code takes up 4k, leaving just 4k for firmware. It is a tight squeeze for most USB drivers.

I have tried myself to do bitbanging by slimming down the USB serial firmware and adding some bitbanging commands. It is not very elegant but in the last couple of days I have at least managed to get it to partly work. (It basically lets you write any 8u2 register, or even memory - most of the time leading to a crash!)

The reset pin is tricky - in ISP mode reset needs to be held low, but in the Uno circuit there's a capacitor in the way meaning that the DTR output won't hold reset low.

stimmer:
The 8u2 only has 4k available. The DFU code takes up 4k, leaving just 4k for firmware. It is a tight squeeze for most USB drivers.

I have tried myself to do bitbanging by slimming down the USB serial firmware and adding some bitbanging commands. It is not very elegant but in the last couple of days I have at least managed to get it to partly work. (It basically lets you write any 8u2 register, or even memory - most of the time leading to a crash!)

The reset pin is tricky - in ISP mode reset needs to be held low, but in the Uno circuit there's a capacitor in the way meaning that the DTR output won't hold reset low.

Don't use the reset pin, I was planning on routing PD7 of the ATmega8U2 to the reset line of the ATmega328P, this should be the best solution.

About the 4K, that's my fault, I read 2048 words but forgot each word was 2 bytes.