English
Language : 

K60P100M100SF2RM Datasheet, PDF (640/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Memory Map and Registers
Address: FTFL_FEPROT is 4002_0000h base + 16h offset = 4002_0016h
Bit
7
6
5
4
3
2
1
0
Read
Write
EPROT
Reset
x*
x*
x*
x*
x*
x*
x*
x*
* Notes:
• x = Undefined at reset.
Field
7–0
EPROT
FTFL_FEPROT field descriptions
EEPROM Region Protect
Description
For devices with program flash only: Reserved
For devices with FlexNVM:
Individual EEPROM regions can be protected from alteration by setting the associated EPROT bit. The
EPROT bits are not used when the FlexNVM Partition Code is set to data flash only. When the FlexNVM
Partition Code is set to data flash and EEPROM or EEPROM only, each EPROT bit covers one-eighth of
the configured EEPROM data (see the EEPROM Data Set Size parameter description).
In NVM Normal mode: The protection can only be increased. This means that currently-unprotected
memory can be protected, but currently-protected memory cannot be unprotected. Since unprotected
regions are marked with a 1 and protected regions use a 0, only writes changing 1s to 0s are accepted.
This 1-to-0 transition check is performed on a bit-by-bit basis. Those FEPROT bits with 1-to-0 transitions
are accepted while all bits with 0-to-1 transitions are ignored .
In NVM Special mode : All bits of the FEPROT register are writable without restriction. Unprotected
areas can be protected and protected areas can be unprotected.
Restriction: Never write to the FEPROT register while a command is running (CCIF=0).
Reset: During the reset sequence, the FEPROT register is loaded with the contents of the FlexRAM
protection byte in the Flash Configuration Field located in program flash. The flash basis for the reset
values is signified by X in the register diagram. To change the EEPROM protection that will be loaded
during the reset sequence, the sector of program flash that contains the Flash Configuration Field must be
unprotected; then the EEPROM protection byte must be erased and reprogrammed.
Trying to alter data by writing to any protected area in the EEPROM results in a protection violation error
and sets the FPVIOL bit in the FSTAT register.
0 For devices with program flash only: Reserved For devices with FlexNVM: EEPROM region is
protected
1 For devices with program flash only: Reserved For devices with FlexNVM: EEPROM region is not
protected
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
640
Freescale Semiconductor, Inc.