The example shows how to setup and use the ECC Safety Diagnostic operation on d-data cache momory of R5F core. Shows the generation of SEC error on R5F ECC Aggregator for DDATA cache moemories.
ECC Example Application
ECC UC-1 and UC-2 Test
ECC_Test_init: Exception init complete
ESM_Test_init: Init MSS ESM complete
ECC_Test_init: R5FSS0 ECC initialization is completed
Starting Tests for Ddata cache - single error correction
Waiting for ESM Interrupt
Injected error and got ESM Interrupt for ram_Id = 13
Waiting for ESM Interrupt
Injected error and got ESM Interrupt for ram_Id = 14
Waiting for ESM Interrupt
Injected error and got ESM Interrupt for ram_Id = 15
Waiting for ESM Interrupt
Injected error and got ESM Interrupt for ram_Id = 16
Waiting for ESM Interrupt
Injected error and got ESM Interrupt for ram_Id = 17
Waiting for ESM Interrupt
Injected error and got ESM Interrupt for ram_Id = 18
Waiting for ESM Interrupt
Injected error and got ESM Interrupt for ram_Id = 19
Waiting for ESM Interrupt
Injected error and got ESM Interrupt for ram_Id = 20
Starting Tests for Ddata cache - double error detection
Waiting for ESM Interrupt
Injected error and got ESM Interrupt for ram_Id = 13
Waiting for ESM Interrupt
Injected error and got ESM Interrupt for ram_Id = 14
Waiting for ESM Interrupt
Injected error and got ESM Interrupt for ram_Id = 15
Waiting for ESM Interrupt
Injected error and got ESM Interrupt for ram_Id = 16
Waiting for ESM Interrupt
Injected error and got ESM Interrupt for ram_Id = 17
Waiting for ESM Interrupt
Injected error and got ESM Interrupt for ram_Id = 18
Waiting for ESM Interrupt
Injected error and got ESM Interrupt for ram_Id = 19
Waiting for ESM Interrupt
Injected error and got ESM Interrupt for ram_Id = 20
All tests have passed.