
Error Correction Status Module (ECSM)
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor
19-9
NOTE
If an attempt to force a non-correctable inversion by asserting
EEGR[FRCNCI] or EEGR[FRC1NCI], and EEGR[ERRBIT] equals 64, no
data inversion is generated.
The only allowable values for the 4 control bit enables {FR11BI, FRC1BI,
FRCNCI, FR1NCI} are {0,0,0,0}, {1,0,0,0}, {0,1,0,0}, {0,0,1,0} and
{0,0,0,1}. All other values result in undefined behavior.
19.2.2.5
Platform Flash ECC Address Register (PFEAR)
The PFEAR is a 32-bit register for capturing the address of the last properly enabled ECC event in the
platform flash memory. Depending on the state of the ECC configuration register, an ECC event in the
platform flash causes the address, attributes and data associated with the access to be loaded into the
PFEAR, PFEMR, PFEAT, and PFEDR registers and also the appropriate flag (PF1BC or PFNCE) in the
ECC status register to be asserted.
This register is read-only; any attempted write is ignored. See
and
for the platform
flash ECC address register definition.
PREI_SEL Platform RAM Error Injection Select. Platform RAM Error Injection Select. The platform contains two platform RAM
blocks with ECC. This bit selects which RAM is injected.
0 PRAM0 is injected.
1 PRAM1 is injected.
ERRBIT
Error Bit Position. The vector defines the bit position, which is complemented to create the data inversion on the
write operation. For the creation of 2-bit data inversions, the bit specified by this field plus the odd parity bit of the
ECC code are inverted.
The platform RAM controller follows a vector bit ordering scheme where LSB = 0. Errors in the ECC syndrome bits
can be generated by setting this field to a value greater than the RAM width. For example, consider a 32-bit RAM
implementation.
The 32-bit ECC approach requires seven code bits for a 32-bit word. For PRAM data width of 32 bits, the actual
SRAM (32b data + 7b for ECC = 39 bits. The following association between the ERRBIT field and the corrupted
memory bit is defined:
if ERRBIT = 0, then RAM[0] is inverted
if ERRBIT = 1, then RAM[1] is inverted
...
if ERRBIT = 31, then RAM[31] is inverted
if ERRBIT = 64,then ECC Parity[0] is inverted
if ERRBIT = 65,then ECC Parity[1] is inverted
...
if ERRBIT = 70,then ECC Parity[6] is inverted
Note: For ERRBIT values of 32 to 63 and greater than 70, no bit position is inverted.
Table 19-6. EEGR Field Descriptions (continued)
Field
Description
Summary of Contents for PXN2020
Page 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Page 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Page 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Page 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Page 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Page 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Page 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Page 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Page 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...