English
Language : 

MC9S12HY64 Datasheet, PDF (534/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
32 KByte Flash Module (S12FTMRC32K1V1)
P-Flash phrase containing the D-Flash protection byte during the reset sequence, the DPOPEN bit will be
cleared and DPS bits will be set to leave the D-Flash memory fully protected.
Trying to alter data in any protected area in the D-Flash memory will result in a protection violation error
and the FPVIOL bit will be set in the FSTAT register. Block erase of the D-Flash memory is not possible
if any of the D-Flash sectors are protected.
Table 15-21. DFPROT Field Descriptions
Field
Description
7
DPOPEN
3–0
DPS[3:0]
D-Flash Protection Control
0 Enables D-Flash memory protection from program and erase with protected address range defined by DPS
bits
1 Disables D-Flash memory protection from program and erase
D-Flash Protection Size — The DPS[3:0] bits determine the size of the protected area in the D-Flash memory
as shown in Table 15-22.
15.3.2.11 Flash Common Command Object Register (FCCOB)
Table 15-22. D-Flash Protection Address Range
DPS[3:0]
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
Global Address Range
0x0_4400 – 0x0_44FF
0x0_4400 – 0x0_45FF
0x0_4400 – 0x0_46FF
0x0_4400 – 0x0_47FF
0x0_4400 – 0x0_48FF
0x0_4400 – 0x0_49FF
0x0_4400 – 0x0_4AFF
0x0_4400 – 0x0_4BFF
0x0_4400 – 0x0_4CFF
0x0_4400 – 0x0_4DFF
0x0_4400 – 0x0_4EFF
0x0_4400 – 0x0_4FFF
0x0_4400 – 0x0_50FF
0x0_4400 – 0x0_51FF
0x0_4400 – 0x0_52FF
0x0_4400 – 0x0_53FF
Protected Size
256 bytes
512 bytes
768 bytes
1024 bytes
1280 bytes
1536 bytes
1792 bytes
2048 bytes
2304 bytes
2560 bytes
2816 bytes
3072 bytes
3328 bytes
3584 bytes
3840 bytes
4096 bytes
The FCCOB is an array of six words addressed via the CCOBIX index found in the FCCOBIX register.
Byte wide reads and writes are allowed to the FCCOB register.
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
534
Freescale Semiconductor