- Wed Nov 05, 2008 12:52 am
#58385
Oh, man...I was doing embedded tutorial #3 on changing the fuse bits for my ATMEGA8-16PU to use 16Mhz external crystal...
Before wiring up the crystal and the caps in, avrdude read the fuse bits correctly on my ATMEGA8-16PU (16Mhz max.) and output two bytes, 0xe1 and 0xd9 in that order. Then I turned off the power and wired the crystal in and avrdude wrote 1 byte of lfuse, byte 0xE6, as well as verified it. Now the LED does not blink at all!
I attempted to do a read again and get the below.
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override this check.
AVRDude now says my ATMEGA8 device signature is 0xffffff. The correct device id is 0x1E9307.
avrdude: Device signature = 0xffffff
Please help!
Before wiring up the crystal and the caps in, avrdude read the fuse bits correctly on my ATMEGA8-16PU (16Mhz max.) and output two bytes, 0xe1 and 0xd9 in that order. Then I turned off the power and wired the crystal in and avrdude wrote 1 byte of lfuse, byte 0xE6, as well as verified it. Now the LED does not blink at all!
I attempted to do a read again and get the below.
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override this check.
AVRDude now says my ATMEGA8 device signature is 0xffffff. The correct device id is 0x1E9307.
avrdude: Device signature = 0xffffff
Please help!