I am having quite a bit of trouble with the fuse bits and I have 4
chips which exhibit this issue. I am able to program the chip
with the default factory settings and it functions fine. However,
I need to use a 16Mhz external crystal. So I have that hooked up
between the two XTAL pins with two 22pF caps to gnd.
avrdude: current erase-rewrite cycle count is -50462977 (if being tracked)
avrdude: safemode is enabled, you will NOT be able to change the fuse bits. Use
-u option to disable
avrdude> d lfuse
>>> d lfuse
avrdude> d hfuse
>>> d hfuse
avrdude> d lock
>>> d lock
I do not know why programming the fuses would make the chip completely
non-functional. I did not program the lock bits either so this is
very puzzling. Any attempt to program the chip results in a
similar verification error with first mismatch at 0x000.
I would appreciate anyone's help. I have 4 chips with this issue.