SM CODE
Description
Ownership
Detailed implementation
Error reporting
Fault detection time
Addressed fault model
Dependency on MCU configuration
Initialization
Periodicity
Test for the diagnostic
Multiple faults protection
Recommendations and known limitations None
SM CODE
Description
Ownership
Detailed implementation
Error reporting
Fault detection time
Addressed fault model
Dependency on MCU configuration
Initialization
Periodicity
Test for the diagnostic
Multiple faults protection
Recommendations and known limitations None
SM CODE
Description
Ownership
Detailed implementation
Error reporting
Fault detection time
UM1845 - Rev 4
Table 18.
FLASH_SM_4
FLASH_SM_4
Static data encapsulation
End user
If static data are stored in Flash memory, encapsulation by a checksum field with encoding
capability (like CRC) must be implemented.
Checksum validity is checked by application software before static data consuming
Depends on implementation
Depends on implementation
Permanent and Transient
None
Depends on implementation
On demand
Not needed
CPU_SM_0: periodical core self-test software
Table 19.
FLASH_SM_5
FLASH_SM_5
Option byte redundancy with load verification
ST
During option byte loading after each power-on reset, the bit-wise complementarity of the option
byte and its corresponding complemented option byte is verified. Mismatches are reported as error
Option byte error (OPTERR) generation
Not applicable
Permanent
None
None (always enabled)
Startup
Not needed
CPU_SM_0: periodical core self-test software
Table 20.
FLASH_SM_6
FLASH_SM_6
Flash unused area filling code
End user
Used Flash area must be filled with deterministic data. This way in case that the program counter
jumps outside the application program area due to a transient fault affecting CPU, the system
evolves in a deterministic way
NA
NA
Description of hardware and software diagnostics
UM1845
page 20/108
Need help?
Do you have a question about the STM32F2 Series and is the answer not in the manual?
Questions and answers