June 6, 2007 S29PL-N_00_A5
S29PL-N MirrorBit
Flash Family
43
D a t a
S h e e t
( P r e l i m i n a r y )
7.8
Software Reset
Software reset is part of the command set (see
Table 12.1 on page 66
) that also returns the device to array
read mode and must be used for the following conditions:
1. To exit Autoselect mode
2. To reset software when DQ5 goes high during write status operation that indicates program or
erase cycle was not successfully completed
3. To exit sector lock/unlock operation.
4. To return to erase-suspend-read mode if the device was previously in Erase Suspend mode.
5. To reset software after any aborted operations
Software Functions and Sample Code
Note
Base = Base Address.
The following is a C source code example of using the reset 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: Reset (software reset of Flash state machine) */
*( (UINT16 *)base_addr + 0x000 ) = 0x00F0;
The following are additional points to consider when using the reset command:
This command resets the banks to the read and address bits are ignored.
Reset commands are ignored once erasure has begun until the operation is complete.
Once programming begins, the device ignores reset commands until the operation is complete
The reset command may be written between the cycles in a program command sequence before
programming begins (prior to the third cycle). This resets the bank to which the system was writing to the
read mode.
If the program command sequence is written to a bank that is in the Erase Suspend mode, writing the reset
command returns that bank to the erase-suspend-read mode.
The reset command may be also written during an Autoselect command sequence.
If a bank has entered the Autoselect mode while in the Erase Suspend mode, writing the reset command
returns that bank to the erase-suspend-read mode.
If DQ1 goes high during a Write Buffer Programming operation, the system must write the
Write to Buffer
Abort Reset
command sequence to RESET the device to reading array data. The standard RESET
command does not work during this condition.
To exit the unlock bypass mode, the system must issue a two-cycle unlock bypass reset command
sequence (see command tables for detail).
Table 7.19
Reset
(LLD Function = lld_ResetCmd)
Cycle
Operation
Word Address
Data
Reset Command
Write
Base + xxxh
00F0h