mc9s08en32 Freescale Semiconductor, Inc, mc9s08en32 Datasheet - Page 54

no-image

mc9s08en32

Manufacturer Part Number
mc9s08en32
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
1
Chapter 4 Memory
4.5.10.3
4.5.10.4
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.
54
User must write a 1 to this bit. Failing to do so may result in unexpected behavior.
KEYACC
Reset
Field
5
W
R
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
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.
Flash Configuration Register (FCNFG)
0
0
Flash Protection Register (FPROT and NVPROT)
7
= Unimplemented or Reserved
Reserved
0
6
1
Figure 4-7. Flash Configuration Register (FCNFG)
Table 4-10. FCNFG Register Field Descriptions
SEC changes to 1:0 after successful backdoor key entry
or a successful blank check of Flash.
KEYACC
MC9S08EN32 Series Data Sheet, Rev. 3
SEC[1:0]
0
5
0:0
0:1
1:0
1:1
Table 4-9. Security States
Reserved
1
4
Description
1
Section 4.5.9,
Description
unsecured
secure
secure
secure
3
0
0
1
“Security.”
0
0
2
Freescale Semiconductor
0
0
1
1
1
0

Related parts for mc9s08en32