English
Language : 

MC9S12G Datasheet, PDF (728/1160 Pages) Freescale Semiconductor, Inc – Ignores external trigger. Performs one conversion sequence and stops.
32 KByte Flash Module (S12FTMRG32K1V1)
During the reset sequence, fields DPOPEN and DPS of the EEPROT register are loaded with the contents
of the EEPROM protection byte in the Flash configuration field at global address 0x3_FF0D located in
P-Flash memory (see Table 22-4) as indicated by reset condition F in Table 22-23. To change the
EEPROM protection that will be loaded during the reset sequence, the P-Flash sector containing the
EEPROM protection byte must be unprotected, then the EEPROM protection byte must be programmed.
If a double bit fault is detected while reading the P-Flash phrase containing the EEPROM protection byte
during the reset sequence, the DPOPEN bit will be cleared and DPS bits will be set to leave the EEPROM
memory fully protected.
Trying to alter data in any protected area in the EEPROM memory will result in a protection violation error
and the FPVIOL bit will be set in the FSTAT register. Block erase of the EEPROM memory is not possible
if any of the EEPROM sectors are protected.
Table 22-22. EEPROT Field Descriptions
Field
Description
7
DPOPEN
4–0
DPS[4:0]
EEPROM Protection Control
0 Enables EEPROM memory protection from program and erase with protected address range defined by DPS
bits
1 Disables EEPROM memory protection from program and erase
EEPROM Protection Size — The DPS[4:0] bits determine the size of the protected area in the EEPROM
memory as shown inTable 22-23 .
Table 22-23. EEPROM Protection Address Range
DPS[4:0]
Global Address Range
Protected Size
00000
0x0_0400 – 0x0_041F
32 bytes
00001
0x0_0400 – 0x0_043F
64 bytes
00010
0x0_0400 – 0x0_045F
96 bytes
00011
0x0_0400 – 0x0_047F
128 bytes
00100
0x0_0400 – 0x0_049F
160 bytes
00101
0x0_0400 – 0x0_04BF
192 bytes
The Protection Size goes on enlarging in step of 32 bytes, for each DPS
value increasing of one.
.
.
.
11111 - to - 11111 0x0_0400 – 0x0_07FF
1,024 bytes
MC9S12G Family Reference Manual, Rev.1.01
728
Freescale Semiconductor
This document is valid for the S12G96 and the S12G128 device. All information related to other devices is preliminary.