What bootloader is running on my Duemilanova

For makers who have purchased an Adafruit Starter Pack, get help with the tutorials here!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
rick_kimball
 
Posts: 13
Joined: Thu Mar 11, 2010 7:05 pm

What bootloader is running on my Duemilanova

Post by rick_kimball »

Well I just received my Arduino Starter Pack. Seems to work great blinking an led.
I guess that means I really need to go buy a soldering iron to build the rest of kit.

I was just wondering what version of the bootloader gets installed on these kits
from adafruit. Pressing shift while I download the code shows this avrdude
verbose output:

Code: Select all

Binary sketch size: 896 bytes (of a 30720 byte maximum)
C:\arduino\arduino-0018\hardware/tools/avr/bin/avrdude -CC:\arduino\arduino-0018\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P\\.\COM6 -b57600 -D -Uflash:w:C:\Users\AUTHOR~1\AppData\Local\Temp\build3803668973312557246.tmp\Blink.cpp.hex:i 
It looks like it is talking to the arduino using 57600 baud. Looking at the source code from here:
http://code.google.com/p/arduino/source ... BOOT_168.c I would have expected the baud rate to be 19200?

-rick

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: What bootloader is running on my Duemilanova

Post by adafruit »

the arduinos have the Arduino Bootloader. there might be info at Arduino.cc about the version. the baud is 57600

User avatar
rick_kimball
 
Posts: 13
Joined: Thu Mar 11, 2010 7:05 pm

Re: What bootloader is running on my Duemilanova

Post by rick_kimball »

Ah .. I see why now. Looking at the Makefile in my arduino-0018/hardware/arduino/bootloaders/atmega directory, I see that it is
defined there:

Code: Select all

atmega328: TARGET = atmega328
atmega328: MCU_TARGET = atmega328p
atmega328: CFLAGS += '-DMAX_TIME_COUNT=F_CPU>>4' '-DNUM_LED_FLASHES=1' -DBAUD_RATE=57600
atmega328: AVR_FREQ = 16000000L 
atmega328: LDSECTION  = --section-start=.text=0x7800
atmega328: $(PROGRAM)_atmega328.hex
thanks

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Starter Pack”