Datasheet

256 KByte Flash Module (S12XFTMR256K1V1)
S12XS Family Reference Manual, Rev. 1.13
Freescale Semiconductor 529
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 18-22. DFPROT Field Descriptions
Field Description
7
DPOPEN
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
4–0
DPS[4:0]
D-Flash Protection Size The DPS[4:0] bits determine the size of the protected area in the D-Flash memory
as shown in Table 18-23.
Table 18-23. D-Flash Protection Address Range
DPS[4:0] Global Address Range Protected Size
0_0000 0x10_0000 – 0x10_00FF 256 bytes
0_0001 0x10_0000 – 0x10_01FF 512 bytes
0_0010 0x10_0000 – 0x10_02FF 768 bytes
0_0011 0x10_0000 – 0x10_03FF 1024 bytes
0_0100 0x10_0000 – 0x10_04FF 1280 bytes
0_0101 0x10_0000 – 0x10_05FF 1536 bytes
0_0110 0x10_0000 – 0x10_06FF 1792 bytes
0_0111 0x10_0000 – 0x10_07FF 2048 bytes
0_1000 0x10_0000 – 0x10_08FF 2304 bytes
0_1001 0x10_0000 – 0x10_09FF 2560 bytes
0_1010 0x10_0000 – 0x10_0AFF 2816 bytes
0_1011 0x10_0000 – 0x10_0BFF 3072 bytes
0_1100 0x10_0000 – 0x10_0CFF 3328 bytes
0_1101 0x10_0000 – 0x10_0DFF 3584 bytes
0_1110 0x10_0000 – 0x10_0EFF 3840 bytes
0_1111 0x10_0000 – 0x10_0FFF 4096 bytes
1_0000 0x10_0000 – 0x10_10FF 4352 bytes
1_0001 0x10_0000 – 0x10_11FF 4608 bytes
1_0010 0x10_0000 – 0x10_12FF 4864 bytes
1_0011 0x10_0000 – 0x10_13FF 5120 bytes
1_0100 0x10_0000 – 0x10_14FF 5376 bytes
1_0101 0x10_0000 – 0x10_15FF 5632 bytes