Protection - Freescale Semiconductor MC9S08PT60 Reference Manual

Table of Contents

Advertisement

CCIE
CCIF
DFDIE
DFDIF
SFDIE
SFDIF
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
programming 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.
Protection Fixed End
Protection Movable End
Protection Fixed End
Freescale Semiconductor, Inc.
Flash and EEPROM Command
Complete Interrupt Request
Flash and EEPROM
Error Interrupt Request
0x0000
0x8000
0x8400
0x8800
0x9000
0xA000
0xB000
0xC000
0xD000
0xE000
0xF000
0xF800
0xFFFF
Figure 4-5. Flash protection memory map
MC9S08PT60 Reference Manual, Rev. 4, 08/2014
Flash Protected/Unprotected Region 32 Kbytes
Flash Protected/Unprotected Lower Region 1, 2, 4, 8 Kbytes
Flash Protected/Unprotected Region 8 Kbytes (up to 29 Kbytes)
Flash Protected/Unprotected Higher Region 2, 4, 8, 16 Kbytes
Flash Configuration Field 16 bytes (0xFF70
Chapter 4 Memory map
CPU Interrupt
0xFF7F)
87

Advertisement

Table of Contents
loading

Table of Contents