
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
CCIF
= ‘1’?
Read: FSTAT register
no
yes
Bit Polling for
Command Completion
Check
Figure 45-3. Generic flash command write sequence flowchart
45.4.8.2 Flash Commands
The following table summarizes the function of all flash commands.
FCMD
Command
Program flash 0
Program flash 1
Function
0x00
Read 1s Block
×
×
Verify that a program
flash block is erased.
Table continues on the next page...
Chapter 45 Flash Memory Module (FTFA)
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
Freescale Semiconductor, Inc.
907