![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 339](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898339.webp)
Chapter 17 Flash Memory
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
339
In the following sections, some non-volatile registers are described. Please notice that such entities are not
Flip-Flops, but locations of TestFlash or Shadow sectors with a special meaning.
During the Flash initialization phase, the FPEC reads these non-volatile registers and updates their related
volatile registers. When the FPEC detects ECC double errors in these special locations, it behaves in the
following way:
•
In case of a failing system locations (configurations, device options, redundancy, EmbAlgo
firmware), the initialization phase is interrupted and a Fatal Error is flagged.
•
In case of failing user locations (protections, censorship, BIU, ...), the volatile registers are filled
with all 1s and the Flash initialization ends by clearing the MCR[PEG] bit.
17.3.7.1
Module Configuration Register (MCR)
The Module Configuration Register enables and monitors all the modify operations of each Flash module.
Identical MCRs are provided in the code Flash and the data Flash blocks.
0x50–
0x5B
Reserved
Address: Base + 0x0000
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R EDC
0
0
0
0
SIZE2 SIZE1 SIZE0
0
LAS2 LAS1 LAS0
0
0
0
MAS
W
r1c
Reset
0
0
0
0
0
—
1
1
The value for this bit is different between the code and data Flash modules. See the bitfield description.
—
0
—
1
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R EER RWE
0
0
PEAS DONE PEG
0
0
0
0
PGM PSUS ERS ESUS EHV
W
r1c
r1c
Reset
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
Figure 17-10. Module Configuration Register (MCR)
Table 17-12. Flash 64 KB bank1 register map (continued)
Address
offset
Register
name
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31