
17.5.11.8 Program Section command
The Program Section operation programs the data found in the section program buffer to
previously erased locations in the flash memory using an embedded algorithm. Data is
preloaded into the section program buffer by writing to the FlexRAM while it is set to
function as a programming acceleration RAM (see
).
The section program buffer is limited to the lower quarter of the programming
acceleration RAM (relative byte addresses 0x0000-0x03FF - be sure to check your device
specific memory map for the location of the programming acceleration RAM or
FlexRAM). Data written to the remainder of the programming acceleration RAM is
ignored and may be overwritten during Program Section command execution.
CAUTION
A flash memory location must be in the erased state before
being programmed. Cumulative programming of bits (back-to-
back program operations without an intervening erase) within a
flash memory location is not allowed. Re-programming of
existing 0s to 0 is not allowed as this overstresses the device.
Table 17-25. Program Section Command FCCOB Requirements
FCCOB Number
FCCOB Contents [7:0]
0
0x0B (PGMSEC)
1
Flash address [23:16]
2
Flash address [15:8]
3
4
Number of double-phrases for program flash, phrases for data flash to program [15:8]
5
Number of double-phrases for program flash, phrases for data flash to program [7:0]
1. Must be 128-bit aligned (Flash address [3:0] = 0000) for program flash, 64-bit aligned (Flash address [2:0] = 000) for data
flash.
After clearing CCIF to launch the Program Section command, the FTFE will block access
to the FlexRAM and program the data residing in the Section Program Buffer into the
flash memory starting at the flash address provided.
The starting address must be unprotected (see the description of the FPROT registers) to
permit execution of the Program Section operation. Programming, which is not allowed
to cross a flash sector boundary, continues until all requested double-phrases for program
flash, phrases for data flash have been programmed.
After the Program Section operation has completed, the CCIF flag will set and normal
access to the FlexRAM is restored. The contents of the Section Program Buffer are not
changed by the Program Section operation.
Functional Description
Kinetis KE1xF Sub-Family Reference Manual, Rev. 4, 06/2019
418
NXP Semiconductors
Summary of Contents for KE1xF Series
Page 2: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 2 NXP Semiconductors...
Page 138: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 138 NXP Semiconductors...
Page 360: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 360 NXP Semiconductors...
Page 490: ...Interrupts Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 490 NXP Semiconductors...
Page 562: ...Boot Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 562 NXP Semiconductors...
Page 706: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 706 NXP Semiconductors...
Page 736: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 736 NXP Semiconductors...
Page 866: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 866 NXP Semiconductors...
Page 1164: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1164 NXP Semiconductors...
Page 1178: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1178 NXP Semiconductors...
Page 1380: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1380 NXP Semiconductors...
Page 1472: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1472 NXP Semiconductors...
Page 1482: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1482 NXP Semiconductors...