This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== Using the ATmega8 ====== If you build your SpiffChorder with an ATmega8 instead of the ATmega168 you will need to make one or two changes to the Makefile. You will also need to set the fuses differently when you program the chip. All these changes are documented here. If you like me, build the hex file, then program by using avrdude or some other program directly, you only need to make the first change below. ===== Makefile changes ===== ==== 1 - Change the MCU name ==== Where for the ATmega168 it says: <code> # MCU name MCU = atmega168 </code> For the Atmega8 it should read: <code> # MCU name MCU = atmega8 </code> ==== 2 - Change the fuse settings ==== If you are not using the usb bootloader and want to use the Makefile to program your chip, you will also need to change the fuse settings in the Makefile as follows. Where for the ATmega168 it says: <code> fuse: $(AVRDUDE) $(AVRDUDE_FLAGS) -U hfuse:w:0xDD:m -U lfuse:w:0xFF:m </code> For the Atmega8 it should read: <code> fuse: $(AVRDUDE) $(AVRDUDE_FLAGS) -U hfuse:w:0xD9:m -U lfuse:w:0x3F:m </code>

spiffchorder/using_the_atmega8.1241449448.txt.gz · Last modified: 2009/05/04 11:04 by priestdo
Top of the Wiki www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0