English
Language : 

S912XHZ512F1VAG Datasheet, PDF (142/978 Pages) Freescale Semiconductor, Inc – Covers MC9S12XHZ384, MC9S12XHZ256
Chapter 3 512 Kbyte Flash Module (S12XFTX512K4V3)
Table 3-10. FPROT Field Descriptions (continued)
Field
Description
5
FPHDIS
Flash Protection Higher Address Range Disable — The FPHDIS bit determines whether there is a
protected/unprotected area in a specific region of the Flash memory ending with global address 0x7F_FFFF.
0 Protection/Unprotection enabled.
1 Protection/Unprotection disabled.
4:3
Flash Protection Higher Address Size — The FPHS[1:0] bits determine the size of the protected/unprotected
FPHS[1:0] area as shown inTable 3-12. The FPHS[1:0] bits can only be written to while the FPHDIS bit is set.
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 Flash memory beginning with global address 0x7F_8000.
0 Protection/Unprotection enabled.
1 Protection/Unprotection disabled.
1:0
Flash Protection Lower Address Size — The FPLS[1:0] bits determine the size of the protected/unprotected
FPLS[1:0] area as shown in Table 3-13. The FPLS[1:0] bits can only be written to while the FPLDIS bit is set.
Table 3-11. Flash Protection Function
FPOPEN FPHDIS FPLDIS
Function1
1
1
1
No 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 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 3-12 and Table 3-13.
Table 3-12. Flash Protection Higher Address Range
FPHS[1:0]
00
01
10
11
Global
Address Range
0x7F_F800–0x7F_FFFF
0x7F_F000–0x7F_FFFF
0x7F_E000–0x7F_FFFF
0x7F_C000–0x7F_FFFF
Protected Size
2 Kbytes
4 Kbytes
8 Kbytes
16 Kbytes
Table 3-13. Flash Protection Lower Address Range
FPLS[1:0]
00
01
10
11
Global
Address Range
0x7F_8000–0x7F_83FF
0x7F_8000–0x7F_87FF
0x7F_8000–0x7F_8FFF
0x7F_8000–0x7F_9FFF
Protected Size
1 Kbytes
2 Kbytes
4 Kbytes
8 Kbytes
MC9S12XHZ512 Data Sheet, Rev. 1.06
142
Freescale Semiconductor