S29PL-N SPANSION [SPANSION], S29PL-N Datasheet - Page 39

no-image

S29PL-N

Manufacturer Part Number
S29PL-N
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
November 23, 2005 S29PL-N_00_A4
7.4.9 Write Operation Status
/* Example: Unlock Bypass Program Command */
/* Do while in Unlock Bypass Entry Mode!
/* Example: Unlock Bypass Exit Command */
The device provides several bits to determine the status of a program or erase operation. The
following subsections describe the function of DQ1, DQ2, DQ3, DQ5, DQ6, and DQ7.
DQ7: Data# Polling.
bedded Program or Erase algorithm is in progress or completed, or whether a bank is in Erase
Suspend. Data# Polling is valid after the rising edge of the final WE# pulse in the command se-
quence. Note that the Data# Polling is valid only for the last word being programmed in the write-
buffer-page during Write Buffer Programming. Reading Data# Polling status on any word other
than the last word to be programmed in the write-buffer-page returns false status information.
During the Embedded Program algorithm, the device outputs on DQ7 the complement of the
datum programmed to DQ7. This DQ7 status also applies to programming during Erase Suspend.
When the Embedded Program algorithm is complete, the device outputs the datum programmed
to DQ7. The system must provide the program address to read valid status information on DQ7.
If a program address falls within a protected sector, Data# polling on DQ7 is active for approxi-
mately t
During the Embedded Erase Algorithm, Data# polling produces a 0 on DQ7. When the Embedded
Erase algorithm is complete, or if the bank enters the Erase Suspend mode, Data# Polling pro-
duces a 1 on DQ7. The system must provide an address within any of the sectors selected for
erasure to read valid status information on DQ7.
After an erase command sequence is written, if all sectors selected for erasing are protected,
Data# Polling on DQ7 is active for approximately t
If not all selected sectors are protected, the Embedded Erase algorithm erases the unprotected
sectors, and ignores the selected sectors that are protected. However, if the system reads DQ7
at an address within a protected sector, the status may not be valid.
Just prior to the completion of an Embedded Program or Erase operation, DQ7 can change asyn-
chronously with DQ6 – DQ0 while Output Enable (OE#) is asserted low. That is, the device may
change from providing status information to valid data on DQ7. Depending on when the system
*((UINT16 *)bank_addr + 0x555) = 0x00A0;
*((UINT16 *)pa)
/* Poll until done or error.
/* If done and more to program, */
/* do above two cycles again.
Cycle
*( (UINT16 *)base_addr + 0x000 ) = 0x0090;
*( (UINT16 *)base_addr + 0x000 ) = 0x0000;
1
2
Cycle
1
2
PSP
, then that bank returns to the read mode.
Program Setup Command
Program Command
Reset Cycle 1
Reset Cycle 2
P r e l i m i n a r y
Description
Description
The Data# Polling bit, DQ7, indicates to the host system whether an Em-
S29PL-N MirrorBit™ Flash Family
(LLD Function = lld_UnlockBypassProgramCmd)
Table 7.16 Unlock Bypass Program
= data;
(LLD Function = lld_UnlockBypassResetCmd)
*/
*/
Table 7.17 Unlock Bypass Reset
*/
/* write program setup command
/* write data to be programmed
Operation
Operation
Write
Write
Write
Write
ASP
, then the bank returns to the read mode.
Program Address
Word Address
Base +xxxh
Word Address
Base +xxxh
Base +xxxh
*/
*/
Program Data
00A0h
Data
0090h
0000h
Data
37

Related parts for S29PL-N