MPC5565 Microcontroller Reference Manual, Rev. 1.0
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), provides a
means for 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 may configure the device for the types of memory
errors to be reported, and then query a set of read-only status and information registers to identify any
errors that have been signalled.
There are two types of ECC errors: correctable and non-correctable. A correctable ECC error is generated
when only one bit is wrong in a 64-bit doubleword. In this case it is corrected automatically by hardware,
and no flags or other indication is set that the error occurred. A non-correctable ECC error is generated
when 2 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 bits of data at a time, using 8 bits for ECC for every 64-bit
doubleword. ECC is checked on reads, and calculated on writes per the following:
1. 64 bits containing the desired byte / halfword / word or doubleword in memory is read, and ECC
checked.
2. If the access is a write, then
— The new byte / halfword / word / doubleword is merged into the 64 bits.
— New ECC bits are calculated.
— The 64 bits and the new ECC bits are written back.
To use ECC with SRAM, the SRAM memory must be written to before ECC is enabled. Refer to
Section 8.3, “Initialization and Application Information
.”
Содержание 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...