UNO Bootloader With Duemilanova board

Hi,

I've been searching through the forum, but I didn't find any information. Can you use an Atmega328 with UNO bootloader in a Duemilanova board? I own a Duemilanova board, and I can buy Atmegas with the UNO bootloader preloaded, but I don't know if they work with my board.

If you know where I can find some more information, or if it works, it will really help.

Thanks in advance,
Enrique

kikesantos:
Hi,

I've been searching through the forum, but I didn't find any information. Can you use an Atmega328 with UNO bootloader in a Duemilanova board? I own a Duemilanova board, and I can buy Atmegas with the UNO bootloader preloaded, but I don't know if they work with my board.

If you know where I can find some more information, or if it works, it will really help.

Thanks in advance,
Enrique

Nothing on the Duemilanova board would prevent a 328 with a Uno bootloader from functioning properly. You just have to remember to select the Uno board when you want to upload a sketch from the Arduino IDE.

Can you post a link to the atmega328's with the UNO bootloader installed? I'd be interested in getting some.

SparkFun only has the Duemilanove bootloaders installed on 328's.

UNO bootloader in a Duemilanova board?

Yes, Here what I use to upload the uno bootloader.
http://www.ladyada.net/make/usbtinyisp/

Loudhvx:
Can you post a link to the atmega328's with the UNO bootloader installed? I'd be interested in getting some.

SparkFun only has the Duemilanove bootloaders installed on 328's.

It was in Farnell, althouth they don't have them in stock right now...

Yes no problem, although make sure you get the latest 'optifix' version. The version that came with my Uno was quite frankly crap, before I found optifix I burnt my Uno with the Duemilanove bootloader because it worked. Once you've done it you need to say the board is a Uno in the IDE which can be a tad confusing.

You could add an optiboot Duemilanova to the boards.txt file to make an appropriate description:

##############################################################
atmega328o.name=Arduino Duemilanove or Nano w/ ATmega328 & optiboot

atmega328o.upload.protocol=stk500
atmega328o.upload.maximum_size=32256
atmega328o.upload.speed=115200

atmega328o.bootloader.low_fuses=0xFF
atmega328o.bootloader.high_fuses=0xDE
atmega328o.bootloader.extended_fuses=0x05
atmega328o.bootloader.path=optiboot
atmega328o.bootloader.file=optiboot_atmega328.hex
atmega328o.bootloader.unlock_bits=0x3F
atmega328o.bootloader.lock_bits=0x0F

atmega328o.build.mcu=atmega328p
atmega328o.build.f_cpu=16000000L
atmega328o.build.core=arduino
##############################################################

(Aside from the description it's the sam as the UNO)