English
Language : 

PXR40RM Datasheet, PDF (360/1434 Pages) Freescale Semiconductor, Inc – PXR40 Microcontroller
Flash Memory Array and Control
12.2.2.1 Module Configuration Register (FLASH_x_MCR)
The FLASH_x_MCR register is defined Figure 12-3 and Table 12-4.
Offset 0x0000 / 0x4000
0
1
2
3
4
R0 0
0
0
0
W
Reset 0 0
0
0
0
5
6
7
8
SIZE
0
9 10 11
LAS
Access: User read/write
12
13
14
15
0
0
0 MAS
1
0 1 0 —1 —1 —1 0
0
0 —1
16
17
18
19
20
21
22 23 24
R EER RWE SBC 0 PEAS DONE PEG 0 0
W w1c w1c w1c
25 26 27
28
29
30
31
00
PGM PSUS ERS ESUS EHV
Reset 0 0
0
0
0
1
100 000 0
0
0
0
1 See register description below.
Figure 12-3. Module Configuration Register (FLASH_x_MCR)
Table 12-4. FLASH_x_MCR Field Descriptions
Field
Description
0–4 Reserved
5–7
SIZE
Array Space Size. The value of the SIZE field is dependent upon the size of the flash array. SIZE is read
only.
101 2.0 MB. (256 KB of LAS, 256 KB of MAS, and 1.5 MB of HAS) (Both Flash_A and Flash_B)
All others are Reserved.
8 Reserved
9–11 Low Address Space. The value of the LAS field corresponds to the configuration of the Low Address
LAS[2:0] Space. LAS is read only.
000 One 256 KB Blocks. (Flash_B)
100 Eight 16 KB, two 64 KB Blocks. (Flash_A)
All others are Reserved.
12–14 Reserved
15
MAS
Mid Address Space. The value of the MAS field corresponds to the configuration of the Mid Address
Space. MAS is read only.
0 Two 128 KB Blocks. (Flash_A)
1 One 256 KB Blocks. (Flash_B)
16
EER
ECC Event Error. EER provides information on previous reads. If a double bit detection occurred, the EER
bit is set to a 1. This bit must then be cleared, or a reset must occur before this bit returns to a 0 state.
This bit may not be set by the user. In the event of a single bit detection and correction, this bit is not be
set. If EER is not set, or remains 0, this indicates that all previous reads (from the last reset, or clearing of
EER) are 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.
12-8
PXR40 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor