This example demonstrates the usage of the SDL DSS DSP L2 EDC errors. The example shows how to setup and use the EDC SEC/DED Safety Diagnostic operation. This shows the DSS DSP EDC error injection.
Parameter | Value |
---|---|
CPU + OS | c66ss0 nortos |
Toolchain | ti-c6000 |
Board | am273x-evm |
Example folder | examples/sdl/ecc/sdl_dss_l2_edc/ |
Shown below is a sample output when the application is run,
EDC Example Application
EDC UC-1 Example
ESM_Test_init: Init DSS ESM complete
EDC Safety Example tests: starting
Initiliazed and Enabled IDMA1 Interrupt
Enable the Error Detect logic...
IDMA1 call back function called.
Waiting for IDMA1 transfer Interrupt
IDMA1 transfer is done and got interrupt !!
Suspend the Error Detect logic...
Toggle a single bit in the Dummy function
Enable the Error Detect logic...
Call dummy function
ESM Call back function called : instType 0x2, grpChannel 0x1, intSrc 0x4
Take action
Low Priority Interrupt Executed
Waiting for ESM Interrupt
ESM Interrupt has occurred!!
SEC test has passed!!
EDC Safety Example tests: starting
Initiliazed and Enabled IDMA1 Interrupt
Enable the Error Detect logic...
IDMA1 call back function called.
Waiting for IDMA1 transfer Interrupt
IDMA1 transfer is done and got interrupt !!
Suspend the Error Detect logic...
Toggle double bit in the Dummy function
Enable the Error Detect logic...
Call dummy function
ESM Call back function called : instType 0x2, grpChannel 0x1, intSrc 0x6
Take action
Low Priority Interrupt Executed
Waiting for ESM Interrupt
ESM Interrupt has occurred!!
DED test has passed!!
All Use_Cases have passed.