
Table 29-7. Read 1s Section Command FCCOB Requirements
FCCOB Number
FCCOB Contents [7:0]
0
0x01 (RD1SEC)
1
Flash address [23:16] of the first phrase to be verified
2
Flash address [15:8] of the first phrase to be verified
3
Flash address [7:0]
of the first phrase to be verified
4
Number of phrases to be verified [15:8]
5
Number of phrases to be verified [7:0]
6
Read-1 Margin Choice
1. Must be phrase aligned (Flash address [2:0] = 000).
Upon clearing CCIF to launch the Read 1s Section command, the flash memory module
sets the read margin for 1s according to
and then reads all locations within the
specified section of flash memory. If the flash memory module fails to read all 1s (that is,
the flash section is not erased), FSTAT[MGSTAT0] is set. FSTAT[CCIF] sets after the
Read 1s Section operation completes.
Table 29-8. Margin Level Choices for Read 1s Section
Read Margin Choice
Margin Level Description
0x00
Use the 'normal' read level for 1s
0x01
Apply the 'User' margin to the normal read-1 level
0x02
Apply the 'Factory' margin to the normal read-1 level
Table 29-9. Read 1s Section Command Error Handling
Error condition
Error bit
Command not available in current mode/security
FSTAT[ACCERR]
An invalid margin code is supplied.
FSTAT[ACCERR]
An invalid flash address is supplied.
FSTAT[ACCERR]
Flash address is not phrase aligned.
FSTAT[ACCERR]
The requested section crosses a Flash block boundary.
FSTAT[ACCERR]
The requested number of phrases is 0.
FSTAT[ACCERR]
Read-1s fails.
FSTAT[MGSTAT0]
29.4.11.3 Program Check Command
The Program Check command tests a previously programmed program flash longword to
see if it reads correctly at the specified margin level.
Chapter 29 Flash Memory Module (FTFA)
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
NXP Semiconductors
661
Summary of Contents for K22F series
Page 2: ...K22F Sub Family Reference Manual Rev 4 08 2016 2 NXP Semiconductors...
Page 168: ...Module clocks K22F Sub Family Reference Manual Rev 4 08 2016 168 NXP Semiconductors...
Page 258: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 258 NXP Semiconductors...
Page 292: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 292 NXP Semiconductors...
Page 398: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 398 NXP Semiconductors...
Page 750: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 750 NXP Semiconductors...
Page 816: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 816 NXP Semiconductors...
Page 890: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 890 NXP Semiconductors...
Page 1302: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 1302 NXP Semiconductors...
Page 1374: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 1374 NXP Semiconductors...