Case File: The Controller That Restarts Itself
The finale: a microcontroller records why it last restarted, and a log of causes and uptimes tells a story that no single crash report can. Review a reset log: count the runs by cause, detect a boot loop (three runs in a row that each lasted less than 60 seconds), flag brownouts, watchdog resets and too many restarts (more than 20 percent of the runs not started by power on), give the longest and the mean uptime, and say ok when the log is clean, with the limits exactly right. Run it on logs that you cannot see. The log is generated for you alone.
Case File: The Controller That Restarts Itself
The finale: a microcontroller records why it last restarted, and a log of causes and uptimes tells a story that no single crash report can. Review a reset log: count the runs by cause, detect a boot loop (three runs in a row that each lasted less than 60 seconds), flag brownouts, watchdog resets and too many restarts (more than 20 percent of the runs not started by power on), give the longest and the mean uptime, and say ok when the log is clean, with the limits exactly right. Run it on logs that you cannot see. The log is generated for you alone.
In this lesson:
- watchdog
- brownout
- reliability
- reset
- python
- case-file
This lesson is part of a paid plan
Upgrade to Pro to unlock this course, its labs and its exam.
View Pricing Plans