AM273x MCU+ SDK  08.06.00
SDL ECC MSS L2

Introduction

This example demonstrates the usage of the SDL MSS L2 module. The example shows how to setup and use the ECC Safety Diagnostic operation. Shows the generation of SEC and DED error on MSS L2 ECC Aggregator.

Use Cases

Use Case Description
UC-1 Single bit error injection.
UC-2 Double bit error injection.

Supported Combinations

Parameter Value
CPU + OS r5fss0-0 nortos
Toolchain ti-arm-clang
Board am273x-evm
Example folder examples/sdl/ecc/sdl_ecc_mss_l2/

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 and UC-2 Test
ECC_Test_init: Initialize of MSS L2 ECC Memory is complete
ECC_Test_init: MSS L2 ECC initialization is completed
ESM_Test_init: Init MSS L2 RAMB single bit ESM complete
MSS L2 RAMB Single bit error inject: starting
ESM Call back function called : instType 0x1, grpChannel 0x1, intSrc 0x12
Take action
ECC Error Call back function called : eccMemType 2, errorSrc 0x1, ramId 1, bitErrorOffset 0x00000001, bitErrorGroup 0
MSS L2 RAMB Single bit error inject at pErrMem = 0x10280000 and the value of pErrMem is 0x00000000 :test complete
Waiting for ESM Interrupt
UC-1: Injected 1-bit error and got ESM Interrupt
ESM_Test_init: Init MSS L2 RAMB single bit ESM complete
MSS L2 RAMB Double bit error inject: starting
ESM Call back function called : instType 0x1, grpChannel 0x1, intSrc 0x11
Take action
ECC Error Call back function called : eccMemType 2, errorSrc 0x2, ramId 1, bitErrorOffset 0x00000000, bitErrorGroup 0
MSS L2 RAMB Double bit error inject: pErrMem fixed location = 0x10280000 once test complete: the value of pErrMem is 0x00012002
Waiting for ESM Interrupt
UC-2: Injected 2-bit error and got ESM Interrupt
All tests have passed.