Functional Safety and Automotive Cybersecurity · Safety architecture
Freedom from InterferenceFFI
Also known as Coexistence of elements, Spatial and temporal isolation, Mixed-criticality isolation
The ISO 26262 property that faults in a lower-ASIL or non-safety element cannot cause a higher-ASIL element to fail, which lets mixed-criticality software share an ECU without developing every component to the highest ASIL.
Explanation
When software components with different ASILs coexist on one ECU, ISO 26262-6, as summarised in AUTOSAR's functional safety overview, requires either developing all of them to the highest ASIL or ensuring freedom from interference for the higher-ASIL components. Annex D of ISO 26262-6 groups the faults that cause interference into memory, timing and execution, and exchange of information.
AUTOSAR maps mechanisms to each group. Memory partitioning, enforced by a memory protection unit (MPU) or memory management unit, contains corruption of another element's memory, stack overflow and similar faults. Operating-system timing protection with execution budgets, and Watchdog Manager alive, deadline and logical supervision, address blocking, deadlocks and wrong execution flow. End-to-end (E2E) protection with CRC, sequence counter and data ID detects repeated, lost, delayed, inserted or corrupted messages.
The mechanisms are safety-related themselves and must be developed accordingly. AUTOSAR also notes limits: partitioning at OS-Application level does not separate software components inside the same OS-Application, and partitioning costs performance through context switches.
How it works
Identify elements of different ASILs that share memory, processor time or communication paths. Analyse possible interference in each category and select mechanisms: MPU or MMU partitions per OS-Application with user-mode execution; operating-system execution-time and inter-arrival budgets; watchdog checkpoints; E2E-protected signals. Verify the mechanisms, for example by fault injection, and document the argument that lower-ASIL faults cannot violate higher-ASIL safety requirements.
Automotive applications
- Mixed-ASIL software on AUTOSAR Classic ECUs
- Running QM and ASIL functions on shared multicore SoCs
- Partitioned RTOS and hypervisor designs
- Communication between ECUs or partitions of different ASILs
Example
An ASIL D brake-torque arbitration component and a QM diagnostic logger run on one microcontroller. Each sits in its own OS-Application with MPU-enforced memory and an execution budget, and the brake signal is E2E-protected, so a logger bug cannot overwrite brake data or starve the brake task of CPU time.
An illustrative example: any figures in it are worked numbers, not measurements.
References
- Overview of Functional Safety Measures in AUTOSAR (Document UID 664, CP R26-11) (opens in a new tab)
Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.