TOPIC

Embedded & Firmware

Lessons, explainers, experiments, and implementation notes.

Embedded & Firmware · 2 min read · 2024-10-30

What Happens if Power Fails While Writing Flash?

It is easy to think of saving data as one indivisible event: write it and it is done. In reality, power can disappear in the middle of a write. The next boot then has to distinguish complete, incomplete, and usable state.

Quick navigationEsc