![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 330](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898330.webp)
Chapter 17 Flash Memory
MPC5602P Microcontroller Reference Manual, Rev. 4
330
Freescale Semiconductor
The hardware algorithm perform the steps necessary to ensure that the storage elements are programmed
and erased with sufficient margin to guarantee data integrity and reliability.
A programmed bit in the Flash module reads as logic level 0 (or low).
An erased bit in the Flash module reads as logic level 1 (or high).
Program and erase of the Flash module requires multiple system clock cycles to complete.
The erase sequence may be suspended.
The program and erase sequences may be terminated.
17.3.4.2
Flash module sectorization
The code Flash module supports 256 KB of user memory, plus 16 KB of test memory (a portion of which
is one-time programmable by the user). An extra 16 KB sector is available as Shadow space usable for user
option bits or censorship.
The code Flash and data modules are each composed of a single bank: Bank 0 (code Flash) and Bank 1
(data Flash). Read-While-Modify within a module is not supported, but can be performed by reading from
one module while writing to another.
The code Flash Bank 0 is divided in 8 sectors including a reserved sector named TestFlash, in which One
Time Programmable (OTP) user data are stored, and a Shadow Sector in which user erasable configuration
values can be stored (see
The data Flash Bank 1 is divided in five sectors including a reserved sector named TestFlash (see
).
Table 17-6. 288 KB code Flash module sectorization
Bank
Sector
Addresses
Size
Address space
B0
B0F0
0x0000_0000–0x0000_7FFF
32 KB
Low Address Space
B0
B0F1
0x0000_8000–0x0000_BFFF
16 KB
Low Address Space
B0
B0F2
0x0000_C000–0x0000_FFFF
16 KB
Low Address Space
B0
B0F3
0x0001_0000–0x0001_7FFF
32 KB
Low Address Space
B0
B0F4
0x0001_8000–0x0001_FFFF
32 KB
Low Address Space
B0
B0F5
0x0002_0000–0x0003_FFFF
128 KB
Low Address Space
B0
Reserved
0x0004_0000–0x0007_FFFF
256 KB
Mid Address Space
B0
Reserved
0x0008_0000–0x001F_FFFF
1536 KB
High Address Space
B0
B0SH
0x0020_0000–0x0020_3FFF
16 KB
Shadow Address Space
B0
Reserved
0x0020_4000–0x003F_FFFF
2032 KB
Shadow Address Space
B0
B0TF
0x0040_0000–0x0040_3FFF
16 KB
Test Address Space
B0
Reserved
0x0040_4000–0x007F_FFFF
4080 KB
Test Address Space