Functional Description; Flash Protection - NXP Semiconductors MKL27Z128VFM4 Reference Manual

Table of Contents

Advertisement

Field
In NVM Special mode: All bits of FPROT are writable without restriction. Unprotected areas can be
protected and protected areas can be unprotected.
Restriction: The user must never write to any FPROT register while a command is running (CCIF=0).
Trying to alter data in any protected area in the program flash memory results in a protection violation
error and sets the FSTAT[FPVIOL] bit. A full block erase of a program flash block is not possible if it
contains any protected region.
Each bit in the 32-bit protection register represents 1/32 of the total program flash except for memory
configurations with less than 32 KB of program flash where each assigned bit protects 1 KB .
0
Program flash region is protected.
1
Program flash region is not protected

45.4 Functional Description

The information found here describes functional details of the flash memory module.

45.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 —
n
• For 2
program flash sizes, four registers typically protect 32 regions of the
program flash memory as shown in the following figure
Freescale Semiconductor, Inc.
FTFA_FPROTn field descriptions (continued)
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
Chapter 45 Flash Memory Module (FTFA)
Description
901

Advertisement

Table of Contents
loading

Table of Contents