s29ns01gr Meet Spansion Inc., s29ns01gr Datasheet - Page 38

no-image

s29ns01gr

Manufacturer Part Number
s29ns01gr
Description
S29ns01gr 1gb 64 M X 16 Bit , 1.8 V Burst Simultaneous Read/write, Multiplexed Mirrorbit Flash Memory
Manufacturer
Meet Spansion Inc.
Datasheet
38
7.8.2
Program Suspend/Program Resume Commands
The Program Suspend command allows the system to interrupt an embedded programming operation or a
Write to Buffer programming operation so that data can read from any non-suspended sector. When the
Program Suspend command is written during a programming process, the device halts the programming
operation within t
writing the Program Suspend command.
After the programming operation has been suspended, the system can read array data from any non-
suspended sector and page. The Program Suspend command may also be issued during a programming
operation while an erase is suspended. In this case, data may be read from any addresses not in Erase
Suspend or Program Suspend.
After the Program Resume command is written, the device reverts to programming and the status bits are
updated. The system can determine the status of the program operation by reading the Status Register, just
as in the standard program operation. See
The system must write the Program Resume command to exit the Program Suspend mode and continue the
programming operation. Further writes of the Program Resume command are ignored. Another Program
Suspend command can be written after the device has resumed programming.
Software Functions and Sample Code
The following is a C source code example of using the program suspend function. Refer to the Spansion Low
Level Driver User’s Guide (available on www.spansion.com) for general information on Spansion Flash
memory software development guidelines.
The following is a C source code example of using the program resume function. Refer to the Spansion Low
Level Driver User’s Guide (available on www.spansion.com) for general information on Spansion Flash
memory software development guidelines.
/* Example: Program suspend command */
/* Example: Program resume command */
*( (UINT16 *)bank_addr + 0x000 ) = 0x0051;
*( (UINT16 *)sector_address + 0x000 ) = 0x0050;
Cycle
Cycle
1
1
PSL
(program suspend latency) and updates the status bits. Addresses are don't-cares when
Operation
Operation
D a t a
Write
Write
S29NS-R MirrorBit
S h e e t
Table 7.23 Program Suspend
Table 7.24 Program Resume
Sector Address + 000h
Status Register on page 31
Byte Address
Byte Address
Bank Address
( A d v a n c e
®
Flash Family
/* write suspend command
Sector Address + 000h
I n f o r m a t i o n )
/* write resume command
Word Address
Word Address
Bank Address
for more information.
S29NS-R_00_03 May 9, 2008
0050h
0051h
Data
Data
*/
*/

Related parts for s29ns01gr