
Error Correction Status Module (ECSM)
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
8-7
8.2.1.6
Flash ECC Address Register (ECSM_FEAR)
The ECSM_FEAR is a 32-bit register for capturing the address of the last, correctly-enabled ECC event
in the flash memory. Depending on the state of the ECSM_ECR, an ECC event in the flash loads the
address, attributes and data of the access into the ECSM_FEAR, ECSM_FEMR, ECSM_FEAT, and
ECSM_FEDR registers, and asserts the F1BC or FNCE flag in ECSM_ESR.
The address that is captured in ECSM_FEAR is the flash page address as seen on the system bus. Refer to
Section 13.3.2.7, “Address Register (FLASH_AR)
” to retrieve the doubleword address.
8
Reserved.
9–15
ERRBIT
Error bit position. Defines the bit position which is complemented to create the data error on the write operation. The
bit specified by this field plus the odd parity bit of the ECC code are inverted.
The internal SRAM 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 internal SRAM width. 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 = 63, then RAM[63] is inverted
if ERRBIT = 64, then ECC Parity[0] is inverted
if ERRBIT = 65, then ECC Parity[1] is inverted
...
if ERRBIT = 71, then ECC Parity[7] is inverted
For ERRBIT values greater than 71, no bit position is inverted.
Base + 0x0050
Access: Read
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
FEAR
W
U
U
U
U
U
U
U
U
U
U
U
U
U
U
U
U
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
FEAR
W
U
U
U
U
U
U
U
U
U
U
U
U
U
U
U
U
1
“U” signifies a bit that is uninitialized.
Figure 8-4. Flash ECC Address Register (ECSM_FEAR)
Table 8-4. ECSM_EEGR Field Definitions (continued)
Field
Description
Summary of Contents for MPC5566
Page 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Page 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Page 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Page 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Page 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Page 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Page 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...