Introduction
The example shows how to setup and use the ECC Safety Diagnostic operation on i-data cache momory of R5F core. Shows the generation of SEC error on R5F ECC Aggregator for IDATA cache moemories.
Use Cases
| Use Case | Description |
| UC-1 | Single bit error injection. |
Supported Combinations
| Parameter | Value |
| CPU + OS | r5fss0-0 nortos |
| r5fss1-0 nortos |
| Toolchain | ti-arm-clang |
| Board | am263px-cc |
| Example folder | examples/sdl/ecc/sdl_ecc_r5_i-data/ |
Steps to Run the Example
See Also
ECC : Error Correcting Code
Sample Output
Shown below is a sample output when the application is run,
ECC Example Application
ECC UC-1 Test
ECC_Test_init: Exception init complete
ESM_Test_init: Init MSS ESM complete
ECC_Test_init: R5FSS0 CORE0 ECC initialization is completed
R5FSS0 CORE0 I_DATA Single bit error inject: starting
R5FSS0 CORE0 I_DATA Single bit error inject at pErrMem = 0x00000000 and the value of pErrMem is 0xE59FF018 :test complete
Waiting for ESM Interrupt
UC-1: Injected 1-bit error and got ESM Interrupt for ram_ID = 4.
R5FSS0 CORE0 I_DATA Single bit error inject: starting
R5FSS0 CORE0 I_DATA Single bit error inject at pErrMem = 0x00000000 and the value of pErrMem is 0xE59FF018 :test complete
Waiting for ESM Interrupt
UC-1: Injected 1-bit error and got ESM Interrupt for ram_ID = 5.
R5FSS0 CORE0 I_DATA Single bit error inject: starting
R5FSS0 CORE0 I_DATA Single bit error inject at pErrMem = 0x00000000 and the value of pErrMem is 0xE59FF018 :test complete
Waiting for ESM Interrupt
UC-1: Injected 1-bit error and got ESM Interrupt for ram_ID = 6.
R5FSS0 CORE0 I_DATA Single bit error inject: starting
R5FSS0 CORE0 I_DATA Single bit error inject at pErrMem = 0x00000000 and the value of pErrMem is 0xE59FF018 :test complete
Waiting for ESM Interrupt
UC-1: Injected 1-bit error and got ESM Interrupt for ram_ID = 7.
All tests have passed.