s29ns01gs Meet Spansion Inc., s29ns01gs Datasheet - Page 40

no-image

s29ns01gs

Manufacturer Part Number
s29ns01gs
Description
S29ns01gs 1024 Megabit 128 Megabyte 16-bit Data Width, Burst Access, Simultaneous Read/write, 1.8 Volt-only Flash Memory In 65 Nm Mirrorbit Technology
Manufacturer
Meet Spansion Inc.
Datasheet
40
7.8.2
Program Suspend/Program Resume Commands
The Program Suspend command allows the system to interrupt an embedded programming operation so that
data can be 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
and updates the status bits. Addresses are don't-cares when writing the Program Suspend command.
The system should read the Status Register to determine if the device is still actively programming or is
program-suspended. Refer to
After the programming operation has been suspended, the system can read array data from any
nonsuspended sector (or from any bits not being programmed, in the case of programming). 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 sector not in Erase Suspend or bits not in Program Suspend Accesses and
commands that are valid during Program Suspend are:
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. Program operations may be
interrupted as often as necessary but in order for a program operation to progress to completion there must
be some periods of time between resume and the next suspend command greater than or equal to t
Section 10.7.5, Erase and Programming Performance on page
Software Functions and Sample Code
Note
XXXX indicates a don't care address.
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.
Note
XXXX indicates a don't care address.
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.
Cycle
Read of any other non-suspended bits
Status Read command
Program Resume command
/* Example: Program Suspend Command */
*( (UINT16 *) base_address ) = 0x0051;
/* Example: Program Resume Command */
*( (UINT16 *) base_address ) = 0x0050;
1
Cycle
1
Write Program Suspend Command
Write Program Resume Command
Operation
S29NS-S MirrorBit
Operation
Status Register on page 25
D a t a
(LLD Function = lld_ProgramSuspendCmd)
(LLD Function = lld_ProgramResumeCmd)
Table 7.17 Program Suspend
Table 7.18 Program Resume
S h e e t
®
Status Register on page 25
Eclipse
Byte Address
Byte Address
XXXX
XXXX
Flash Family
( P r e l i m i n a r y )
for information on these status bits.
66.
Word Address
Word Address
XXXX
XXXX
for more information.
PSL
(program suspend latency)
S29NS-S_00_02 April 20, 2009
0051h
0050h
Data
Data
PRS
in

Related parts for s29ns01gs