FTFA_FPROTn field descriptions (continued)
Field
Description
Each bit in the 32-bit protection register represents 1/32 of the total program flash except for
configurations where program flash memory is less than 32 KB. For configurations with less than 32 KB of
program flash memory, each assigned bit represents 1 KB.
0
Program flash region is protected.
1
Program flash region is not protected
24.4 Functional Description
The following sections describe functional details of the flash memory module.
24.4.1 Flash Protection
Individual regions within the flash memory can be protected from program and erase
operations. Protection is controlled by the following registers:
• FPROTn —
• For 2
n
program flash sizes, four registers typically protect 32 regions of the
program flash memory as shown in the following figure
Program flash size / 32
Program flash size / 32
Program flash size / 32
Program flash size / 32
Program flash size / 32
Program flash size / 32
Program flash size / 32
FPROT3[PROT0]
0x0_0000
FPROT3[PROT1]
FPROT3[PROT2]
FPROT3[PROT3]
FPROT0[PROT29]
FPROT0[PROT31]
FPROT0[PROT30]
Program flash
Last program flash address
Figure 24-24. Program flash protection
Chapter 24 Flash Memory Module (FTFA)
KL02 Sub-Family Reference Manual, Rev. 2.1, July 2013
Freescale Semiconductor, Inc.
315