How to Use EPC
488
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
Error Profiling Controller (EPC)
12.3.2 CAM Diagnostic Mode
In order to test the CAM logic and error event generation functionality, you need to diagnose the CAM at
diagnostic time in their control loop.
Following sequences are recommended to diagnose the CAM and error event generation:
1. Configure EPC in diagnostic mode by setting the DIAG_ENA_KEY to Ah in EPCCNTRL register.
2. Backing up the CAM content and CAM index to system RAM.
3. Change CAM index to available state from occupied state and vice versa and check the number of
CAM available status correctly reflected in CAMAVAILSTAT register as well as the CAM index
registers correctly reflecting the new state.
4. Write to CAM content of any available index and should observe a correctable error event set in ESM
as well as CAM index set to occupied.
5. Restore the CAM content and CAM index values.
6. Exit diagnostic mode by writing 5h to DIAG_ENA_KEY.
12.4 EPC Control Registers
The error profiling controller registers listed in
are accessed through the system module
register space in the Cortex-R5F CPUs memory-map. All registers are 32-bit wide and are located on a
32-bit boundary. Reads and writes to registers are supported in 8-, 16-, and 32-bit accesses. The base
address for the control registers is FFFF 0C00h.
Table 12-1. EPC Control Registers
Offset
Acronym
Register Description
Section
00h
EPCREVID
EPC REVID Register
04h
EPCCNTRL
EPC Control Register
08h
UERRSTAT
Uncorrectable Error Status Register
0Ch
EPCERRSTAT
EPC Error Status Register
10h
FIFOFULLSTAT
FIFO Full Status Register
14h
OVRFLWSTAT
IP Interface FIFO Overflow Status Register
18h
CAMAVAILSTAT
CAM Index Available Status Register
20h-24h
UERRADDR
Uncorrectable Error Address Registers
A0h-11Ch
CAM_CONTENT
CAM Content Update Registers
200h
CAM_INDEX0
CAM Index Register 0
204h
CAM_INDEX1
CAM Index Register 1
208h
CAM_INDEX2
CAM Index Register 2
20Ch
CAM_INDEX3
CAM Index Register 3
210h
CAM_INDEX4
CAM Index Register 4
214h
CAM_INDEX5
CAM Index Register 5
218h
CAM_INDEX6
CAM Index Register 6
21Ch
CAM_INDEX7
CAM Index Register 7