Hi I have a non-arduino board that uses an Atmega8 and an 8 MHz external xtal. I'd like to load the arduino bootloader onto it, but I'm not sure how to proceed. I think there are few options, but I'm not sure which is right. Do I...
Burn the regular 16 MHz bootloader onto it, and just change the board definition to:
atmega8.build.f_cpu=8000000L
or:
Burn the 8 MHz bootloader, and just change the fuse bits to external xtal instead of internal. Also, change the board definition as above.
i think you should recompile the bootloader for atmega8 @ 8Mhz and change the fuse bits - if you burn the 16Mhz bootloader youll probably have problems uploading code to it
Hi, thanks for the input. For other reasons, now, it appears that I do need a custom bootloader. Is it possible to compile the bootloader in the arduino software, or do I need to use something like winavr? I would like to work with optiboot, because it appears that there is a soft serial port option, which would be very useful for my project. Thanks.