AM273x MCU+ SDK  08.06.00
SDL R5F ECC BTCM

Introduction

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

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 BTCM Single bit error inject: starting
ESM Call back function called : instType 0x1, grpChannel 0x1, intSrc 0x2a
Take action
ECC Error Call back function called : eccMemType 49783896, errorSrc 0x400, ramId 270978723, bitErrorOffset 0x1026aa054fea7fca, bitErrorGroup 0
R5FSS0 CORE0 BTCM Single bit error inject at pErrMem = 0x00080010 and the value of pErrMem is 0x00080000 :test complete
Waiting for ESM Interrupt
UC-1: Injected 1-bit error and got ESM Interrupt
R5FSS0 CORE0 BTCM Double bit error inject: starting
R5FSS0 CORE0 BTCM Double bit error inject: pErrMem fixed location = 0x00080010 once test complete: the value of pErrMem is 0x00080000
Waiting for ESM Interrupt
UC-2: Injected 2-bit error and ESM Interrupt not occured
All tests have passed.