sc9s12hy64j0vllr Freescale Semiconductor, Inc, sc9s12hy64j0vllr Datasheet - Page 579

no-image

sc9s12hy64j0vllr

Manufacturer Part Number
sc9s12hy64j0vllr
Description
S12 Microcontrollers Mcu 16-bit Hcs12 Cisc 32kb Flash 5v Tray
Manufacturer
Freescale Semiconductor, Inc
Datasheet
The (unreserved) bits of the FPROT register are writable with the restriction that the size of the protected
region can only be increased (see
During the reset sequence, the FPROT register is loaded with the contents of the P-Flash protection byte
in the Flash configuration field at global address 0x3_FF0C located in P-Flash memory (see
as indicated by reset condition ‘F’ in
during the reset sequence, the upper sector of the P-Flash memory must be unprotected, then the P-Flash
protection byte must be reprogrammed. If a double bit fault is detected while reading the P-Flash phrase
containing the P-Flash protection byte during the reset sequence, the FPOPEN bit will be cleared and
remaining bits in the FPROT register will be set to leave the P-Flash memory fully protected.
Trying to alter data in any protected area in the P-Flash memory will result in a protection violation error
and the FPVIOL bit will be set in the FSTAT register. The block erase of a P-Flash block is not possible
if any of the P-Flash sectors contained in the same P-Flash block are protected.
Freescale Semiconductor
FPHS[1:0]
FPHDIS
Offset Module Base + 0x0008
RNV[6]
Reset
Field
4–3
6
5
W
R
FPOPEN
Reserved Nonvolatile Bit — The RNV bit should remain in the erased state for future enhancements.
Flash Protection Higher Address Range Disable — The FPHDIS bit determines whether there is a
protected/unprotected area in a specific region of the P-Flash memory ending with global address 0x3_FFFF.
0 Protection/Unprotection enabled
1 Protection/Unprotection disabled
Flash Protection Higher Address Size — The FPHS bits determine the size of the protected/unprotected area
in P-Flash memory as shown
F
7
FPOPEN
= Unimplemented or Reserved
1
1
1
1
0
0
0
0
RNV6
F
6
Figure 16-13. Flash Protection Register (FPROT)
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
FPHDIS
Table 16-17. P-Flash Protection Function
Section 16.3.2.9.1, “P-Flash Protection Restrictions,” and Table
Table 16-16. FPROT Field Descriptions
1
1
0
0
1
1
0
0
FPHDIS
Figure
inTable
F
5
FPLDIS
16-18. The FPHS bits can only be written to while the FPHDIS bit is set.
16-13. To change the P-Flash protection that will be loaded
1
0
1
0
1
0
1
0
F
4
No P-Flash Protection
Protected Low Range
Protected High Range
Protected High and Low Ranges
Full P-Flash Memory Protected
Unprotected Low Range
Unprotected High Range
Unprotected High and Low Ranges
FPHS[1:0]
Description
F
3
Function
48 KByte Flash Module (S12FTMRC48K1V1)
FPLDIS
1
F
2
F
1
FPLS[1:0]
Table
16-20).
F
0
16-3)
579

Related parts for sc9s12hy64j0vllr