Hey guys, for a small projekt of mine I need to programm an Atmega8-16PU. First without an external quarz with 8MHz for testing then with an external one for the final step.
I know how to use the arduino uno as ISP, but I think I need hardware files for the Atmega.
Has somenoe already did this?
Look at the older board types: Arduino NG with Atmega8.
Thanks for the answer. I did that.
##############################################################
atmega8.name=Arduino NG or older w/ ATmega8
atmega8.upload.protocol=arduino
atmega8.upload.maximum_size=7168
atmega8.upload.speed=19200
atmega8.bootloader.low_fuses=0xdf
atmega8.bootloader.high_fuses=0xca
atmega8.bootloader.path=atmega8
atmega8.bootloader.file=ATmegaBOOT-prod-firmware-2009-11-07.hex
atmega8.bootloader.unlock_bits=0x3F
atmega8.bootloader.lock_bits=0x0F
atmega8.build.mcu=atmega8
atmega8.build.f_cpu=16000000L
atmega8.build.core=arduino
atmega8.build.variant=standard
They are using 16MHz though. I do need 8 MHz (internal osc). Can I just change f_cpu to 8000000L and the fuses in this file?
Would be changin lowfuse to 0xE4 right then? Thats internal RC Osc. 8 MHz from this site: AVR® Fuse Calculator – The Engbedded Blog. Can someone tell me what the different startup times for every option mean? (well they take longer to start, but why is that so? And why should I use an option with higher startup time?).
Thanks for your help!
Well works exactly like I said Just copy the part in the boards.txt and change fuses + cpu setting.
But there are so many settings for the fuses. What would be the right one for external 8 MHz quarz? And could someone answer my last question concerning the bootup time? I really wanna know that
Anyone?