Chapter 15 Error Correction Status Module (ECSM)
MPC5602P Microcontroller Reference Manual, Rev. 4
288
Freescale Semiconductor
The details on the ECC registers are provided in the subsequent sections. If the design does not include
ECC on the memories, these addresses are reserved locations within the ECSM’s programming model.
15.4.2.10 ECC Configuration Register (ECR)
The ECC Configuration Register is an 8-bit control register for specifying which types of memory errors
are reported. In all systems with ECC, the occurrence of a non-correctable error causes the current access
to be terminated with an error condition. In many cases, this error termination is reported directly by the
initiating bus master. However, there are certain situations where the occurrence of this type of
non-correctable error is not reported by the master. Examples include speculative instruction fetches,
which are discarded due to a change-of-flow operation, and buffered operand writes. The ECC reporting
logic in the ECSM provides an optional error interrupt mechanism to signal all non-correctable memory
errors. In addition to the interrupt generation, the ECSM captures specific information (memory address,
attributes and data, bus master number, etc.) that may be useful for subsequent failure analysis.
The reporting of single-bit memory corrections can only be enabled via an SoC-configurable module input
signal. This signal is tied to 1 at SoC level and hence reporting of single-bit memory corrections is always
enabled. While not directly accessible to a user, this capability is viewed as important for error logging and
failure analysis.
Address: Base + 0x0043
Access: User read/write
0
1
2
3
4
5
6
7
R
0
0
ER1BR
EF1BR
0
0
ERNCR
EFNCR
W
Reset
0
0
0
0
0
0
0
0
Figure 15-9. ECC Configuration register (ECR)
Table 15-10. ECR field descriptions
Field Description
2
ER1BR
Enable RAM 1-bit Reporting
This bit can only be set if the input enable signal is asserted. This signal is tied to 1 at SoC level and
hence reporting of single-bit memory corrections is always enabled. The occurrence of a single-bit RAM
correction generates a ECSM ECC interrupt request as signaled by the assertion of ESR[R1BC]. The
address, attributes and data are also captured in the REAR, RESR, REMR, REAT and REDR registers.
0 Reporting of single-bit RAM corrections disabled
1 Reporting of single-bit RAM corrections enabled
3
EF1BR
Enable Flash 1-bit Reporting
This bit can only be set if the input enable signal is asserted. This signal is tied to 1 at SoC level and
hence reporting of single-bit memory corrections is always enabled. The occurrence of a single-bit flash
correction generates a ECSM ECC interrupt request as signaled by the assertion of ESR[F1BC]. The
address, attributes and data are also captured in the FEAR, FEMR, FEAT and FEDR registers.
0 Reporting of single-bit flash corrections disabled
1 Reporting of single-bit flash corrections enabled
6
ERNCR
Enable RAM Non-Correctable Reporting
The occurrence of a non-correctable multi-bit RAM error generates a ECSM ECC interrupt request as
signaled by the assertion of ESR[RNCE]. The faulting address, attributes and data are also captured in
the REAR, RESR, REMR, REAT and REDR registers.
0 Reporting of non-correctable RAM errors disabled
1 Reporting of non-correctable RAM errors enabled