Boot & Reset Safety
Learn to make the transitions every ECU makes safe: the boot chain, resets and escalation, supply edges, startup self-tests, arming, watchdogs, reset storms, degraded startup, shutdown and brownout recovery.
Free account: a preview of this guide, plus the full Functional Safety Concept guide, 3 templates and 5 exams a month.
- Chapters
- 14
- Chapters
- Worked boot budget
- 1
- Worked boot budget
Quick answers
- What is boot and reset safety?
- Boot and reset safety is the engineering of the transitions every ECU makes between off and safely operating: power-on reset, the boot chain through boot ROM and bootloader to application start, resets of every kind, degraded startup, and safe shutdown. These are the most dangerous seconds of the lifecycle because diagnostics are not yet armed, outputs are in transition, and faults can exist that no runtime mechanism will ever see. Under ISO 26262 this work spans system-level safe states and arming under Part 4, hardware self-tests and monitoring under Part 5, and the software startup, watchdog and shutdown design under Part 6.
- What startup self-tests does a safety ECU typically run?
- A typical set includes logic BIST (LBIST) exercising the CPU and safety logic, memory tests such as march tests over RAM, flash checksum verification, configuration register checks, and tests of the monitoring hardware itself, such as watchdog and voltage-monitor checks. The design problem is budget: every test costs boot time, and functions have startup deadlines. The course shows how to place tests across startup, runtime and shutdown so the coverage claim holds without missing the arming deadline.
Included in Expert
Read the full guide with Expert
This page is the outline. The complete Boot & Reset Safety guide, 14 chapters, is part of the Expert plan. A free account lets you preview it and includes the complete Functional Safety Concept guide, 3 templates and 5 practice exams a month.
See what Expert includes
Benefits for your project
ISO 26262, Part 4
Make the unwatched seconds defensible
Startup and shutdown are when diagnostics are not yet armed and outputs are in transition. This guide gives you the boot-chain, arming and shutdown structure to argue those seconds are safe.
End reboot loops by design
Reset storms, brownout half-death and the KL30 trap are designed for explicitly (with escalation ladders, storm counters and parking states) instead of being discovered in the field.
Patterns you can reuse tomorrow
The closing chapter compresses the material into eight reusable patterns, ten pitfalls with detection and prevention, a reviewer checklist and an annotated boot budget for a steering-assist-class ECU.
Learning outcomes
Map the boot chain
Know who holds the system safe at each stage from power-on to an armed application.
Design reset handling
Classify resets, read their causes and escalate deliberately instead of looping.
Plan startup tests and arming
Choose self-tests and arming order that fit the startup budget.
Shut down and recover safely
Handle shutdown, NVM writes and brownout recovery without leaving hidden state behind.
Write and verify requirements
Turn transition behavior into ISO 26262 requirements with a verification plan.
Chapters in this guide
- 01
The Most Dangerous Seconds
See the coverage gap during transitions, the three families of transition, and why hazards do not pause while an ECU boots.
- Coverage gap
- Transition families
- Myths to drop
- 02
Anatomy of an Automotive Boot Chain
Walk the boot chain end to end, the jump-to-application decision, the AUTOSAR view of the stages and who holds the system safe at each one.
- Boot chain stages
- Jump-to-application
- Timing budgets
- 03
A Taxonomy of Resets
Sort the ways an ECU ends up in reset, what each reset actually resets, how to read the cause register and how to escalate.
- Reset types
- Reset cause register
- Escalation ladder
- 04
Power, Voltage and the Edges of Operation
Understand the supply you actually get, rail sequencing inside the ECU, independent monitors, hold-up energy and the standby domain.
- Rail sequencing
- Monitor independence
- Hold-up energy
- 05
Startup Self-Tests
Decide why and what to test at startup, see why large RAMs changed the approach, and choose the minimum before arming.
- Self-test toolbox
- Large RAM problem
- Pre-arming minimum
- 06
From Reset Release to Armed
Design the init state machine, let hardware hold the system until arming, order the steps with reasons and handle faults in between.
- Init state machine
- Ordering rules
- Readiness as a claim
- 07
Watchdog Behavior Across the Lifecycle
Follow watchdogs through boot and runtime, the supervision pattern of the AUTOSAR Watchdog Manager, and the breadcrumbs to leave when the dog bites.
- Watchdogs during boot
- WdgM pattern
- Leaving breadcrumbs
- 08
Reset Storms and Reboot Loops
See how recovery turns into oscillation, detect loops with a counter that survives them, and end loops on purpose, including at network level.
- Recovery as oscillator
- Loop detection
- Network view
- 09
Degraded Startup and Limp Home
Make the boot-time decision, choose fallbacks for each data class, define limp home and decide when a warm start is allowed.
- Boot-time decision
- Data class fallbacks
- Warm starts
- 10
Safe Shutdown and the Last Milliseconds
Design orderly and abrupt shutdowns, write NVM safely despite torn writes, and decide what actuators do when power goes.
- Orderly afterrun
- Torn NVM writes
- Actuators at power loss
- 11
Brownout: Recovering from the Half-Dead State
Understand what a brownout leaves behind, avoid patchwork recovery, make the warm or cold decision and test across the whole map.
- Brownout residue
- Warm or cold decision
- Testing the map
- 12
Multi-Core, Hypervisors and Secure Boot
Bring up a safety island first, order boot under a hypervisor, fit secure boot into the startup budget and treat failed updates as a boot problem.
- Safety island first
- Hypervisor boot order
- Secure boot budget
- 13
How the Topic Maps to ISO 26262
See where each chapter lands in the standard, part by part, with the requirements you would write and how to verify them.
- Chapter-to-standard map
- Example requirements
- Verification matrix
- 14
Patterns, Pitfalls and a Worked Example
Collect the design patterns, work an annotated boot budget, avoid the classic traps and prepare for reviewer questions.
- Pattern catalog
- Worked boot budget
- Reviewer questions
Read all 14 chapters with Expert.
Start with a free account: a preview of this guide, the complete Functional Safety Concept guide and 5 practice exams a month, then upgrade when you need this guide.
Expert plan pricingAn Annotated Boot Budget
Worked Example
The final chapter works through the startup timing of a steering-assist-class ECU from reset release to armed operation.
- The stages that consume the startup budget
- Where self-tests and secure boot fit in
- The trap of a cold boot that never comes
- The questions a reviewer asks about the result
- ECU: a fictional steering-assist-class controller from reset release to armed
- Each point in the list, worked through step by stepIn the full guide
The full example is in the guide, part of the Expert plan.
Who this guide is for
- Embedded software engineers who own startup, shutdown or watchdog code on safety ECUs
- Basic software and platform engineers integrating boot chains, EcuM/WdgM or secure boot
- Safety engineers who must argue that startup self-tests and arming sequences satisfy the safety concept
- Reviewers and assessors probing boot, reset and degraded-startup behavior in design reviews
Questions about Boot & Reset Safety
Start the Boot & Reset Safety guide
The full guide is part of the Expert plan. A free account opens a preview of it, the complete Functional Safety Concept guide, 3 work product templates, 1 guided process, the Markov and RBD simulators and 5 practice exams a month. No credit card required.
Continue with
More related ISO 26262 guides
- System levelEMC & Transient SafetyThe environment as a fault source: how EMI, ESD, load dump and coupled transients become random faults, the ISO 7637 / ISO 11452 / ISO 10605 standards map, immunity as a safety argument, and filtering, shielding and plausibility as safety measures.
- HardwareHardware MetricsLearn how to calculate SPFM, LFM, and PMHF with correct failure rate data and diagnostic coverage values. Covers ASIL-dependent targets, data sources (IEC 61709, FIDES), common calculation pitfalls, and compliance strategies.
- System levelTechnical Safety ConceptLearn how to translate safety goals and FSC into technical safety requirements (TSRs), system architecture, and HW/SW allocation. Covers safety mechanisms, diagnostic coverage, FMEA integration, and a complete worked example with templates.