Information
Table 28-30. Read 1s Section Command FCCOB Requirements (continued)
FCCOB Number FCCOB Contents [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 FTFL sets the read
margin for 1s according to Table 28-31 and then reads all locations within the specified
section of flash memory. If the FTFL fails to read all 1s (i.e. the flash section is not
erased), the FSTAT(MGSTAT0) bit is set. The CCIF flag sets after the Read 1s Section
operation completes.
Table 28-31. 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 28-32. 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 zero FSTAT[ACCERR]
Read-1s fails FSTAT[MGSTAT0]
28.4.10.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.
Table 28-33. Program Check Command FCCOB Requirements
FCCOB Number FCCOB Contents [7:0]
0 0x02 (PGMCHK)
1 Flash address [23:16]
2 Flash address [15:8]
3 Flash address [7:0]
1
Table continues on the next page...
Flash Operation in Low-Power Modes
K20 Sub-Family Reference Manual, Rev. 6, Nov 2011
628 Freescale Semiconductor, Inc.
