![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 290](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898290.webp)
Chapter 15 Error Correction Status Module (ECSM)
MPC5602P Microcontroller Reference Manual, Rev. 4
290
Freescale Semiconductor
In the event that multiple status flags are signaled simultaneously, ECSM records the event with the R1BC
as highest priority, then F1BC, then RNCE, and finally FNCE.
15.4.2.12 ECC Error Generation Register (EEGR)
The ECC error generation register is a 16-bit control register used to force the generation of single- and
double-bit data inversions in the memories with ECC, most notably the RAM. This capability is provided
for two purposes:
•
It provides a software-controlled mechanism for injecting errors into the memories during data
writes to verify the integrity of the ECC logic.
•
It provides a mechanism to allow testing of the software service routines associated with memory
error logging.
Address: Base + 0x0047
Access: User read/write
0
1
2
3
4
5
6
7
R
0
0
R1BC
F1BC
0
0
RNCE
FNCE
W
Reset
0
0
0
0
0
0
0
0
Figure 15-10. ECC Status register (ESR)
Table 15-11. ESR field descriptions
Field
Description
2
R1BC
RAM 1-bit Correction
This bit can only be set if ECR[ER1BR] is asserted. The occurrence of a properly enabled single-bit
RAM correction generates a ECSM ECC interrupt request. The address, attributes and data are also
captured in the REAR, RESR, 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 single-bit RAM correction detected
1 Reportable single-bit RAM correction detected
3
F1BC
Flash 1-bit Correction
This bit can only be set if ECR[EF1BR] is asserted. The occurrence of a properly enabled single-bit flash
correction generates a ECSM ECC interrupt request. The 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 single-bit flash correction detected
1 Reportable single-bit flash correction detected
6
RNCE
RAM Non-Correctable Error
The occurrence of a properly enabled non-correctable RAM error generates a ECSM ECC interrupt
request. The faulting address, attributes and data are also captured in the REAR, RESR, REMR, REAT
and REDR registers. To clear this interrupt flag, write a 1 to this bit. Writing a 0 has no effect. This bit
can only be set if ECR[ERNCR] is asserted.
0 No reportable non-correctable RAM error detected
1 Reportable non-correctable RAM error detected
7
FNCE
Flash Non-Correctable Error
The occurrence of a properly enabled non-correctable flash error generates a 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. This bit can
only be set if ECR[ERNCR] is asserted.
0 No reportable non-correctable flash error detected
1 Reportable non-correctable flash error detected