SM CODE RAM_SM_4
Test for the diagnostic NA
Multiple faults protection CPU_SM_0: periodical core self-test software
Recommendations and known limitations
Needed just in case of application software execution from SRAM.
CPU_SM_1 correct implementation supersedes this requirement
Table 26. RAM_SM_5
SM CODE RAM_SM_5
Description Periodical integrity test for application software in RAM
Ownership End user
Detailed implementation
In case application software or diagnostic libraries are executed in RAM, it is needed to protect the
integrity of the code itself against soft-error corruptions and related code mutations. This method must
check the integrity of the stored code by checksum computation techniques, on a periodic basis (at
least once per PST). For implementation details refer to similar method FLASH_SM_0
Error reporting Depends on implementation
Fault detection time Depends on implementation
Addressed fault model Permanent and Transient
Dependency on MCU configuration None
Initialization Depends on implementation
Periodicity Periodic
Test for the diagnostic
Self-diagnostic capabilities can be embedded in the software, according the test implementation
design strategy chosen.
Multiple faults protection
CPU_SM_0: periodical core self test software
CPU_SM_1: control flow monitoring in application software
Recommendations and known
limitations
This method must be implemented only in case of application software or diagnostic libraries are
executed from RAM
UM1845
Description of hardware and software diagnostics
UM1845 - Rev 4
page 24/108