EasyManuals Logo

NXP Semiconductors MC9S12G User Manual

NXP Semiconductors MC9S12G
1277 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #988 background imageLoading...
Page #988 background image
96 KByte Flash Module (S12FTMRG96K1V1)
MC9S12G Family Reference Manual Rev.1.27
990 NXP Semiconductors
P-Flash memory (see Table 28-4) as indicated by reset condition F in Table 28-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 28-22. EEPROT Field Descriptions
Field Description
7
DPOPEN
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
6–0
DPS[6:0]
EEPROM Protection Size — The DPS[6:0] bits determine the size of the protected area in the EEPROM
memory, this size increase in step of 32 bytes, as shown in Table 28-23 .
Table 28-23. EEPROM Protection Address Range
DPS[6:0] Global Address Range Protected Size
0000000 0x0_0400 – 0x0_041F 32 bytes
0000001 0x0_0400 – 0x0_043F 64 bytes
0000010 0x0_0400 – 0x0_045F 96 bytes
0000011 0x0_0400 – 0x0_047F 128 bytes
0000100 0x0_0400 – 0x0_049F 160 bytes
0000101 0x0_0400 – 0x0_04BF 192 bytes
The Protection Size goes on enlarging in step of 32 bytes, for each DPS value
increasing of one.
.
.
.
1011111 - to - 1111111 0x0_0400 – 0x0_0FFF 3,072 bytes

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the NXP Semiconductors MC9S12G and is the answer not in the manual?

NXP Semiconductors MC9S12G Specifications

General IconGeneral
BrandNXP Semiconductors
ModelMC9S12G
CategoryMicrocontrollers
LanguageEnglish

Related product manuals