Information

Table 28-35. Read 1s Block Command Error Handling
Error Condition Error Bit
Command not available in current mode/security FSTAT[ACCERR]
An invalid margin choice is specified FSTAT[ACCERR]
Program flash is selected and the address is out of program flash range FSTAT[ACCERR]
Data flash is selected and the address is out of data flash range FSTAT[ACCERR]
Data flash is selected with EEPROM enabled FSTAT[ACCERR]
Flash address is not longword aligned FSTAT[ACCERR]
Read-1s fails FSTAT[MGSTAT0]
28.4.11.2 Read 1s Section Command
The Read 1s Section command checks if a section of program flash or data flash memory
is erased to the specified read margin level. The Read 1s Section command defines the
starting address and the number of phrases or longwords to be verified.
Table 28-36. Read 1s Section Command FCCOB Requirements (P-Flash )
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]
1
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).
Table 28-37. Read 1s Section Command FCCOB Requirements (D-Flash)
FCCOB Number FCCOB Contents [7:0]
0 0x01 (RD1SEC)
1 Flash address [23:16] of the first longword to be verified
2 Flash address [15:8] of the first longword to be verified
3 Flash address [7:0]
1
of the first longword to be verified
4 Number of longwords to be verified [15:8]
5 Number of longwords to be verified [7:0]
6 Read-1 Margin Choice
1. Must be longword aligned (Flash address [1:0] = 00).
Chapter 28 Flash Memory Module (FTFL)
K20 Sub-Family Reference Manual, Rev. 1.1, Dec 2012
Freescale Semiconductor, Inc.
Preliminary
619
General Business Information