S29PL-N_07 SPANSION [SPANSION], S29PL-N_07 Datasheet - Page 34

no-image

S29PL-N_07

Manufacturer Part Number
S29PL-N_07
Description
256/128/128 Mb (16/8/8 M x 16-Bit) CMOS, 3.0 Volt-only Simultaneous Read/Write, Page-Mode Flash Memory
Manufacturer
SPANSION [SPANSION]
Datasheet
34
7.4.6
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
After the programming operation has been suspended, the system can read array data from any non-
suspended sector. The Program Suspend command can also be issued during a programming operation
while an erase is suspended. In this case, data can be read from any addresses not in Erase Suspend or
Program Suspend. If a read is needed from the Secured Silicon Sector area, then user must use the proper
command sequences to enter and exit this region.
The system can also write the Autoselect command sequence when the device is in Program Suspend mode.
The device allows reading Autoselect codes in the suspended sectors, since the codes are not stored in the
memory array. When the device exits the Autoselect mode, the device reverts to Program Suspend mode,
and is ready for another valid operation. See
After the Program Resume command is written, the device reverts to programming. The system can
determine the status of the program operation using the DQ7 or DQ6 status bits, just as in the standard
program operation. See
The system must write the Program Resume command (address bits are don't cares) 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 *)base_addr + 0x000) = 0x00B0;
*((UINT16 *)base_addr + 0x000) = 0x0030;
Cycle
Cycle
1
1
PSL
(program suspend latency) and updates the status bits.
Write Operation Status on page 37
Operation
Operation
S29PL-N MirrorBit
Write
Write
D a t a
(LLD Function = lld_ProgramSuspendCmd)
(LLD Function = lld_ProgramResumeCmd)
Table 7.13 Program Suspend
Table 7.14 Program Resume
S h e e t
Autoselect on page 23
Flash Family
( P r e l i m i n a r y )
/* write suspend command
/* write resume command
for more information.
Word Address
Word Address
Bank Address
Bank Address
for more information.
S29PL-N_00_A5 June 6, 2007
00B0h
0030h
Data
Data
*/
*/

Related parts for S29PL-N_07