Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Embedded & IoT QASeniorSpecialistTest design

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.

#embedded#flash#eeprom#persistence

Sources

MCUboot design documentationMCUboot · Firmware image validation, secure boot, update swaps, rollback and downgrade protectionFDA recognition of IEC 62304US FDA · Medical-device software lifecycle processes, safety classification and maintenance