Flash Memory
MPC5606S Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor 551
The first 8 KB of the Test flash block may be used for user defined functions (possibly to store serial
numbers, other configuration words or factory process codes). Locations of the Test flash other than the
first 8 KB of OTP Area cannot be programmed by the user application.
17.2.4.2.2 Shadow block
A Shadow block is present in Code flash 0 (Block 0).
The Shadow block can be enabled by the BIU.
When the Shadow space is enabled, all the operations are mapped to the Shadow block.
User mode program and erase of the Shadow block are enabled only when MCR.PEAS is high.
The Shadow block may be locked/unlocked against program or erase by using the LML.TSLK and
SLL.STSLK registers.
Program of the Shadow block has similar restriction as the array in terms of how ECC is calculated. Only
one program is allowed per 64-bit ECC segment between erases.
Erase of the Shadow block is done similarly as a sector erase.
The Shadow block contains specified data needed for user features.
The user area of the Shadow block may be used for user defined functions (possibly to store boot code,
other configuration words, or factory process codes).
The use of the Shadow block is detailed in the following table:
17.2.5 User mode operation
In User mode, the flash module may be read and written (register writes and interlock writes),
programmed, or erased.
Table 17-5. Shadow block structure
Name Description Addresses Size
— Start of Shadow block 0x200000 to 0x200007 8 byte
— User Area 0x200008 to 0x203DCF 15816 byte
— Reserved 0x203DD0 to 0x203DD7 8 byte
NVPWD0–
1
Non-Volatile Private Censorship Password 0–1 Registers 0x203DD8 to 0x203DDF 8 byte
NVSCI0–1 Non-Volatile System Censorship Information 0–1 Registers 0x203DE0 to 0x203DE7 8 byte
— Reserved 0x203DE8 to 0x203DFF 24 byte
NVBIU2-3 Non-Volatile Bus Interface Unit 2-3 Registers 0x203E00 to 0x203E0F 16 byte
— Reserved 0x203E10 to 0x203E17 8 byte
NVUSRO Non-Volatile User Options Register 0x203E18 to 0x203E1F 8 byte
— Reserved 0x203E20 to 0x203FFF 480 byte