Datasheet

CCIE
CCIF
DFDIE
DFDIF
SFDIE
SFDIF
Flash and EEPROM Command
Flash and EEPROM
Complete Interrupt Request
Error Interrupt Request
CPU Interrupt
Figure 4-4. Flash and EEPROM module interrupts implementation
4.5.2.6 Protection
The FPROT register can be set to protect regions in the flash memory from accidental
programing or erasing. Three separate memory regions, one growing upward from global
address 0x8000 in the flash memory, called the lower region; one growing downward
from global address 0xFFFF in the flash memory, called the higher region; and the
remaining addresses in the flash memory, can be activated for protection. The flash
memory addresses covered by these protectable regions are shown in the flash memory
map. The higher address region is mainly targeted to hold the boot loader code because it
covers the vector space.
Flash Protected/Unprotected Region 32 Kbytes
Flash Configuration Field 16 bytes (0xFF70
0xFF7F)
Protection Fixed End
Flash Protected/Unprotected Higher Region 2, 4, 8, 16 Kbytes
Flash Protected/Unprotected Lower Region 1, 2, 4, 8 Kbytes
Flash Protected/Unprotected Region 8 Kbytes (up to 29 Kbytes)
Protection Movable End
Protection Fixed End
0x0000
0x8000
0x8400
0x8800
0x9000
0xA000
0xB000
0xC000
0xD000
0xE000
0xF000
0xF800
0xFFFF
Figure 4-5. Flash protection memory map
Chapter 4 Memory map
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
Freescale Semiconductor, Inc. 83