Pages: [1]   Go Down
Author Topic: Bootloader for Duemilanove with ATmega168  (Read 919 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 186
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

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.name=Arduino 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
diecimila.build.mcu=atmega168

  MikeT
Logged

Wuppertal/Germany
Offline Offline
God Member
*****
Karma: 1
Posts: 895
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Eberhard
Logged

Pages: [1]   Go Up
Jump to: