Flash Storage Durability

Make settings and logs kept in flash or EEPROM survive power cuts and wear: classify each datum by write rate and tolerable loss, compute a wear budget (endurance times erasable units over writes per day times erases per write, at least three times product life), never update in place (two slots with sequence number and CRC, or a log-structured store such as littlefs or NVS), set the brownout threshold above the flash write minimum and size hold-up for the worst erase, tell wear-out from corruption with erase counters, and prove it with a randomised power-cut sweep. Use for "config corrupted after power loss", "flash wore out after a year", "littlefs or raw sectors", "how often can we write this setting". Not for server data (backup-recovery-design), database tables (schema-design), firmware image slots (ota-update-safety) or a unit that no longer boots (brick-recovery).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit f3f289a03c

Frequently asked questions

npx get-skill add greenblacked/flash-storage-durability