Read 1S All Blocks Command - NXP Semiconductors freescale KV4 Series Reference Manual

Table of Contents

Advertisement

32.4.10.6 Read 1s All Blocks Command

The Read 1s All Blocks command checks if the program flash blocks have been erased to
the specified read margin level, if applicable, and releases security if the readout passes,
i.e. all data reads as '1'.
Table 32-58. Read 1s All Blocks Command FCCOB Requirements
FCCOB Number
0
1
After clearing CCIF to launch the Read 1s All Blocks command, the flash memory
module :
• sets the read margin for 1s according to
• checks the contents of the program flash are in the erased state.
If the flash memory module confirms that these memory resources are erased, access
control is disabled and security is released by setting the FSEC[SEC] field to the
unsecure state. The security byte in the flash configuration field (see
Field
Description) remains unaffected by the Read 1s All Blocks command. If the read
fails, i.e. all memory resources are not in the fully erased state, the FSTAT[MGSTAT0]
bit is set.
The CCIF flag sets after the Read 1s All Blocks operation has completed.
Table 32-59. Margin Level Choices for Read 1s All Blocks
Read Margin Choice
0x00
0x01
0x02
Table 32-60. Read 1s All Blocks Command Error Handling
Error Condition
An invalid margin choice is specified
Read-1s fails
Freescale Semiconductor, Inc.
FCCOB Contents [7:0]
0x40 (RD1ALL)
Read-1 Margin Choice
Table
Margin Level Description
Use the 'normal' read level for 1s
Apply the 'User' margin to the normal read-1 level
Apply the 'Factory' margin to the normal read-1 level
KV4x Reference Manual, Rev. 2, 02/2015
Preliminary
Chapter 32 Flash Memory Module (FTFA)
32-59,
Flash Configuration
Error Bit
FSTAT[ACCERR]
FSTAT[MGSTAT0]
643

Advertisement

Table of Contents
loading

Table of Contents