EEPROM Damage

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi! I'm having a very strange problem: the system is working for weeks with no problem. Suddenly the internal eeprom of the AVR 8515 just gets damaged! After that, i can read/write the eeprom only a few times (clycles). After these, the eeprom seems to be locked (don't work anymore). Then i clear the eeprom using a programmer and it gets back to work. This is the only way to get it working again. But only for a few read or write clycles, and locks again! What is this? Does anyone know? (P.S. I'm sure that the limit of the write clycles was not reached and there are no software bugs).

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Mr. Stocco,

Are you sure you haven't exceeded the write/erase limit? (100.000 cycles) You already said you were, but these sure sound like the classic symptoms. Could there be some rogue code writing to the EEPROM more often than you'd expect?

Best regards,

Morten, AVR tech. support, Atmel FAE

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,
Are you using a voltage supervisor/power on-off reset IC, such as the MAX708? If not, then this could be causing your EEPROM to be corrupted. During power on (or off), while the voltage is ramping up (or down), any random section code might be executed until things stabilize... unless the micro is held in reset during the ramp. That what the ICs such as the MAX708 are for.

Regards,
Phil Bright

admin's test signature