s29gl01gp Meet Spansion Inc., s29gl01gp Datasheet - Page 28

no-image

s29gl01gp

Manufacturer Part Number
s29gl01gp
Description
3.0 Volt-only Page Mode Flash Memory Featuring 90 Nm Mirrorbit Process Technology
Manufacturer
Meet Spansion Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
s29gl01gp10FAIR10
Manufacturer:
SPANSION
Quantity:
1 000
Part Number:
s29gl01gp11FFCR10A
Manufacturer:
SPANSION
Quantity:
84
Part Number:
s29gl01gp11FFCR20
Manufacturer:
SAMSUNG
Quantity:
2
Part Number:
s29gl01gp11FFCR20
Manufacturer:
SPANSION
Quantity:
20 000
Part Number:
s29gl01gp11FFCR23
Manufacturer:
APEX
Quantity:
143
Part Number:
s29gl01gp11FFI01
Manufacturer:
SPANSION
Quantity:
863
Company:
Part Number:
s29gl01gp11FFIR10
Quantity:
787
Company:
Part Number:
s29gl01gp11FFIR10
Quantity:
1 578
Company:
Part Number:
s29gl01gp11FFIR10
Quantity:
1 578
Company:
Part Number:
s29gl01gp11FFIR12
Quantity:
787
Part Number:
s29gl01gp11FFIT10
Manufacturer:
SPANSION
Quantity:
20 000
Company:
Part Number:
s29gl01gp11TFCR1
Quantity:
37
Part Number:
s29gl01gp11TFCR2
Manufacturer:
SPANSION
Quantity:
1 000
28
Software Functions and Sample Code
Notes
1. Base = Base Address.
2. Last = Last cycle of write buffer program operation; depending on number of words written, the total number of cycles may be from 6 to
3. For maximum efficiency, it is recommended that the write buffer be loaded with the highest number of words (N words) possible.
The following is a C source code example of using the write buffer program 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
5 to 36
Last
37.
/* Example: Write Buffer Programming Command
/* NOTES: Write buffer programming limited to 16 words. */
/*
/*
/*
/*
for (i=0;i<=wc;i++)
{
*dst++ = *src++; /* ALL dst MUST BE in same Write Buffer */
}
*( (UINT16 *)sector_address )
/* Example: Write Buffer Abort Reset */
1
2
3
4
UINT16 *src = source_of_data;
UINT16 *dst = destination_of_data;
UINT16 wc
*( (UINT16 *)base_addr + 0x555 ) = 0x00AA;
*( (UINT16 *)base_addr + 0x2AA ) = 0x0055;
*( (UINT16 *)sector_address )
*( (UINT16 *)sector_address )
/* poll for completion */
*( (UINT16 *)addr + 0x555 ) = 0x00AA;
*( (UINT16 *)addr + 0x2AA ) = 0x0055;
*( (UINT16 *)addr + 0x555 ) = 0x00F0;
Description
Write Buffer Load Command
Number of words (N) loaded into the write buffer can be from 1 to 32 words (1 to 64 bytes).
All addresses to be written to the flash in
one operation must be within the same flash
page. A flash page begins at addresses
evenly divisible by 0x20.
Write Buffer to Flash
Load Buffer Word N
Write Word Count
= words_to_program -1;
(LLD Functions Used = lld_WriteToBufferCmd, lld_ProgramBufferToFlashCmd)
Unlock
Unlock
S29GL-P MirrorBit
= 0x0029;
Table 7.7 Write Buffer Program
Operation
= 0x0025;
= wc;
Write
Write
Write
Write
Write
Write
D a t a
®
/* write unlock cycle 1
/* write unlock cycle 2
/* write buffer abort reset
Flash Family
/* write confirm command
/* flash destination address
/* address of source data
/* word count (minus 1)
/* write unlock cycle 1
/* write unlock cycle 2
/* write write buffer load command */
/* write word count (minus 1)
Byte Address
Base + AAAh
S h e e t
Base + 555h
Program Address, Word N
*/
*/
*/
*/
*/
Sector Address
Sector Address
Sector Address
Word Address
Base + 2AAh
Base + 555h
S29GL-P_00_A11 June 11, 2008
*/
*/
*/
*/
*/
Data
*/
*/
*/
*/
*/
Word Count (N–1)h
Word N
00AAh
0055h
0025h
0029h

Related parts for s29gl01gp