English
Language : 

MC9S12GRMV1 Datasheet, PDF (1103/1292 Pages) Freescale Semiconductor, Inc – MC9S12G Family Reference Manual and Data Sheet
192 KByte Flash Module (S12FTMRG192K2V1)
Table 30-17. FPROT Field Descriptions (continued)
Field
Description
2
FPLDIS
Flash Protection Lower Address Range Disable — The FPLDIS bit determines whether there is a
protected/unprotected area in a specific region of the P-Flash memory beginning with global address 0x3_8000.
0 Protection/Unprotection enabled
1 Protection/Unprotection disabled
1–0
Flash Protection Lower Address Size — The FPLS bits determine the size of the protected/unprotected area
FPLS[1:0] in P-Flash memory as shown in Table 30-20. The FPLS bits can only be written to while the FPLDIS bit is set.
Table 30-18. P-Flash Protection Function
FPOPEN FPHDIS FPLDIS
Function1
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
1 For range sizes, refer to Table 30-19 and Table 30-20.
Table 30-19. P-Flash Protection Higher Address Range
FPHS[1:0]
00
01
10
11
Global Address Range
0x3_F800–0x3_FFFF
0x3_F000–0x3_FFFF
0x3_E000–0x3_FFFF
0x3_C000–0x3_FFFF
Protected Size
2 Kbytes
4 Kbytes
8 Kbytes
16 Kbytes
Table 30-20. P-Flash Protection Lower Address Range
FPLS[1:0]
00
01
10
11
Global Address Range
0x3_8000–0x3_83FF
0x3_8000–0x3_87FF
0x3_8000–0x3_8FFF
0x3_8000–0x3_9FFF
Protected Size
1 Kbyte
2 Kbytes
4 Kbytes
8 Kbytes
All possible P-Flash protection scenarios are shown in Figure 30-14 . Although the protection scheme is
loaded from the Flash memory at global address 0x3_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.
Freescale Semiconductor
MC9S12G Family Reference Manual, Rev.1.23
1105