FTFE_FEPROT field descriptions
Field
Description
EPROT
EEPROM Region Protect
Individual EEPROM regions can be protected from alteration by setting the associated EPROT bit to the
protected state. 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).
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.
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 EEPROM
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 FSTAT[FPVIOL] bit.
0
EEPROM region is protected
1
EEPROM region is not protected
16.4.4.8 Data Flash Protection Register (FTFE_FDPROT)
The FDPROT register defines which data flash regions are protected against program and
erase operations. Protected Flash regions cannot have their content changed; that is, these
regions cannot be programmed and cannot be erased by any FTFE command.
Unprotected regions can be changed by both program and erase operations.
Address: 4002_0000h base + 17h offset = 4002_0017h
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
* Notes:
x = Undefined at reset.
•
Memory map and registers
Kinetis KE1xZ256 Sub-Family Reference Manual, Rev. 3, 07/2018
304
NXP Semiconductors
Summary of Contents for Kinetis KE1xZ256
Page 2: ...Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 2 NXP Semiconductors...
Page 178: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 178 NXP Semiconductors...
Page 356: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 356 NXP Semiconductors...
Page 410: ...Interrupts Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 410 NXP Semiconductors...
Page 604: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 604 NXP Semiconductors...
Page 634: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 634 NXP Semiconductors...
Page 674: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 674 NXP Semiconductors...
Page 820: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 820 NXP Semiconductors...
Page 1030: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1030 NXP Semiconductors...
Page 1052: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1052 NXP Semiconductors...
Page 1066: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1066 NXP Semiconductors...
Page 1268: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1268 NXP Semiconductors...
Page 1314: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1314 NXP Semiconductors...
Page 1316: ...Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1316 NXP Semiconductors...