We've been using Arduinos for quick prototyping and development at work. On our designs I notice that the bootloader has to be burned in after every compile with my MKII and AVR studio. I read some threads about situations similar to this but is everytime on several different arduinos. I was wondering if someone knew what causes this issue?
My guess is that the fuse settings are not being setup correctly for bootloading operation in AVR studio. The correct values for the fuse settings for all the various arduino boards can be found in the boards.txt file in the Arduino core directory. Here is where mine is located:
C:\Documents and Settings\Primary Windows User\My Documents\My Programs\Arduino\arduino-0022\hardware\arduino
3 Folders:
bootloaders
cores
firmwares
2 Files:
boards.txt
programmers.txt
And here is the listing for one common arduino board showing fuse settings:
##############################################################
atmega328.name=Arduino Duemilanove or Nano w/ ATmega328
atmega328.upload.protocol=stk500
atmega328.upload.maximum_size=30720
atmega328.upload.speed=57600
atmega328.bootloader.low_fuses=0xFF
atmega328.bootloader.high_fuses=0xDA
atmega328.bootloader.extended_fuses=0x05
atmega328.bootloader.path=atmega
atmega328.bootloader.file=ATmegaBOOT_168_atmega328.hex
atmega328.bootloader.unlock_bits=0x3F
atmega328.bootloader.lock_bits=0x0F
atmega328.build.mcu=atmega328p
atmega328.build.f_cpu=16000000L
atmega328.build.core=arduino
##############################################################
Lefty