Bootloader for Duemilanove with ATmega168

I have the older version of the Duemilanove with the 168 chip and I'd like to burn the newest bootloader to it. In the arduino-0017/hardware/bootloaders/atmega folder, there is a file called ATmegaBOOT_168.c which looks promising. Unfortunately, in the Makefile there is no target named "Duemilanove". Can I use one of the other targets (NG, Diecimila, etc.)? Is there a reason this particular model is missing, even though many others are there? Thanks for your help!


in the file "arduino-0017\hardware\boards.txt" you can find the sections which fill the "Board" menus of the IDE. There are also the defintions of the bootloader files and the needed fuse settings.

Here the section of the Duemilanove 168: Diecimila, Duemilanove, or Nano w/ ATmega168 diecimila.bootloader.file=ATmegaBOOT_168_diecimila.hex diecimila.bootloader.path=atmega diecimila.bootloader.low_fuses=0xff diecimila.bootloader.high_fuses=0xdd diecimila.bootloader.extended_fuses=0x00 diecimila.bootloader.unlock_bits=0x3F diecimila.bootloader.lock_bits=0x0F


Hi, you just select your board (Arduino duemilanove with AtMega168) in the tools menu of the IDE and run Tools/Burn Bootloader with the programmer you have.

There is no need for a makefile or anything.