AM273x MCU+ SDK  08.05.00
SDL R5F ECC ATCM0

Introduction

This example demonstrates the usage of the SDL R5F ATCM0 module. The example shows how to setup and use the ECC Safety Diagnostic operation. Shows the generation of SEC and DED error on R5F ATCM0 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_r5_atcm0/

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: Exception init complete
ECC_Test_init: Initialize of R5FSS0 CORE0 ECC Memory is complete
ESM_Test_init: Init MSS ESM complete
ECC_Test_init: R5FSS0 CORE0 ECC initialization is completed
R5FSS0 CORE0 ATCM0 BANK0 Single bit error inject: starting
ESM Call back function called : instType 0x1, grpChannel 0x1, intSrc 0x2c
Take action
ECC Error Call back function called : eccMemType 49783896, errorSrc 0x1000, ramId 271037283, bitErrorOffset 0x10279005deadbabe, bitErrorGroup 0
R5FSS0 CORE0 ATCM0 BANK0 Single bit error inject at pErrMem = 0x00000510 and the value of pErrMem is 0x00000000 :test complete
Waiting for ESM Interrupt
UC-1: Injected 1-bit error and got ESM Interrupt
R5FSS0 CORE0 ATCM0 BANK0 Double bit error inject: starting
R5FSS0 CORE0 ATCM0 BANK0 Double bit error inject: pErrMem fixed location = 0x00000510 once test complete: the value of pErrMem is 0x00000000
Waiting for ESM Interrupt
UC-2: Injected 2-bit error and ESM Interrupt not occured
All tests have passed.