Hi.. I was able to "revive" a completely wacked out atmega32 by the
following:
KEY -> attach a 12mhz xtal (instead of a 16mhz xtal)
code for default with jtag disabled:
avrdude -p m32 -b 19200 -P COM3 -c avrisp -V -F -e -u -U lock:w:0×3F:m -U
lfuse:w:0xe1:m -U hfuse:w:0xd9:m
then re-attach your 16mhz xtal and use this: (defaults for 16mhz xtal / jtag
disabled / fast power-up):
avrdude -p m32 -b 19200 -P COM3 -c avrisp -V -F -e -u -U lock:w:0x3F:m -U
lfuse:w:0xef:m -U hfuse:w:0xd9:m
//...how sweet it is
James Pascoe wrote:
Hi All,
Apologies for the following question which is very OT, but there is a
good chance you guys can help.
I am using an ATMega32 and inadvertantly programmed the fuse bits wrong
:-( ... instead of setting
the fuse bits to use a 16 Mhz external crystal as the clock source, I
programmed the chip to use the low frequency
crystal oscillator setting. Of course now, I can not program the device
anymore.
Does anybody know if there is any way (other than getting hold of a
32.768 Khz crystal) that I can recover the device ?
Many thanks for any suggestions,
James
_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
--
View this message in context:
http://old.nabble.com/ATMega32-fuse-bit-problem-tp12189077p29627870.htmlSent from the AVR - gcc mailing list archive at
Nabble.com.
_______________________________________________
AVR-GCC-list mailing list
address@hiddenhttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list