|
S9S12XS256J0CAL Datasheet, PDF (575/738 Pages) Freescale Semiconductor, Inc – Microcontrollers | |||
|
◁ |
128 KByte Flash Module (S12XFTMR128K1V1)
Table 19-17. FPROT Field Descriptions
Field
Description
7
FPOPEN
Flash Protection Operation Enable â The FPOPEN bit determines the protection function for program or
erase operations as shown in Table 19-18 for the P-Flash block.
0 When FPOPEN is clear, the FPHDIS and FPLDIS bits deï¬ne unprotected address ranges as speciï¬ed by the
corresponding FPHS and FPLS bits
1 When FPOPEN is set, the FPHDIS and FPLDIS bits enable protection for the address range speciï¬ed by the
corresponding FPHS and FPLS bits
6
Reserved Nonvolatile Bit â The RNV bit should remain in the erased state for future enhancements.
RNV[6]
5
FPHDIS
Flash Protection Higher Address Range Disable â The FPHDIS bit determines whether there is a
protected/unprotected area in a speciï¬c region of the P-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 bits determine the size of the protected/unprotected area
FPHS[1:0] in P-Flash memory as shown inTable 19-19. The FPHS 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 speciï¬c region of the P-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 bits determine the size of the protected/unprotected area
FPLS[1:0] in P-Flash memory as shown in Table 19-20. The FPLS bits can only be written to while the FPLDIS bit is set.
Table 19-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 19-19 and Table 19-20.
Table 19-19. P-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
S12XS Family Reference Manual, Rev. 1.13
Freescale Semiconductor
575
|
▷ |