![Freescale Semiconductor MPC5553 Скачать руководство пользователя страница 308](http://html1.mh-extra.com/html/freescale-semiconductor/mpc5553/mpc5553_reference-manual_2330655308.webp)
MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
Freescale Semiconductor
8-5
which are loaded on each occurrence of an properly-enabled ECC event. If there is a pending ECC
interrupt and another properly-enabled ECC event occurs, the ECSM hardware automatically handles the
ECSM_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 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.
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
Reg Addr
Base + 0x0047
Figure 8-2. ECC Status Register (ECSM_ESR)
Table 8-4. ECSM_ESR Field Definitions
Bits
Name
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.
Содержание MPC5553
Страница 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Страница 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Страница 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Страница 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Страница 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Страница 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Страница 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Страница 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Страница 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Страница 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Страница 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Страница 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Страница 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Страница 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...
Страница 1207: ...Revision History 4 Freescale Semiconductor...