??? 08/18/11 13:21 Read: times |
#183392 - Validating EEPROM Content Responding to: ???'s previous message |
You mentioned that you are using checksums to provide validation of EEPROM contents. Now whilst this is not a comment directed at your reading problem I did want to make you aware of something. Using a simple checksum as a data integrity checking scheme is notoriously unreliable. You should consider instead to use another scheme that provides a higher level of integrity checking. I have used simple XOR-ADD type schemes or used CRC-16 for EEPROM content validation.
I would be happy to share code for a good CRC-16 algorithm that has a small footprint in your code space because it works with just a 16 byte lookup table. Let me know if you are interested and if so please indicate if you are writing your code in C or Assembly language. Michael Karas |
Topic | Author | Date |
AT89C51 EEPROM Read Errors | 01/01/70 00:00 | |
'similar' | 01/01/70 00:00 | |
OnBoard EEPROM | 01/01/70 00:00 | |
Thanks | 01/01/70 00:00 | |
Is it possible.... | 01/01/70 00:00 | |
Another Question | 01/01/70 00:00 | |
Are You Disabling | 01/01/70 00:00 | |
Validating EEPROM Content | 01/01/70 00:00 |