Datasheet
Chapter 27 512 KByte Flash Module (S12XFTM512K3V1)
MC9S12XE-Family Reference Manual Rev. 1.25
Freescale Semiconductor 1037
All possible P-Flash protection scenarios are shown in Figure 27-14. Although the protection scheme is
loaded from the Flash memory at global address 0x7F_FF0C during the reset sequence, it can be changed
by the user. The P-Flash protection scheme can be used by applications requiring reprogramming in single
chip mode while providing as much protection as possible if reprogramming is not required.
Table 27-20. P-Flash Protection Function
FPOPEN FPHDIS FPLDIS Function
(1)
1. For range sizes, refer to Table 27-21 and Table 27-22.
1 1 1 No P-Flash Protection
1 1 0 Protected Low Range
1 0 1 Protected High Range
1 0 0 Protected High and Low Ranges
0 1 1 Full P-Flash Memory Protected
0 1 0 Unprotected Low Range
0 0 1 Unprotected High Range
0 0 0 Unprotected High and Low Ranges
Table 27-21. P-Flash Protection Higher Address Range
FPHS[1:0] Global Address Range Protected Size
00 0x7F_F800–0x7F_FFFF 2 Kbytes
01 0x7F_F000–0x7F_FFFF 4 Kbytes
10 0x7F_E000–0x7F_FFFF 8 Kbytes
11 0x7F_C000–0x7F_FFFF 16 Kbytes
Table 27-22. P-Flash Protection Lower Address Range
FPLS[1:0] Global Address Range Protected Size
00 0x7F_8000–0x7F_83FF 1 Kbyte
01 0x7F_8000–0x7F_87FF 2 Kbytes
10 0x7F_8000–0x7F_8FFF 4 Kbytes
11 0x7F_8000–0x7F_9FFF 8 Kbytes
