Use an external reset chip. This is a well documented problem with first generation AVR chips. If you can't then a) don't use the first word of EEPROM and b) always zero the EEAR register between operations. Best, upgrade to a tiny26 or some other chip with a built in BOD. I have never had EEPROM problems with the new mega & tiny chips. -----Original Message----- From: Mark Jordan I have a circuit using an AT90S2313 working on a very noisy environment and subject to program 'crashes' sometimes. The Watchdog is very efficient recovering from crashes, but I'm having a corruption on the EEPROM contents. What is the best method of saving some bytes (2) in the internal EEPROM and getting them back without corruption? Is there some sort of FEC applied to memories?
Message
RE: [AVR-Chat] Saving in EEPROM without corruption?
2004-09-20 by Larry Barello
Attachments
- No local attachments were found for this message.