mc9s08dz32amlfr Freescale Semiconductor, Inc, mc9s08dz32amlfr Datasheet - Page 80

no-image

mc9s08dz32amlfr

Manufacturer Part Number
mc9s08dz32amlfr
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Chapter 4 Memory
4.6.11.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.
80
Reset
FPOP
Field
EPS
FPS
7:6
5:1
0
W
R
EEPROM Protect Select Bits — This 2-bit field determines the protected EEPROM locations that cannot be
erased or programmed. See
FLASH Protect Select Bits — With FPOP set, this 5-bit field determines the protected FLASH locations that
cannot be erased or programmed.
FLASH Protection Open
0 Flash is fully protected.
1 Flash protected address range determined by FPS bits.
FLASH and EEPROM Protection Register (FPROT and NVPROT)
F
7
EPS
Figure 4-17. FLASH and EEPROM Protection Register (FPROT)
EPS
0x3
0x2
0x1
0x0
F
6
Table 4-18. FPROT Register Field Descriptions
Protected Address Range
Table 4-19. EEPROM Block Protection
MC9S08DZ128 Series Data Sheet, Rev. 1
Table
F
5
No protection
3FE0 - 3FFF
3FF0 - 3FFF
3FC0–3FFF
SeeTable
4-19.
4-20.
F
4
Description
FPS
F
3
Protected Size
128 bytes
32 bytes
64 bytes
0 bytes
F
2
Freescale Semiconductor
F
1
FPOP
F
0

Related parts for mc9s08dz32amlfr