English
Language : 

K60P100M100SF2RM Datasheet, PDF (672/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Flash Operation in Low-Power Modes
28.4.12.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 traditional RAM (see Flash Sector Programming).
The section program buffer is limited to the lower half of the RAM. Data written to the
upper half of the 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 28-52. Program Section Command FCCOB Requirements
FCCOB Number
0
1
2
3
4
5
FCCOB Contents [7:0]
0x0B (PGMSEC)
Flash address [23:16]
Flash address [15:8]
Flash address [7:0]1
Number of phrases to program [15:8]
Number of phrases to program [7:0]
1. Must be phrase aligned (Flash address [2:0] = 000).
After clearing CCIF to launch the Program Section command, the FTFL blocks access to
the programming acceleration RAM (program flash only devices) or FlexRAM
(FlexNVM devices) and programs 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 and
FDPROT registers) to permit execution of the Program Section operation. The swap
indicator address in each program flash block is implicitly protected from erase. If the
swap indicator address is encountered during the Program Section operation, it is
bypassed without setting FPVIOL and the contents are not programmed. Programming,
which is not allowed to cross a flash sector boundary, continues until all requested
phrases have been programmed. The Program Section command also verifies that after
programming, all bits requested to be programmed are programmed.
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
672
Freescale Semiconductor, Inc.