Hi Everyone,
For some reason, when I was trying to program a Atmega16 chip, it attempts to program, and it always gets to 100%, but not without at least 1 Retry.. Sometimes it has over 20 retries.. And 99% of the time, the verification fails...
I have to sit here and re-program it like 20 times over and over again before i get a "verification success".
=============================
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0038
0x0c != 0x04
avrdude: verification error; content mismatch
avrdude: safemode: Fuses OK
avrdude done. Thank you.
=============================
I have sit here and re-do it like 20 times before i get a success...
And I know its not getting all the program, cuz I have it set to program a 4x4x4 LED Cube, and sometimes it will work, but it won't run through the entire program... Only like 1/4th of it before it loops...
And other times it won't display anything at all...
Do you think its a problem with noise? Maybe Clock issues? the Atmega16 is using a 14.7456 Crystal with 22pF Caps.
Once I get a verification success, the program and chip works fine! But if I have to sit here and re-program it like 20+ times to get a working chip, then something is wrong..
Any ideas?

