Datasheet

Default protection settings as well as security information that allows the MCU to restrict
access to the flash module are stored in the flash configuration field as described in the
table below.
Table 4-11. Flash configuration field
Global address Size (Bytes) Description
0xFF70 — 0xFF77
1
8
Backdoor comparison key. See Verify backdoor access key command and
Unsecuring the MCU using backdoor key access.
0xFF78 — 0xFF7B 4 Reserved
0xFF7C
1
1 Flash protection byte
0xFF7D
1
1 EEPROM protection byte
0xFF7E
1
1 Flash nonvolatile byte
0xFF7F
1
1 Flash security byte
1. 0xFF78–0xFF7F for a flash phrase and must be programmed in a single command write sequence. Each byte in the
0xFF78-0xFF7B reserved field must be programmed to 0xFF.
The flash and EEPROM module provides protection to the MCU. During the reset
sequence, the FPROT register is loaded with the contents of the flash protection byte in
the flash configuration field at global address 0xFF7C in flash memory. The protection
functions depend on the configuration of bit settings in FPORT register.
Table 4-12. Flash protection function
FPOPEN FPHDIS FPLDIS Function
1
1 1 1 No flash protection
1 1 0 Protected low range
1 0 1 Protected high range
1 0 0 Protected high and low ranges
0 1 1 Full p-flash memory protected
0 1 0 Unprotected low range
0 0 1 Unprotected high range
0 0 0 Unprotected high and low ranges
1. For range sizes, see Table 4-14 and Table 4-15
The flash protection scheme can be used by applications requiring reprogramming in
single chip mode while providing as much protection as possible if reprogramming is not
required.
Flash and EEPROM
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
84 Freescale Semiconductor, Inc.