28F6408W30, 28F3204W30, 28F320W30, 28F640W30
28
Preliminary
To erase a block, execute the Block Erase command. To determine the status of a block erase, poll
the status register and analyze the bits.
If the device is put in standby mode during an erase operation, the device will continue to erase
until to operation is complete; then it will enter standby mode.
Refer to
Figure 33,
“
Block Erase Flowchart
”
on page 64
for a detailed flow on how to implement a
block erase operation.
6.2
Erase Protection (V
PP
< V
PPLK
)
If the V
PP
voltage is below the V
PP
lockout threshold voltage, block erasure is prohibited. To
ensure proper block erase operation, V
PP
must be set to one of the two valid V
PP
levels. To
determine block erase status, poll the status register and analyze the bits.
When V
PP
is at V
PP1
, erase currents are drawn through the V
CC
supply. If V
PP
is driven by a logic
signal, V
PP1
must remain above the V
PP1
minimum value in order to erase a block.
7.0
Flash Suspend/Resume Modes
7.1
Program/Erase Suspend
To suspend program or erase, execute the suspend command. Suspend halts any in
-
progress word
programming or block erase operation. The Suspend command can be written to any device
address, and the partition being addressed remains in its previous command state. A Suspend
command allows data to be accessed from any memory location other than those suspended.
A program operation can be suspended to allow a read. An erase operation can be suspended to
allow word programming or device reads within any except the suspended block. A program
operation nested within an erase suspend can be suspended to read the flash device. Once the
program/erase process starts, a suspend can only occur at certain points in the program/erase
algorithm. Erase cannot resume until program operations initiated during the erase suspend are
complete. All device read functions are permitted during suspend.
During a suspend, V
PP
must remain at a valid program level and WP# must not change. Also, a
minimum time is required between issuing a Program or Erase command and then issuing a
Suspend command.
7.2
Program/Erase Resume
The Resume command (D0H) instructs the WSM to continue programming/erasing and
automatically clears status register bits SR.2 (or SR.6) and SR.7. The Resume command can be
written to any partition. If status register error bits are set, the status register can be cleared before
issuing the next instruction. RST# must remain at V
IH
. See
Figure 31,
“
Program Suspend/Resume
Flowchart
”
on page 62
and
Figure 34,
“
Erase Suspend/Resume Flowchart
”
on page 65
.
If a suspended partition was placed in read array, read status register, read identifier (ID), or read
query mode during the suspend, the device will remain in that mode and output data corresponding
to that mode after the program or erase operation is resumed. After resuming a suspend operation,