>last time, I promise, Hey! Feel free to shoot as many holes as possible in what I'm trying to do - thats why I'm asking questions! If you find something I haven't thought of, just helps me make a more robust system. > >Dwayne Reid wrote: >> Each of my 8 records includes a 16 bit CRC. >Using this CRC test technique, if you start to have a bad eeprom address >due excessive use Thats the whole point of the CRC. If I find a record with a bad CRC, I don't use ANY portion of that record, including the sequence number. I find the newest record out of those with data I can trust. Once I have found the newest record, I'll try writing the record with the bad CRC once more, assuming that the CRC was bad because a previous write failed. If the write fails again, that chunk of eeprom is swapped out with one of the spares. Like I said earlier, I start out with 7 spare blocks of eeprom that can be mapped to any of the record locations. Once those are used up, my circular buffer drops to 7 records, then 6, then 5 - until I have NO eeprom left. But the box will be hollering for help long before then! dwayne Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax Celebrating 15 years of Engineering Innovation (1984 - 1999) * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Do NOT send unsolicited commercial email to this email address. My posting messages to Usenet neither grants consent to receive unsolicited commercial email nor is intended to solicit commercial email.