Information
Clear the CCIF to launch the command
Write 0x80 to FSTAT register
Clear the old errors
Access Error and
Protection Violation
Check
FCCOB
ACCERR/
FPVIOL
Set?
EXIT
Write to the FCCOB registers
to load the required command parameter.
More
Parameters?
Availability Check
Results from previous command
Read: FSTAT register
Write 0x30 to FSTAT register
no
yes
no
yes
Previous command complete?
no
CCIF
= ‘1’?
yes
START
Figure 28-32. Generic Flash Command Write Sequence Flowchart
28.4.9.2 Flash Commands
The following table summarizes the function of all flash commands. If the program flash,
data flash, or FlexRAM column is marked with an 'X', the flash command is relevant to
that particular memory resource.
FCMD Command Program flash Data flash FlexRAM Function
0x00 Read 1s Block × × Verify that a
program flash or
data flash block is
erased. FlexNVM
block must not be
partitioned for
EEPROM.
Table continues on the next page...
Chapter 28 Flash Memory Module (FTFL)
K20 Sub-Family Reference Manual, Rev. 2, Feb 2012
Freescale Semiconductor, Inc. 529
