AM261x MCU+ SDK: SDL R5F ECC DDATA

| AM261x MCU+ SDK 26.00.00 |

SDL R5F ECC DDATA

# Introduction

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.

## 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
r5fss0-1 nortos
Toolchain | ti-arm-clang
Board | am261x-som
Example folder | examples/sdl/ecc/sdl_ecc_r5_d-data/

# Steps to Run the Example

- When using CCS projects to build, import the CCS project for the required combination and build it using the CCS project menu (see Using SDK with CCS Projects).
- When using makefiles to build, note the required combination and build using make command (see Using SDK with Makefiles)
- Launch a CCS debug session and run the executable, see CCS Launch, Load and Run

# 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
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.