B1 Faults and recovery
What the field does to a device and how firmware survives it: every reset cause, RAM that outlives a reset, brown-outs, flipped bits, locked buses, stuck…
Lessons
- Fault injection: resets, brown-outs and flipped bits · Reading the reset cause, RAM that survives a reset, brown-outs, single event upsets and injecting faults on purpose.
- Stuck buses, stuck pins and drifting clocks · Freeing a locked I2C bus, detecting stuck pins, UART clock budgets and a timeout on every wait.