
Error Correction Status Module (ECSM)
MPC5566 Microcontroller Reference Manual, Rev. 2
8-16
Freescale Semiconductor
A non-correctable data ECC error executes one of the following actions, regardless of whether
non-correctable reporting is enabled:
When the device is in the checkstop state, processing is suspended and cannot resume without a reset.
When a debug request is presented to the core while it is in the checkstop state, the core temporarily exits
the checkstop state and enters debug mode. When debug mode exits, the core re-enters the checkstop state.
If the external interrupt bit in the MSR is enabled, data or instruction storage interrupts are reported when
the ECC errors are a result of CPU accesses, regardless of whether non-correctable reporting is enabled.
ECC errors generated by other masters (eDMA, etc.) do not generate data or instruction storage
exceptions, and the ECSM is used to report these errors. You must initialize the ECSM to enable
non-correctable reporting with interrupt generation to detect and report ECC interrupts from the ECSM.
Error reporting details can be independently enabled for flash memory and SRAM. To enable
non-correctable error reporting and save the error details for:
•
SRAM, set the ERNCR bit in the ECSM Error Configuration Register (ECSM_ECR).
•
Flash, set the EFNCR bit in ECSM_ECR.
When these bits are set and a non-correctable ECC error occurs, error information is recorded in other
ECSM registers and an interrupt request is generated on vector 9 of the interrupt controller (INTC).
•
If the error was caused by a CPU data access, a data storage exception (IVOR2) is generated.
•
If the error was caused by a CPU instruction access, an instruction storage exception (IVOR3) is
generated.
•
If vector 9 of INTC is enabled, an external exception (IVOR4) is generated.
Table 8-15. MSR[EE] and MSR[ME] Bit Settings
Field
Description
EE
External interrupt enable.
0 External input interrupts disabled.
1 External interrupts enabled.
ME
Machine check enable.
0 Machine check interrupts disabled. Enters machine check.
1 Machine interrupts enabled.
Table 8-16. Non-correctable Data ECC States
MSR[EE]
MSR[ME]
Access Type
Result
0
0
Instruction or data
Enters checkstop state. A reset is required to resume processing.
0
1
Instruction or data
Machine check interrupt (IVOR1).
1
X
Data
Data storage interrupt (IVOR2). External interrupt must be enabled.
Machine check can be enabled or disabled.
1
X
Instruction
Instruction storage interrupt (IVOR3).
Содержание MPC5566
Страница 12: ...MPC5566 Microcontroller Reference Manual Devices Supported MPC5566 MPC5566 RM Rev 2 0 23 Apr 2008...
Страница 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Страница 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Страница 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Страница 331: ...System Integration Unit SIU MPC5566 Microcontroller Reference Manual Rev 2 6 128 Freescale Semiconductor...
Страница 343: ...Crossbar Switch XBAR MPC5566 Microcontroller Reference Manual Rev 2 7 12 Freescale Semiconductor...
Страница 361: ...Error Correction Status Module ECSM MPC5566 Microcontroller Reference Manual Rev 2 8 18 Freescale Semiconductor...
Страница 455: ...Interrupt Controller INTC MPC5566 Microcontroller Reference Manual Rev 2 10 42 Freescale Semiconductor...
Страница 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Страница 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Страница 679: ...Boot Assist Module BAM MPC5566 Microcontroller Reference Manual Rev 2 16 20 Freescale Semiconductor...
Страница 997: ...Deserial Serial Peripheral Interface DSPI MPC5566 Microcontroller Reference Manual Rev 2 20 72 Freescale Semiconductor...
Страница 1037: ...Enhanced Serial Communication Interface eSCI MPC5566 Microcontroller Reference Manual Rev 2 21 40 Freescale Semiconductor...
Страница 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Страница 1081: ...Voltage Regulator Controller VRC and POR Module MPC5566 Microcontroller Reference Manual Rev 2 23 8 Freescale Semiconductor...
Страница 1093: ...IEEE 1149 1 Test Access Port Controller JTAGC MPC5566 Microcontroller Reference Manual Rev 2 24 12 Freescale Semiconductor...
Страница 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...
Страница 1267: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 10...
Страница 1268: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 11...