7.4 Safety and security
The functional safety and security standards and what they require, safety mechanisms in firmware, secure boot and cryptography, and updating devices in the…
Lessons
- Safety and security standards · IEC 61508, ISO 26262, IEC 62304, DO-178C and MISRA C.
- Safety mechanisms · Defensive code, watchdog strategy, memory checks and redundancy.
- Secure boot and cryptography · Chains of trust, key storage, crypto accelerators and attacks.
- OTA updates and rollback · A/B slots, delta updates, rollback and signing.
Project: Electronic parking brake
The ECU behind a car's parking brake button: hazards rated to ISO 26262 by a MISRA-clean tool, a two-channel switch with a latched safe state, a bootloader that runs only signed, current firmware, and updates over the car's diagnostic protocol.