Flash Commands - NXP Semiconductors freescale KV4 Series Reference Manual

Table of Contents

Advertisement

Functional Description
4. The flash memory module sets FSTAT[CCIF] signifying that the command has
completed.
The flow for a generic command write sequence is illustrated in the following figure.
FCCOB
Availability Check
Access Error and
Protection Violation
Check
Figure 32-47. Generic flash command write sequence flowchart

32.4.8.2 Flash Commands

The following table summarizes the function of all flash commands.
FCMD
0x01
632
START
Read: FSTAT register
no
CCIF
= '1'?
yes
ACCERR/
FPVIOL
Set?
no
Write to the FCCOB registers
to load the required command parameter.
More
Parameters?
no
Clear the CCIF to launch the command
Write 0x80 to FSTAT register
EXIT
Command
Read 1s Section
Table continues on the next page...
KV4x Reference Manual, Rev. 2, 02/2015
Preliminary
Previous command complete?
Results from previous command
yes
Clear the old errors
Write 0x30 to FSTAT register
yes
Program flash
×
Function
Verify that a given number of
program flash locations from
a starting address are
erased.
Freescale Semiconductor, Inc.

Advertisement

Table of Contents
loading

Table of Contents