English
Language : 

MC9S08DE60 Datasheet, PDF (62/412 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 4 Memory
4.5.12.4 Flash and EEPROM Configuration Register (FCNFG)
7
6
5
4
3
2
1
0
R
0
0
0
0
0
EPGSEL
KEYACC
ECCDIS
W
Reset
0
0
0
F1
0
0
0
0
= Unimplemented or Reserved
Figure 4-8. Flash and EEPROM Configuration Register (FCNFG)
1 During reset this bit is decoded from the non-volatile NVECC register.
Table 4-12. FCNFG Register Field Descriptions
Field
Description
6
EPGSEL
5
KEYACC
4
ECCDIS
EEPROM Page Select — This bit selects which EEPROM page is accessed in the memory map.
0 Page 0 is in foreground of memory map. Page 1 is in background and can not be accessed.
1 Page 1 is in foreground of memory map. Page 0 is in background and can not be accessed.
Enable Writing of Access Key — This bit enables writing of the backdoor comparison key. For more detailed
information about the backdoor key mechanism, refer to Section 4.5.9, “Security.”
0 Writes to 0xFFB0–0xFFB7 are interpreted as the start of a Flash programming or erase command.
1 Writes to NVBACKKEY (0xFFB0–0xFFB7) are interpreted as comparison key writes.
Error Correction Code Disable — This bit indicates if ECC is enabled or disabled for Flash. This bit can only
be written in active background mode. See Section 4.5.10.1, “Enable ECC”.
0 ECC is enabled.
1 ECC is disabled.
4.5.12.5 Flash and EEPROM Protection Register (FPROT and NVPROT)
The FPROT register defines which Flash and EEPROM sectors are protected against program and erase
operations.
During the reset sequence, the FPROT register is loaded from the nonvolatile location NVPROT. To
change the protection that will be loaded during the reset sequence, the sector containing NVPROT must
be unprotected and erased, then NVPROT can be reprogrammed.
FPROT bits are readable at any time and writable as long as the size of the protected region is being
increased. Any write to FPROT that attempts to decrease the size of the protected memory will be ignored.
Trying to alter data in any protected area will result in a protection violation error and the FPVIOL flag
will be set in the FSTAT register. Mass erase is not possible if any one of the sectors is protected.
MC9S08DE60 Series Data Sheet, Rev. 3
62
Freescale Semiconductor