MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
249
Preliminary—Subject to Change Without Notice
Table 11-4. CFLASH_MCR Field Descriptions
Field
Description
0
EDC
ECC Data Correction (Read/Clear)
EDC provides information on previous reads. If a ECC Single Error detection and correction occurred, the
EDC bit will be set to 1. This bit must then be cleared, or a reset must occur before this bit will return to a 0
state. This bit may not be set to 1 by the User.
In the event of a ECC Double Error detection, this bit will not be set.
If EDC is not set, or remains 0, this indicates that all previous reads (from the last reset, or clearing of EDC)
were not corrected through ECC.
Since this bit is an error flag, it must be cleared to 0 by writing 1 to the register location. A write of 0 will have
no effect.
The function of this bit is SoC dependent and it can be configured to be disabled.
0: Reads are occurring normally.
1: An ECC Single Error occurred and was corrected during a previous read.
1–3
Reserved
4–7
SIZE[0:3]
Array space size
Dependent upon the size of the Flash module. SIZE is read only.
0101 Total array size is 1.5 MB
8
Reserved
9–11
LAS[0:2]
Low address space
Corresponds to the configuration of the low address space. All possible values of LAS and the configuration
to which each value corresponds are shown below. LAS is read only.
010 The LAS value of 010 provides 2 x 16 KB + 2 x 32 KB + 2 x 16 KB + 2 x 64 KB blocks.
12–14
Reserved.
15
MAS
Mid address space size
Corresponds to the configuration of the mid address space. MAS is read only.
0 Two 128-KB blocks are available
16
EER
ECC event error
Provides information on previous reads; if a double bit detection occurred, the EER bit is set to 1. This bit
must then be cleared, or a reset must occur before this bit returns to a 0 state. This bit cannot be set by the
application. In the event of a single bit detection and correction, this bit is not set. If EER is not set, or remains
0, this indicates that all previous reads (from the last reset, or clearing of EER) were correct. Since this bit
is an error flag, it must be cleared to a 0 by writing a 1 to the register location. A write of 0 has no effect.
0 Reads are occurring normally.
1 An ECC Error occurred during a previous read.
Note:
This bit can be set on speculative prefetches that cause double bit error detection. Therefore, use the
ECSM[FNCE] flag for detecting non-correctable ECC errors in the Flash instead of using
CFLASH_MCR[EER].
17
RWE
Read-while-write event error
Provides information on previous RWW reads. If a read-while-write error occurs, this bit is set to 1. This bit
must then be cleared, or a reset must occur before this bit returns to a 0 state. This bit cannot be set to 1 by
the application. If RWE is not set, or remains 0, this indicates that all previous RWW reads (from the last reset,
or clearing of RWE) were correct. Since this bit is an error flag, it must be cleared to a 0 by writing a 1 to the
register location. A write of 0 has no effect.
0 Reads are occurring normally.
1 A read-while-write error occurred during a previous read.
18–19
Reserved