E
28F160S5, 28F320S5
Start
Set Time-Out
Issue Write Command
No
E8H, Block Address
Read Extended
Status Register
XSR.7 =
0
1
Write Word or Byte
Count, Block Address
Write Buffer Data,
Start Address
X=0
Write Buffer
Time-Out?
Yes
X=N
No
Yes
Abort Buffer
Write
Yes
Command?
Yes
No
Write Next Buffer Data,
Device Address
Write to Another
Block Address
Buffer Write to
Flash Aborted
X=X+1
Bus Command
Comments
Operation
Write
Write to Data = E8h
Buffer Addr = Block Address
Read
XSR.7=valid
Addr = X
Standby
Check XSR.7
1 = Write buffer available
0 = Write buffer not available
Write
Data = N = word/byte count
(Note 1, 2)
N = 0 corresponds to count = 1
Addr = Block Address
Write
Data = write buffer data
(Note 3, 4)
Addr = device start address
Write
Data = write buffer data
(Note 5, 6)
Addr = device address
Write
Buffer Data = D0h
write to flash Addr = X
confirm
Read
Status Register data
CE# & OE# low updates SR
Addr = X
Standby
Check SR.7
1 = WSM ready
0 = WSM busy
1. Byte- or word-count values on DQ0-7 are loaded into
the Count register.
2. The device now outputs the Status Register when
read (XSR is no longer available).
3. Write Buffer contents will be programmed at the
device start address or destination flash address.
4. Align the start address on a Write Buffer boundary for
maximum programming performance.
5. The device aborts the Write to Buffer command if the
current address is outside of the original block
address.
6. The Status Register indicates an “improper command
sequence” if the Write to Buffer command is aborted.
Follow this with a Clear Status Register command.
Full status check can be done after all Erase and
Write sequences complete. Write FFh after the last
operation to reset the device to Read Array mode.
Buffer Write to Flash
Confirm D0H
Another
Buffer
Write?
Issue Read
Status Command
No
Read
Status Register
No
SR.7 =
0 Suspend
Write?
Yes
Suspend
Write Loop
1
Full Status
Check if Desired
Buffer Write to
Flash Complete
Figure 6. Write to Buffer Flowchart
0608_07
ADVANCE INFORMATION
31