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

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
Note:
The following is a C source code example of using the single word program function. See the
Spansion Low Level Driver User’s Guide (available on
for general information on Spansion Flash memory software development guidelines.
/* Example: Program Command
/* Poll for program completion */
Software Functions and Sample Code
*((UINT16 *)base_addr + 0x555) = 0x00AA;
*((UINT16 *)base_addr + 0x2AA) = 0x0055;
*((UINT16 *)base_addr + 0x555) = 0x00A0;
*((UINT16 *)pa)
Base = Base Address.
Program Setup
Unlock Cycle 1
Unlock Cycle 2
Program
Cycle
P r e l i m i n a r y
PASS. Device is in
read mode.
Figure 7.1 Single Word Program Operation
S29PL-N MirrorBit™ Flash Family
*/
= data;
Yes
Table 7.7 Single Word Program
Write Program Command:
Program Data to Address:
Perform Polling Algorithm
(LLD Function = lld_ProgramCmd)
Address 555h, Data A0h
(see Write Operation Status
Address 555h, Data AAh
Address 2AAh, Data 55h
Write Unlock Cycles:
Polling Status
Polling Status
flowchart)
= Busy?
= Done?
PA, PD
/* write unlock cycle 1
/* write unlock cycle 2
/* write program setup command
/* write data to be programmed
Operation
Write
Write
Write
Write
No
No
to return to read array mode.
FAIL. Issue reset command
Yes
www.amd.com
Word Address
Word Address
Base + 555h
Base + 2AAh
Base + 555h
Unlock Cycle 1
Unlock Cycle 2
Setup Command
Program Address (PA),
Program Data (PD)
Error condition
(Exceeded Timing Limits)
and www.fujitsu.com)
*/
*/
*/
*/
Data Word
00AAh
0055h
00A0h
Data
27

Related parts for S29PL-N