EasyManua.ls Logo

NXP Semiconductors KL25 Series - Freescale Semiconductor, Inc

NXP Semiconductors KL25 Series
807 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 27-25. Generic Flash Command Write Sequence Flowchart
27.4.8.2 Flash Commands
The following table summarizes the function of all flash commands.
FCMD Command Program flash Function
0x01 Read 1s Section × Verify that a given number of
program flash locations from
a starting address are
erased.
0x02 Program Check × Tests previously-programmed
locations at margin read
levels.
0x03 Read Resource IFR, ID Read 4 bytes from program
flash IFR or version ID.
0x06 Program Longword × Program 4 bytes in a program
flash block.
Table continues on the next page...
Functional Description
KL25 Sub-Family Reference Manual, Rev. 3, September 2012
438 Freescale Semiconductor, Inc.

Table of Contents

Related product manuals