Word 0
Word 1
Word 2
Word 3
ECC0
31
0
0
6
31
Read 0
Read 0
ECC2
Read 0
ECC3
Read 0
32-bit only accessible
0xFFF82000
0xFFF82400
ECC1
Interrupt Vector Table (VIM RAM)
675
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
Vectored Interrupt Manager (VIM) Module
The following sequence should be used for injecting faults to ECC bits and testing the ECC check feature.
1. Write the data locations of VIM RAM with the required patterns while keeping ECCENA active. The
ECC bits will be automatically initialized along with data bits.
2. Enable ECC test mode using TEST_DIAG_EN field of ECCCTRL register.
3. In this mode, it is possible to corrupt ECC bits using any of the following methods.
•
Read the ECC bits, flip one bit and write back
•
Read the ECC bits, flip 2 bits and write back
4. Depending on the kind corruption created, read back the data bits and check for the correction error
(single-bit error or double-bit error or no error).
5. Read the UERRADDR and SBERRADDR registers and check for the correct address capture as well.
The following sequence should be used for injecting faults to data bits and testing the ECC check feature.
1. Write the data locations of VIM RAM with the required patterns while keeping ECCENA active. The
ECC bits will be automatically initialized along with data bits.
2. Disable ECC by setting ECCENA=0 in ECCCTRL register. In this mode, writing to data bits does not
automatically update ECC bits.
3. In this mode, it is possible to corrupt data bits using any of the following methods.
•
Read the data bits, flip one bit and write back
•
Read the data bits, flip 2 bits and write back
4. Depending on the kind corruption created, read back the data bits and check for the correction error
(single-bit error or double-bit error or no error).
5. Read the UERRADDR and SBERRADDR registers and check for the correct address capture as well.
NOTE:
After completing the tests for ECC check features, it should be ensured that VIM Interrupt
Vector Table is initialized with valid data and corresponding check bits. Care should also be
taken to clear the UERR and SBERR flag registers and the error address registers.
Figure 19-9. ECC Bits Mapping