What risks belong in flash or EEPROM persistence testing?
Answer
Verify erased values, layout and versioning, boundary sizes, checksums, atomic updates, wear levelling and recovery from interrupted writes. Exercise near-endurance conditions where feasible, corrupt individual records and metadata, and confirm defaults or migration do not silently destroy recoverable user data. Track compatibility across bootloader and firmware versions.
Strong answer includes
- covers physical endurance and logical format
- injects partial writes and corruption
- tests versioned migration and recovery
Practical example
A configuration-storage layer is tested only with clean writes and reads. A field unit loses power mid-write during a routine settings update, and the recovery logic — never tested against a truly interrupted write — reads a half-updated record as valid, silently applying a corrupted configuration that disables a safety feature until the next factory reset.