MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
579
Preliminary—Subject to Change Without Notice
Figure 18-1. ECC Configuration Register (ECR)
18.4.1.2
ECC Status Register (ESR)
The ECC Status Register is an 8-bit control register for signaling which types of properly-enabled ECC
events have been detected. The ESR signals the last, properly-enabled memory event to be detected. An
ECC interrupt request is asserted if any flag bit is asserted and its corresponding enable bit is asserted.
The ECSM allows a maximum of one bit of the ESR to be asserted at any given time. This preserves the
association between the ESR and the corresponding address and attribute registers, which are loaded on
each occurrence of a properly-enabled ECC event. If there is a pending ECC interrupt and another
properly-enabled ECC event occurs, the ECSM hardware automatically handles the ESR reporting,
clearing the previous data and loading the new state and thus guaranteeing that only a single flag is
asserted.
To maintain the coherent software view of the reported event, the following sequence in the ECSM error
interrupt service routine is suggested:
1.
Read the ESR and save it.
2.
Read and save all the address and attribute reporting registers.
3.
Re-read the ESR and verify the current contents matches the original contents. If the two values are
different, go back to step 1 and repeat.
4.
When the values are identical, write a 1 to the asserted ESR flag to negate the interrupt request.
for the ECC Status Register definition.
Register address: ECSM Base + 0x43
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
EPRNCR
EPFNCR
W
RESET:
0
0
0
0
0
0
0
0
= Unimplemented
Table 18-2. ECC Configuration (ECR) Field Definitions
Name
Description
Value
EPRNCR
Enable Platform
RAM Non-Correctable
Reporting
0 = Reporting of non-correctable platform RAM errors is disabled.
1 = Reporting of non-correctable platform RAM errors is enabled.
The occurrence of a non-correctable multi-bit RAM error generates a ECSM
ECC interrupt request as signalled by the assertion of ESR[PRNCE]. The
faulting address, attributes and data are also captured in the PREAR, PRESR,
PREMR, PREAT and PREDR registers.
EPFNCR
Enable Platform
Flash Non-Correctable
Reporting
0 = Reporting of non-correctable platform flash errors is disabled.
1 = Reporting of non-correctable platform flash errors is enabled.
The occurrence of a non-correctable multi-bit flash error generates a ECSM
ECC interrupt request as signalled by the assertion of ESR[PFNCE]. The
faulting address, attributes and data are also captured in the PFEAR, PFEMR,
PFEAT and PFEDR registers.
Содержание MPC5632M
Страница 22: ...MPC563XM Reference Manual Rev 1 22 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 62: ...MPC563XM Reference Manual Rev 1 62 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 92: ...MPC563XM Reference Manual Rev 1 92 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 168: ...MPC563XM Reference Manual Rev 1 168 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 242: ...MPC563XM Reference Manual Rev 1 242 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 302: ...MPC563XM Reference Manual Rev 1 302 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 410: ...MPC563XM Reference Manual Rev 1 410 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 440: ...MPC563XM Reference Manual Rev 1 440 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 464: ...MPC563XM Reference Manual Rev 1 464 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 554: ...MPC563XM Reference Manual Rev 1 554 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 590: ...MPC563XM Reference Manual Rev 1 590 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 622: ...MPC563XM Reference Manual Rev 1 622 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 716: ...MPC563XM Reference Manual Rev 1 716 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1114: ...MPC563XM Reference Manual Rev 1 1114 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1144: ...MPC563XM Reference Manual Rev 1 1144 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1266: ...MPC563XM Reference Manual Rev 1 1266 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1316: ...MPC563XM Reference Manual Rev 1 1316 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1348: ...MPC563XM Reference Manual Rev 1 1348 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1362: ...MPC563XM Reference Manual Rev 1 1362 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1382: ...MPC563XM Reference Manual Rev 1 1382 Freescale Semiconductor Preliminary Subject to Change Without Notice ...