find & burn correct bootloader AtMega168

The problem is solved. :slight_smile:

I took ..arduino-0016\hardware\bootloaders\atmega\ATmegaBOOT_168.c and the Makefile and I copied them to another place. I changed a little the Makefile (target diecimila) in order to it works with AvrStudio GCC plugin.

I compiled it under AvrStudio v4.16 & WinAVR-20090313.
Burned the blank AtMega168 with AvrDragon by ISP.
Fuses:
EFUSE = 0xF8
HFUSE = 0xDD
LFUSE = 0xFF

First it didn't work.
When I read the Flash back from chip I got only 0xff in the whole file.
When I burned it again and I read the Flash back I got the good hex file.

And surprise it works !

Maybe the problem was long wiring between AVR Dragon and Severino.
Or maybe the problem was I took wrong hex file first time.
I hope just putting the ..arduino-0016\hardware\bootloaders\atmega\ATmegaBOOT_168_diecimila.hex will work.

Thank you for your help.