S29WS-P SPANSION [SPANSION], S29WS-P Datasheet - Page 42
S29WS-P
Manufacturer Part Number
S29WS-P
Description
512/256/128 Mb (32/16/8 M x 16 bit) 1.8 V Burst Simultaneous Read/Write MirrorBit Flash Memory
Manufacturer
SPANSION [SPANSION]
Datasheet
1.S29WS-P.pdf
(89 pages)
- Current page: 42 of 89
- Download datasheet (2Mb)
40
Software Functions and Sample Code
The following are C source code examples of using the unlock bypass entry, program, and exit functions.
Refer to the Spansion Low Level Driver User’s Guide (available soon on www.spansion.com) for general
information on Spansion Flash memory software development guidelines.
Cycle
Cycle
Cycle
/* Example: Unlock Bypass Entry Command
/* Example: Unlock Bypass Program Command
/* Do while in Unlock Bypass Entry Mode!
/* Example: Unlock Bypass Exit Command */
1
2
3
1
2
1
2
*( (UINT16 *)bank_addr + 0x555 ) = 0x00AA;
*( (UINT16 *)bank_addr + 0x2AA ) = 0x0055;
*( (UINT16 *)bank_addr + 0x555 ) = 0x0020;
/* At this point, programming only takes two write cycles.
/* Once you enter Unlock Bypass Mode, do a series of like
/* operations (programming or sector erase) and then exit
/* Unlock Bypass Mode before beginning a different type of
/* operations.
*( (UINT16 *)bank_addr + 0x555 ) = 0x00A0;
*( (UINT16 *)pa )
/* Poll until done or error.
/* If done and more to program, */
/* do above two cycles again.
*( (UINT16 *)base_addr + 0x000 ) = 0x0090;
*( (UINT16 *)base_addr + 0x000 ) = 0x0000;
Program Setup Command
Program Command
Reset Cycle 1
Reset Cycle 2
Description
Description
Entry Command
Description
Unlock
Unlock
D a t a
(LLD Function = lld_UnlockBypassProgramCmd)
S h e e t
(LLD Function = lld_UnlockBypassResetCmd)
(LLD Function = lld_UnlockBypassEntryCmd)
Table 7.33 Unlock Bypass Program
Table 7.34 Unlock Bypass Reset
Table 7.32 Unlock Bypass Entry
Operation
Operation
S29WS-P
Write
Write
Write
Write
Operation
*/
*/
= data;
Write
Write
Write
( A d v a n c e
Program Address
Byte Address
Byte Address
*/
*/
*/
Base + xxxh
Base + xxxh
Base + xxxh
Byte Address
Base + AAAh
Base + AAAh
Base + 554h
/* write unlock cycle 1
/* write unlock cycle 2
/* write unlock bypass command
/* write program setup command
/* write data to be programmed
I n f o r m a t i o n )
Program Address
Word Address
Word Address
S29WS-P_00_A7 November 8, 2006
Base +xxxh
Base +xxxh
Base +xxxh
Word Address
Base + 2AAh
Base + 555h
Base + 555h
*/
*/
*/
*/
*/
Program Data
00A0h
0090h
0000h
00AAh
Data
0055h
0020h
Data
Data
*/
*/
*/
*/
*/
Related parts for S29WS-P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
128/64 Megabit (8/4 M x 16-Bit) CMOS 1.8 Volt-only Simultaneous Read/Write, Burst Mode Flash Memory
Manufacturer:
SPANSION [SPANSION]
Datasheet:
Part Number:
Description:
256/128/64 MEGABIT CMOS 1.8 VOLT ONLY SIMULTANEOUS READ/WRITE BURST MODE FLASH MEMORY
Manufacturer:
SPANSION [SPANSION]
Datasheet:
Part Number:
Description:
MirrorBit® Flash Family 512/256/128 Mb (32/16/8 M x 16 bit) 1.8 V Burst Simultaneous Read/Write MirrorBit Flash Memory
Manufacturer:
SPANSION [SPANSION]
Datasheet:
Part Number:
Description:
S29ws-s Mirrorbit Eclipse? Flash Family
Manufacturer:
Meet Spansion Inc.
Datasheet:
Part Number:
Description:
TS 48/CIVIL/1-BIT ECC, X8 I/O AND 3V VCC SPANSION SLC NAND
Manufacturer:
SPANSION
Datasheet:
Part Number:
Description:
TS 48/CIVIL/1-BIT ECC, X8 I/O AND 3V VCC SPANSION SLC NAND
Manufacturer:
SPANSION
Datasheet:
Part Number:
Description:
Manufacturer:
SPANSION
Datasheet:
Part Number:
Description:
Manufacturer:
SPANSION
Datasheet:
Part Number:
Description:
Manufacturer:
SPANSION
Datasheet:
Part Number:
Description:
MBM29F400TC-70PFTNSPANSION [FLASH MEMORY CMOS 4M (512K x 8/256K x 16) BIT]
Manufacturer:
SPANSION
Datasheet:
Part Number:
Description:
AM29F010B70JI1 Megabit (128 K x 8-bit) CMOS 5.0 Volt-only, Uniform Sector Flash Memory
Manufacturer:
SPANSION
Datasheet:
Part Number:
Description:
S29AL016D70BAI02016 MEGABIT CMOS 3.0 VOLT ONLY BOOT SECTOR FLASH MEMORY
Manufacturer:
SPANSION
Datasheet:
Part Number:
Description:
S29AL016M90FAI01016 MEGABIT (2M X 8 BIT / I M X 16 BIT) 3.0 VOLT ONLY BOOT SECTOR FLASH MEMORY
Manufacturer:
SPANSION
Datasheet:
Part Number:
Description:
S29AL016M90FAI02016 MEGABIT (2M X 8 BIT / I M X 16 BIT) 3.0 VOLT ONLY BOOT SECTOR FLASH MEMORY
Manufacturer:
SPANSION
Datasheet:
Part Number:
Description:
Manufacturer:
SPANSION
Datasheet: