AM64x MCU+ SDK  09.02.01
DDR ECC Test MCU ESM

Note
When handling the ESM error events through MCU ESM (in M4 core), the interrupt corresponding to MAIN ESM error event is enabled in R5 (though not handled) so that R5 does not goes into an exception.

Introduction

This example generates a 1b and 2b ECC error for DDR from R5. The M4 enables the ESM instances (MAIN ESM0 and MCU ESM0). On generating an ECC error from R5, the M4 receives the interrupt from MCU ESM (through the MAIN ESM error signal output routed to the MCU ESM). On receiving the interrupt M4 signals R5 (via IPC) to take corrective action.

Supported Combinations

Parameter Value
CPU + OS r5fss0-0 nortos
m4fss0-0 nortos
Toolchain ti-arm-clang
Board am64x-evm, am64x-sk
Example folder examples/drivers/ddr/ddr_ecc_test_mcu_esm/

Steps to Run the Example

See Also

DDR

Sample Output

Shown below is a sample output when the application is run,

Waiting on Single bit Error Correction Interrupt...
1b ECC error detected and corrected
Waiting on Dual bit error detection Interrupt...
2b ECC error detected
All tests have passed!!