- 01Validate
Signature, device fit and security floor
- 02Try
Boot the candidate under the chosen policy
- 03Confirm
Required health checks pass
- 04Commit or recover
Persistent state and eligible recovery image agree
Define what is trusted before checking an image
Start with the first code and key material that the device trusts. Explain how those are provisioned, protected, updated or revoked, and which parts depend on the target hardware. A CRC is useful for detecting certain accidental corruption, but it does not establish the identity of an authorised signer. NIST’s firmware-resiliency guidance separates protection, detection and recovery. That framing is useful here, but it is not an automotive safety certification or a substitute for the target’s security architecture.
References: NIST SP 800-193: Platform Firmware Resiliency
Make image compatibility an explicit decision
The boot decision may need to consider the signing identity, hardware variant, image layout, dependencies and minimum security version. Define which metadata is authenticated and how unrecognised or malformed values are handled. Keep release signing separate from development signing, with access controlled through the release process. A production device should not gain trust in an arbitrary new key simply because that key arrives alongside an otherwise well-formed image. The exact mechanism depends on the root of trust and provisioning design.
Separate a release version from a security floor
MCUboot documents an optional hardware-backed security counter that is independent of the normal image version. This allows some older releases to remain acceptable when they have the same security level, while rejecting a lower security counter. That distinction matters when a device needs to revert after a failed update. If the platform advances its irreversible security floor too early, its previous recovery image may no longer be eligible. Agree when the counter advances and verify that sequence on the chosen port.
References: MCUboot design: image validation, test and revert, downgrade prevention
A second image slot is not the recovery design
For a test-and-confirm scheme, define who confirms the candidate and what has to work before confirmation. A process reaching its main loop may say little about communications, persistent-data migration or the control function. MCUboot’s supported swap and revert paths depend on configuration and flash layout. Check the actual build rather than assuming every port has the same behaviour. Our review starts with the persistent state before each erase, write, reset and confirmation, then asks what the next boot will do.
References: MCUboot design: image validation, test and revert, downgrade prevention
Include data migration and interrupted confirmation
Firmware rollback can fail in practice when the previous application cannot read data rewritten by the candidate. Decide whether migration is reversible, delayed until commitment, or handled through a compatible format. Then test loss of power around both image-state changes and data changes. MCUboot’s release history includes fixes involving interrupted flash operations and security-counter handling. Those reports are useful prompts for regression coverage; they do not mean every configuration has the same defect or that upgrading alone validates your system.
References: MCUboot release notes
Keep enough evidence to reproduce the release
Record the exact bootloader build, image digest, signing-key identifier, security counter, board revision and flash configuration. Capture the starting state, interruption point, next boot decision and observed application behaviour for each test. Store key identifiers in the report, never private signing keys. The acceptance decision should connect these observations to the project’s requirements. Use the checks below to plan verification for the chosen target.
AT THE DESIGN REVIEW
Test the transitions, not just the happy path
Adapt these checks to the flash technology, bootloader mode and system requirements.
Interrupted programming
CheckRemove power at defined erase and write boundaries.
Evidence to keepNext boot selects only an eligible, complete image.
Unconfirmed candidate
CheckReset before the required health checks complete.
Evidence to keepThe configured retry or revert policy is followed.
Security floor
CheckPresent signed images above, at and below the permitted counter.
Evidence to keepAcceptance matches policy, including the recovery image.
Data migration
CheckInterrupt a persistent-data change during the first boot.
Evidence to keepThe permitted next image can use or recover the data.
Sources and editions
Checked on 11 November 2026. Links support the technical discussion; the review examples are Aceman’s engineering analysis.
- NIST SP 800-193: Platform Firmware Resiliency Technical guidance, May 2018
- MCUboot design: image validation, test and revert, downgrade prevention Open-source project documentation
- MCUboot release notes Project change history; match fixes to your release
- MCUboot image signing tool Project documentation
Related experience: see the project and Aceman’s responsibility