
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
8-1
Chapter 8
Error Correction Status Module (ECSM)
8.1
Introduction
The device includes error-correcting code (ECC) implementations to improve the quality and reliability of
internal SRAM and internal flash memories. The error correction status module (ECSM) allows the
application to collect information on memory errors reported by ECC and/or generic access error
information.
8.1.1
Overview
The ECSM provides a set of registers that configure and report ECC errors for the device including
accesses to SRAM and flash memory. The application can configure the device for the types of memory
errors to report, and then query a set of read-only status and information registers to identify any errors
that have occurred.
There are two types of ECC errors: correctable and non-correctable. A correctable ECC error is generated
when only one bit is incorrect in a 64-bit doubleword. In this case, it is corrected automatically by
hardware, and no flags or other indicators are set by the error that occurred. A non-correctable ECC error
is generated when two bits in a 64-bit doubleword are incorrect. Non-correctable ECC errors cause an
interrupt, and if enabled, additional error details are available in the ECSM.
Error correction is implemented on 64 data bits at a time, using eight ECC bits for every 64-bit doubleword
of data. The ECC is checked on read accesses, and calculated on write accesses using the following
sequence:
1. Read the 64 bits that contain the desired byte / halfword / word or doubleword in memory, and
check the ECC.
2. If the access is a write, then:
a) Merge the new byte / halfword / word into the 64 data bits and calculate a new ECC value.
b) Write the 64 bits and the new ECC to SRAM.
To use the ECC for SRAM, write to SRAM memory before you enable the ECC. Refer to
“Initialization and Application Information
.”
8.1.2
Features
The ECSM includes these features:
•
Configurable for reporting non-correctable errors
•
Registers for capturing ECC information for RAM and flash access errors
Содержание 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...