Error Correction Status Module (ECSM)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
Freescale Semiconductor
8-5
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 ECSM_ESR and save it.
2. Read and save all the address and attribute reporting registers.
3. Re-read the ECSM_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 ECSM_ESR flag to negate the interrupt
request.
In the event that multiple status flags are signaled simultaneously, ECSM records the event with the RNCE
as highest priority, and then FNCE.
8.2.1.5
ECC Error Generation Register (ECSM_EEGR)
The ECSM_EEGR is a 16-bit control register used to force the generation of double-bit data errors in the
internal SRAM. This capability provides a mechanism to allow testing of the software service routines
associated with memory error logging.The intent is to generate errors during data write cycles, such that
subsequent reads of the corrupted address locations generate ECC events, double-bit noncorrectable errors
that are terminated with an error response.
If an attempt to force a non-correctable error (by asserting ECSM_EEGR[FRCNCI] or
ECSM_EEGR[FRC1NCI]) and ECSM_EEGR[ERRBIT] equals 64, then no data error will be generated.
Base + 0x0047
Access: Read/Write to clear
0
1
2
3
4
5
6
7
R
0
0
0
0
0
0
RNCE
FNCE
W
w1c
w1c
Reset
0
0
0
0
0
0
0
0
Figure 8-2. ECC Status Register (ECSM_ESR)
Table 8-4. ECSM_ESR Field Definitions
Field
Description
0–5
Reserved.
6
RNCE
RAM non-correctable error. The occurrence of a properly-enabled non-correctable RAM error generates an ECSM
ECC interrupt request. The faulting address, attributes and data are also captured in the REAR, REMR, REAT and
REDR registers. To clear this interrupt flag, write a 1 to this bit. Writing a 0 has no effect.
0 No reportable non-correctable RAM error has been detected.
1 A reportable non-correctable RAM error has been detected.
7
FNCE
Flash non-correctable error. The occurrence of a properly-enabled non-correctable Flash error generates an ECSM
ECC interrupt request. The faulting address, attributes and data are also captured in the FEAR, FEMR, FEAT and
FEDR registers. To clear this interrupt flag, write a 1 to this bit. Writing a 0 has no effect.
0 No reportable non-correctable Flash error has been detected.
1 A reportable non-correctable Flash error has been detected.
Содержание MPC5565
Страница 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Страница 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Страница 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Страница 325: ...Error Correction Status Module ECSM MPC5565 Microcontroller Reference Manual Rev 1 0 8 16 Freescale Semiconductor...
Страница 515: ...External Bus Interface EBI MPC5565 Microcontroller Reference Manual Rev 1 0 12 70 Freescale Semiconductor...
Страница 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Страница 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Страница 577: ...Boot Assist Module BAM MPC5565 Microcontroller Reference Manual Rev 1 0 15 18 Freescale Semiconductor...
Страница 895: ...Deserial Serial Peripheral Interface DSPI MPC5565 Microcontroller Reference Manual Rev 1 0 19 72 Freescale Semiconductor...
Страница 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Страница 1145: ...MPC5565 Register Map MPC5565 Microcontroller Reference Manual Rev 1 0 A 60 Freescale Semiconductor...
Страница 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...