m-mcgowan / spark-flashee-eeprom

Eeprom emulation using external flash on Particle devices. Includes unit tests cross compiled to regular gcc, and on-device integration tests.
GNU Affero General Public License v3.0
34 stars 8 forks source link

Bad sector detection #14

Open m-mcgowan opened 9 years ago

m-mcgowan commented 9 years ago

If a sector cannot be erased, mark it as bad so that it is never used again.

Should each sector be checked after erase? Performance concerns?