W39V040FC Data Sheet
512K × 8 CMOS FLASH MEMORY WITH FWH INTERFACE
Table of Contents1. 2. 3. 4. 5. 6. GENERAL DESCRIPTION .............................................................................................................. 3 FEATURES ...................................................................................................................................... 3 PIN CONFIGURATIONS.................................................................................................................. 4 BLOCK DIAGRAM ........................................................................................................................... 5 PIN DESCRIPTION.......................................................................................................................... 6 FUNCTIONAL DESCRIPTION......................................................................................................... 7 6.1 Interface Mode Selection and Description ............................................................................ 7 6.2 Read (Write) Mode ................................................................................................................ 7 6.3 Reset Operation .................................................................................................................... 7 6.4 Accelerated Program Operation............................................................................................ 7 6.5 Boot Block Operation and Hardware Protection at Initial- #TBL & #WP............................... 7 6.6 Sector/Page Erase Command............................................................................................... 8 6.7 Program Operation................................................................................................................ 8 6.8 Hardware Data Protection ..................................................................................................... 8 6.9 Write Operation Status .......................................................................................................... 8 6.10 DQ7: #Data Polling................................................................................................................ 9 6.11 RY/#BY: Ready/#Busy .......................................................................................................... 9 6.12 DQ6: Toggle Bit ..................................................................................................................... 9 6.13 DQ5: Exceeded Timing Limits............................................................................................. 10 6.14 Identification Input pin ID[3:0].............................................................................................. 10 7. REGISTER FOR FWH MODE ....................................................................................................... 11 7.1 General Purpose Inputs Register for FWH Mode ............................................................... 11 7.2 Product Identification Registers........................................................................................... 11 7.3 Block Locking Registers ...................................................................................................... 11 7.4 Register Based Block Locking Value Definitions Table ...................................................... 12 7.5 Read Lock ........................................................................................................................... 12 7.6 Write Lock............................................................................................................................ 12 7.7 Lock Down........................................................................................................................... 12 8. TABLE OF OPERATING MODES ................................................................................................. 13 8.1 Operating Mode Selection - Programmer Mode ................................................................. 13 8.2 Operating Mode Selection - FWH Mode ............................................................................. 13 8.3 FWH Cycle Definition .......................................................................................................... 13 8.4 TABLE OF COMMAND DEFINITION ................................................................................. 14 9. EMBEDDED PROGRAMMING ALGORITHM ............................................................................... 15 10. EMBEDDED ERASE ALGORITHM ............................................................................................... 16 11. EMBEDDED #DATA POLLING ALGORITHM ............................................................................... 17 Publication Release Date: Apr. 11, 2006 Revision A1
-1-
W39V040FC
12. EMBEDDED TOGGLE BIT ALGORITHM...................................................................................... 18 13. SOFTWARE PRODUCT IDENTIFICATION AND BOOT BLOCK LOCKOUT DETECTION ACQUISITION FLOW............................................................................................................................ 19 14. ELECTRICAL CHARACTERISTICS .............................................................................................. 20 14.1 Absolute Maximum Ratings................................................................................................. 20 14.2 Programmer interface Mode DC Operating Characteristics ............................................... 20 14.3 FWH Interface Mode DC Operating Characteristics ........................................................... 21 14.4 Power-up Timing ................................................................................................................. 21 14.5 Capacitance......................................................................................................................... 21 14.6 Programmer Interface Mode AC Characteristics ................................................................ 22 14.7 Read Cycle Timing Parameters .......................................................................................... 22 14.8 Write Cycle Timing Parameters........................................................................................... 23 14.9 Data Polling and Toggle Bit Timing Parameters ................................................................. 23 15. TIMING WAVEFORMS FOR PROGRAMMER INTERFACE MODE ............................................ 24 15.1 Read Cycle Timing Diagram ............................................................................................... 24 15.2 Write Cycle Timing Diagram................................................................................................ 24 15.3 Program Cycle Timing Diagram .......................................................................................... 25 15.4 #DATA Polling Timing Diagram........................................................................................... 25 15.5 Toggle Bit Timing Diagram.................................................................................................. 26 15.6 Sector /Page Erase Timing Diagram................................................................................... 26 16. FWH INTERFACE MODE AC CHARACTERISTICS..................................................................... 27 16.1 AC Test Conditions ............................................................................................................. 27 16.2 Read/Write Cycle Timing Parameters................................................................................. 27 16.3 Reset Timing Parameters.................................................................................................... 27 17. TIMING WAVEFORMS FOR FWH INTERFACE MODE............................................................... 28 17.1 Read Cycle Timing Diagram ............................................................................................... 28 17.2 Write Cycle Timing Diagram................................................................................................ 28 17.3 Program Cycle Timing Diagram .......................................................................................... 29 17.4 #DATA Polling Timing Diagram........................................................................................... 30 17.5 Toggle Bit Timing Diagram.................................................................................................. 31 17.6 Sector /Page Erase Timing Diagram................................................................................... 32 17.7 FGPI Register/Product ID Readout Timing Diagram .......................................................... 33 17.8 Reset Timing Diagram......................................................................................................... 33 18. ORDERING INFORMATION.......................................................................................................... 34 19. HOW TO READ THE TOP MARKING ........................................................................................... 34 20. PACKAGE DIMENSIONS .............................................................................................................. 35 20.1 32L PLCC ............................................................................................................................ 35 20.2 32L STSOP ......................................................................................................................... 35 21. VERSION HISTORY ...................................................................................................................... 36
-2-
W39V040FC
1.
GENERAL DESCRIPTION
The W39V040FC is a 4-megabit, 3.3-volt only CMOS flash memory organized as 512K × 8 bits. For flexible erase capability, the 4Mbits of data are divided into 16 x 8 Kbytes pages and 6 x 64 Kbytes sectors or 8 x 64 Kbytes sectors. The device can be programmed and erased in-system with a standard 3.3V power supply. A 12-volt VPP is required for accelerated program. The unique cell architecture of the W39V040FC results in fast program/erase operations with extremely low current consumption. This device can operate at two modes, Programmer bus interface mode, Firmware Hub (FWH) bus interface mode. As in the Programmer interface mode, it acts like the traditional flash but with a multiplexed address inputs. But in the FWH interface mode, this device complies with the Intel FWH specification. The device can also be programmed and erased using standard EPROM programmers.
2. FEATURES
Single 3.3-volt operations: − 3.3-volt Read − 3.3-volt Erase − 3.3-volt Program Fast Program operation: − Byte-by-Byte programming: 7 μS (typ.) (VPP = 12V) − Byte-by-Byte programming: 10 μS (typ.) (VPP = Vcc) Fast Erase operation: − Sector erase 0.6 Sec. (typ.) − Page erase 0.3 Sec. (typ.) Fast Read access time: Tkq 11 nS Endurance: 50K cycles (typ.) Twenty-year data retention 6 Even sectors with 64K bytes 16 Even pages with 8K bytes or 8 Even sectors with 64 Kbytes Any individual sector/page can be erased Hardware protection: − #TBL supports 64-Kbyte Boot Block hardware protection − #WP supports the whole chip except Boot Block hardware protection Low power consumption − Active current: 15 mA (typ. for FWH read mode) Automatic program and erase timing with internal VPP generation End of program or erase detection − Toggle bit − Data polling Latched address and data TTL compatible I/O Available packages: 32L PLCC, 32L STSOP 32L PLCC Lead free, 32L STSOP Lead free
-3-
Publication Release Date: Apr. 11, 2006 Revision A1
W39V040FC
3. PIN CONFIGURATIONS
Firmware Hub (FWH) Mode
NC NC NC SS V IC A10(FGPI4) R/#C(CLK) V DD
Vpp
#RESET A9(FGPI3) A8(FGPI2) A7(FGPI1) A6(FGPI0) A5(#WP) A4(#TBL)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
32L STSOP
32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
#OE(#INIT) #WE(FWH4) RY/#BY(RSV) DQ7(RSV) DQ6(RSV) DQ5(RSV) DQ4(RSV) DQ3(FWH3) VSS DQ2(FWH2) DQ1(FWH1) DQ0(FWH0) A0(ID0) A1(ID1) A2(ID2) A3(ID3)
A 8 ^ F G P I 2 v 4 A7(FGPI1) A6(FGPI0) A5(#WP) A4(#TBL) A3(ID3) A2(ID2) A1(ID1) A0(ID0) DQ0(FWH0) 5 6 7 8 9 10 11 12 13 14 D Q 1 ^ F W H 1 v
A 9 ^ F G P I 3 v 3
# R E S E T 2
V P P 1
V D D 32
R / # C ^ C L K v 31
A 1 0 ^ F G P I 4 v 30 29 28 27 26 IC
V SS
NC NC
32L PLCC
25 24 23 22 21
V DD
#OE(#INIT) #WE(FWH4) RY/#BY(RSV) DQ7(RSV)
15 D Q 2 ^ F W H 2 v
16
17 D Q 3 ^ F W H 3 v
18 D Q 4 ^ R S V v
19 D Q 5 ^ R S V v
20 D Q 6 ^ R S V v
V S S
-4-
W39V040FC
4. BLOCK DIAGRAM
#WP #TBL CLK FWH[3:0] FWH4 IC #INIT #RESET R/#C A[10:0] DQ[7:0] #OE #WE RY/#BY
FWH Interface
64K BYTES Boot block sector 7
8K BYTES
7FFFF 7E000 71FFF 70000 6FFFF 6E000 61FFF 60000 5FFFF 50000
8K BYTES 8K BYTES
64K BYTES sector 6
8K BYTES
64K BYTES sector 5 Programmer Interface 64K BYTES sector 1 64K BYTES sector 0
1FFFF 10000 0FFFF 00000
-5-
Publication Release Date: Apr. 11, 2006 Revision A1
W39V040FC
5. PIN DESCRIPTION
SYM. INTERFACE PGM FWH PIN NAME
IC #RESET #INIT #TBL #WP CLK FGPI[4:0] ID[3:0] FWH[3:0] FWH4 R/#C A[10:0] DQ[7:0] #OE #WE RY/#BY VDD VSS VPP RSV NC
* *
* * * * * * * * * *
Interface Mode Selection Reset Initialize Top Boot Block Lock Write Protect CLK Input General Purpose Inputs Identification Inputs They Are Internal Pull Down to Vss Address/Data Inputs FWH Cycle Initial Row/Column Select Address Inputs Data Inputs/Outputs Output Enable Write Enable Ready/ Busy
* * * * * * * * * * * * * * * *
Power Supply Ground Accelerate Program Power Supply Reserved Pins No Connection
-6-
W39V040FC
6. FUNCTIONAL DESCRIPTION 6.1 Interface Mode Selection and Description
This device can operate in two interface modes, one is Programmer interface mode, and the other is FWH interface mode. The IC pin of the device provides the control between these two interface modes. These interface modes need to be configured before power up or return from #RESET. When IC pin is set to VDD, the device will be in the Programmer mode; while the IC pin is set to low state (or leaved no connection), it will be in the FWH mode. In Programmer mode, this device just behaves like traditional flash parts with 8 data lines. But the row and column address inputs are multiplexed. The row address are mapped to the higher internal address A[18:11]. And the column address are mapped to the lower internal address A[10:0]. For FWH mode, it complies with the FWH Interface Specification, through the FWH[3:0] to communicate with the system chipset .
6.2
Read (Write) Mode
In Programmer interface mode, the read (write) operation of the W39V040FC is controlled by #OE (#WE). The #OE (#WE) is held low for the host to obtain (write) data from (to) the outputs (inputs). #OE is the output control and is used to gate data from the output pins. The data bus is in high impedance state when #OE is high. As for in the FWH interface mode, the read or write is determined by the "bit 0 & bit 1 of START CYCLE ". Refer to the FWH cycle definition and timing waveforms for further details.
6.3
Reset Operation
The #RESET input pin can be used in some application. When #RESET pin is at high state, the device is in normal operation mode. When #RESET pin is at low state, it will halt the device and all outputs will be at high impedance state. As the high state re-asserted to the #RESET pin, the device will return to read or standby mode, it depends on the control signals.
6.4
Accelerated Program Operation
The device provides accelerated program operations through the ACC function.This function is primarily intended to allow a faster manufacturing throughput in the factory.
6.5
Boot Block Operation and Hardware Protection at Initial- #TBL & #WP
There is a hardware method to protect the top boot block and other sectors. Before power on programmer, tie the #TBL pin to low state and then the top boot block will not be programmed/erased. If #WP pin is tied to low state before power on, the other sectors will not be programmed/erased. In order to detect whether the boot block feature is set on or not, users can perform software command sequence: enter the product identification mode (see Command Codes for Identification/Boot Block Lockout Detection for specific code), and then read from address 7FFF2(hex). You can check the DQ2/DQ3 at the address 7FFF2 to see whether the #TBL/#WP pin is in low or high state. If the DQ2 is “0”, it means the #TBL pin is tied to high state. In such condition, whether boot block can be programmed/erased or not will depend on software setting. On the other hand, if the DQ2 is “1”, it means the #TBL pin is tied to low state, then boot block is locked no matter how the software is set. Like the DQ2, the DQ3 inversely mirrors the #WP state. If the DQ3 is “0”, it means the #WP pin is in high state, then all the sectors except the boot block can be programmed/erased. On the other hand, if the DQ3 is “1”, then all the sectors except the boot block are programmed/erased inhibited. To return to normal operation, perform a three-byte command sequence (or an alternate single-byte command) to exit the identification mode. For the specific code, see Command Codes for Identification/Boot Block Lockout Detection.
-7-
Publication Release Date: Apr. 11, 2006 Revision A1
W39V040FC
6.6 Sector/Page Erase Command
Sector/Page erase is a six bus cycles operation. There are two "unlock" write cycles, followed by writing the "set-up" command. Two more "unlock" write cycles then follows by the Sector/Page erase command. The Sector/Page address (any address location within the desired Sector/Page) is latched on the rising edge of R/#C in programmer mode, while the command (30/50H) is latched on the rising edge of #WE. Sector/Page erase does not require the user to program the device prior to erase. When erasing a Sector/Page, the remaining unselected sectors/pages are not affected. The system is not required to provide any controls or timings during these operations. The automatic Sector/Page erase begins after the erase command is completed, right from the rising edge of the #WE pulse for the last Sector/Page erase command pulse and terminates when the data on DQ7, Data Polling, is "1" at which time the device returns to the read mode. Data Polling must be performed at an address within any of the sectors/page being erased. Refer to the Erase Command flow Chart using typical command strings and bus operations.
6.7
Program Operation
The W39V040FC is programmed on a byte-by-byte basis. Program operation can only change logical data "1" to logical data "0." The erase operation, which changed entire data in main memory and/or boot block from "0" to "1", is needed before programming. The program operation is initiated by a 4-byte command cycle (see Command Codes for Byte Programming). The device will internally enter the program operation immediately after the byte-program command is entered. The internal program timer will automatically time-out (10μS typ. TBP) once it is completed and then return to normal read mode. Data polling and/or Toggle Bits can be used to detect end of program cycle.
6.8
Hardware Data Protection
The integrity of the data stored in the W39V040FC is also hardware protected in the following ways: (1) Noise/Glitch Protection: A #WE pulse of less than 5 nS in duration will not initiate a write cycle. (2) VDD Power Up/Down Detection: The programming and read operation are inhibited when VDD is less than 2.0V typical. (3) Write Inhibit Mode: Forcing #OE low or #WE high will inhibit the write operation. This prevents inadvertent writes during power-up or power-down periods.
6.9
Write Operation Status
The device provides several bits to determine the status of a program or erase operation: DQ5, DQ6, and DQ7. Each of DQ7 and DQ6 provides a method for determining whether a program or erase operation is complete or in progress. The device also offers a hardware-based output signal, RY/#BY in programmer mode, to determine whether an Embedded Program or Erase operation is in progress or has been completed.
-8-
W39V040FC
6.10 DQ7: #Data Polling
The #Data Polling bit, DQ7, indicates whether an Embedded Program or Erase algorithm is in progress or completed. Data Polling is valid after the rising edge of the final #WE pulse in the command sequence. During the Embedded Program algorithm, the device outputs on DQ7 and the complement of the data programmed to DQ7. Once the Embedded Program algorithm has completed, the device outputs the data 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 about 1μS, and then the device returns to the read mode. During the Embedded Erase algorithm, #Data Polling produces “0” on DQ7. Once the Embedded Erase algorithm has completed, #Data Polling produces “1” on DQ7. An address within any of the sector /page selected for erasure must be provided to read valid status information on DQ7. Just before the completion of an Embedded Program or Erase operation, DQ7 may change asynchronously with DQ0-DQ6 while Output Enable (#OE) is set to low. That is, the device may change from providing status information to valid data on DQ7. Depending on when it samples the DQ7 output, the system may read the status or valid data. Even if the device has completed the program or erase operation and DQ7 has valid data, the data outputs on DQ0-DQ6 may be still invalid. Valid data on DQ7-DQ0 will appear on successive read cycles.
6.11 RY/#BY: Ready/#Busy
The RY/#BY is a dedicated, open-drain output pin which indicates whether an Embedded Algorithm is in progress or complete. The RY/#BY status is valid after the rising edge of the final #WE pulse in the command sequence. Since RY/#BY is an open-drain output, several RY/#BY pins can be tied together in parallel with a pull-up resistor to VDD. When the output is low (Busy), the device is actively erasing or programming. When the output is high (Ready), the device is in the read mode or standby mode.
6.12 DQ6: Toggle Bit
Toggle Bit on DQ6 indicates whether an Embedded Program or Erase algorithm is in progress or complete. Toggle Bit I may be read at any address, and is valid after the rising edge of the final #WE pulse in the command sequence (before the program or erase operation), and during the sector /page erase time-out. During an Embedded Program or Erase algorithm operation, successive read cycles to any address cause DQ6 to toggle. The system may use either #OE to control the read cycles. Once the operation has completed, DQ6 stops toggling. The system can use DQ6 to determine whether a sector /page is actively erasing. If the device is actively erasing (i.e., the Embedded Erase algorithm is in progress), DQ6 toggles. If a program address falls within a protected sector , DQ6 toggles for about 1 μs after the program command sequence is written, and then returns to reading array data.
-9-
Publication Release Date: Apr. 11, 2006 Revision A1
W39V040FC
6.13 DQ5: Exceeded Timing Limits
DQ5 indicates whether the program or erase time has exceeded a specified internal pulse count limit. DQ5 produces “1” under these conditions which indicates that the program or erase cycle was not successfully completed. The device may output “1” on DQ5 if the system tries to program “1” to a location that was previously programmed to “0.” Only the erase operation can change “0” back to “1.” Under this condition, the device stops the operation, and while the timing limit has been exceeded, DQ5 produces “1.” Under both these conditions, the system must hardware reset to return to the read mode.
6.14 Identification Input pin ID[3:0]
These pins are part of mechanism that allows multiple parts to be used on the same bus. The boot device should be 0000b. And all the subsequent parts should use the up-count strapping.
- 10 -
W39V040FC
7. REGISTER FOR FWH MODE
There are three kinds of registers on this device, the General Purpose Input Registers, the Block Lock Control Registers and Product Identification Registers. Users can access these registers through respective address in the 4Gbytes memory map. There are detail descriptions in the sections below.
7.1
General Purpose Inputs Register for FWH Mode
This register reads the FGPI[4:0] pins on the W39V040FC.This is a pass-through register which can read via memory address FFBC0100(hex). Since it is pass-through register, there is no default value. GPI Register Table
BIT FUNCTION
7−5 4 3 2 1 0
Reserved Read FGPI4 pin status Read FGPI3 pin status Read FGPI2 pin status Read FGPI1 pin status Read FGPI0 pin status
7.2
Product Identification Registers
In the FWH interface mode, a read from FFBC, 0000(hex) can output the manufacturer code, DA(hex). A read from FFBC, 0001(hex) can output the device code 50 (hex). There is an alternative software method to read out the Product Identification in both the Programmer interface mode and the FWH interface mode. Thus, the programming equipment can automatically matches the device with its proper erase and programming algorithms. In the software access mode, a or JEDEC 3-byte command sequence can be used to access the product ID for programmer interface mode. A read from address 0000(hex) outputs the manufacturer code, DA(hex). A read from address 0001(hex) outputs the device code, 50 (hex). The product ID operation can be terminated by a three-byte command sequence or an alternate one-byte command sequence (see Command Definition table for detail).
7.3
Block Locking Registers
This part provides 8 even 64Kbytes blocks, and each block can be locked by register control. These control registers can be set or clear through memory address. Below is the detail description. Please note that this feature is only can be applied on FWH mode. Block Locking Registers type and access memory map Table
REGISTERS REGISTERS TYPE CONTROL BLOCK DEVICE PHYSICAL ADDRESS 4GBYTES SYSTEM MEMORY ADDRESS
BLR7 BLR6 BLR5 BLR4 BLR3 BLR2 BLR1 BLR0
R/W R/W R/W R/W R/W R/W R/W R/W
7 6 5 4 3 2 1 0
7FFFFh – 70000h 6FFFFh – 60000h 5FFFFh – 50000h 4FFFFh – 40000h 3FFFFh – 30000h 2FFFFh – 20000h 1FFFFh – 10000h 0FFFFh – 00000h
FFBF0002h FFBE0002h FFBD0002h FFBC0002h FFBB0002h FFBA0002h FFB90002h FFB80002h
- 11 -
Publication Release Date: Apr. 11, 2006 Revision A1
W39V040FC
Block Locking Register Bits Function Table
BIT FUNCTION
7–3 2
1
0
Reserved Read Lock 1: Prohibit to read in the block where set 0: Normal read operation in the block where clear. This is default state. Lock Down 1: Prohibit further to set or clear the Read Lock or Write Lock bits. This Lock Down Bit can only be set not clear. Only the device is reset or re-powered, the Lock Down Bit is cleared. 0: Normal operation for Read Lock or Write Lock. This is the default state. Write Lock 1: Prohibited to write in the block where set. This is default state. 0: Normal programming/erase operation in the block where clear.
7.4
Register Based Block Locking Value Definitions Table
BIT [7:3] BIT 2 BIT 1 BIT 0 RESULT
00000 00000 00000 00000 00000 00000 00000 00000
0 0 0 0 1 1 1 1
0 0 1 1 0 0 1 1
0 1 0 1 0 1 0 1
Full Access. Write Lock. Default State. Locked Open (Full Access, Lock Down). Write Locked, Locked Down. Read Locked. Read & Write Locked. Read Locked, Locked Down. Read & Write Locked, Locked Down.
7.5
Read Lock
Any attempt to read the data of read locked block will result in “00H.” The default state of any block is unlocked upon power up. User can clear or set the write lock bit anytime as long as the lock down bit is not set.
7.6
Write Lock
This is the default state of blocks upon power up. Before any program or erase to the specified block, user should clear the write lock bit first. User can clear or set the write lock bit anytime as long as the lock down bit is not set. The write lock function is in conjunction with the hardware protect pins, #WP & TBL. When hardware protect pins are enabled, it will override the register block locking functions and write lock the blocks no matter how the status of the register bits. Reading the register bit will not reflect the status of the #WP or #TBL pins.
7.7
Lock Down
The default state of lock down bit for any block is unlocked. This bit can be set only once; any further attempt to set or clear is ignored. Only the reset from #RESET or #INIT can clear the lock down bit. Once the lock down bit is set for a block, then the write lock bit & read lock bit of that block will not be set or cleared, and keep its current state.
- 12 -
W39V040FC
8. TABLE OF OPERATING MODES 8.1 Operating Mode Selection - Programmer Mode
MODE #OE #WE #RESET PINS ADDRESS DQ.
Read Write Standby Write Inhibit Output Disable
VIL VIH X VIL X VIH
VIH VIL X X VIH X
VIH VIH VIL VIH VIH VIH
AIN AIN X X X X
Dout Din High Z High Z/DOUT High Z/DOUT High Z
8.2
Operating Mode Selection - FWH Mode
Operation modes in FWH interface mode are determined by "START Cycle" when it is selected. When it is not selected, its outputs (FWH[3:0]) will be disable. Please reference to the "FWH Cycle Definition".
8.3
FWH Cycle Definition
NO. OF CLOCKS DESCRIPTION
FIELD
START IDSEL MSIZE TAR ADDR
1 1 1 2 7
"1101b" indicates FWH Memory Read cycle; while "1110b" indicates FWH Memory Write cycle. 0000b" appears on FWH bus to indicate the initial This one clock field indicates which FWH component is being selected. Memory Size. There is always show “0000b” for single byte access. Turned Around Time Address Phase for Memory Cycle. FWH supports the 28 bits address protocol. The addresses transfer most significant nibble first and least significant nibble last. (i.e. Address[27:24] on FWH[3:0] first, and Address[3:0] on FWH[3:0] last.) Synchronous to add wait state. "0000b" means Ready, "0101b" means Short Wait, "0110b" means Long Wait, "1001b" for DMA only, "1010b" means error, and other values are reserved. Data Phase for Memory Cycle. The data transfer least significant nibble first and most significant nibble last. (i.e. DQ[3:0] on FWH[3:0] first, then DQ[7:4] on FWH[3:0] last.)
SYNC
N
DATA
2
- 13 -
Publication Release Date: Apr. 11, 2006 Revision A1
W39V040FC
8.4 TABLE OF COMMAND DEFINITION
COMMAND DESCRIPTION NO. OF CYCLES (1) 1ST CYCLE ADDR. DATA 2ND CYCLE ADDR. DATA 3RD CYCLE ADDR. DATA 4TH CYCLE ADDR. DATA 5TH CYCLE ADDR. DATA 6TH CYCLE ADDR. DATA
Read Sector Erase Page Erase Byte Program Product ID Entry Product ID Exit (4) Product ID Exit (4)
1 6 6 4 3 3 1
AIN DOUT 5555 AA 5555 5555 5555 5555 XXXX AA AA AA AA F0
2AAA 2AAA 2AAA 2AAA 2AAA
55 55 55 55 55
5555 5555 5555 5555 5555
80 80
5555 5555
AA AA DIN
2AAA 55 2AAA 55
SA(5) PA(6)
30 50
A0 AIN 90 F0
Notes: 1. The cycle means the write command cycle not the FWH clock cycle. 2. The Column Address / Row Address are mapped to the Low / High order Internal Address. i.e. Column Address A[10:0] are mapped to the internal A[10:0], Row Address A[7:0] are mapped to the internal A[18:11] 3. Address Format: A14−A0 (Hex); Data Format: DQ7-DQ0 (Hex) 4. Either one of the two Product ID Exit commands can be used. 5. SA: Sector Address SA = 7XXXXh for Unique Sector 7 (boot sector) SA = 6XXXXh for Unique Sector6 SA = 5XXXXh for Unique Sector5 SA = 4XXXXh for Unique Sector4 6. PA: Page Address PA = 7E000-7FFFFh for Unique page 15 PA = 7C000-7DFFFh for Unique page 14 PA = 7A000-7BFFFh for Unique page 13 PA = 78000-79FFFh for Unique page 12 PA = 76000-77FFFh for Unique page 11 PA = 74000-75FFFh for Unique page 10 PA = 72000-73FFFh for Unique page 9 PA = 70000-71FFFh for Unique page 8 PA = 6E000-6FFFFh for Unique page 7 PA = 6C000-6DFFFh for Unique page 6 PA = 6A000-6BFFFh for Unique page 5 PA = 68000-69FFFh for Unique page 4 PA = 66000-67FFFh for Unique page 3 PA = 64000-65FFFh for Unique page 2 PA = 62000-63FFFh for Unique page 1 PA = 60000-61FFFh for Unique page 0 SA = 3XXXXh for Unique Sector3 SA = 2XXXXh for Unique Sector2 SA = 1XXXXh for Unique Sector1 SA = 0XXXXh for Unique Sector0
- 14 -
W39V040FC
9. EMBEDDED PROGRAMMING ALGORITHM
Start
Write Program Command Sequence (see below)
#Data Polling/ Toggle bit
Programming Completed
Program Command Sequence (Address/Command):
5555H/AAH
2AAAH/55H
5555H/A0H
Program Address/Program Data
- 15 -
Publication Release Date: Apr. 11, 2006 Revision A1
W39V040FC
10. EMBEDDED ERASE ALGORITHM
Start
Write Erase Command Sequence (see below)
#Data Polling or Toggle Bit
Erasure Completed
Individual Sector Erase Command Sequence (Address/Command): 5555H/AAH
2AAAH/55H
5555H/80H
5555H/AAH
2AAAH/55H
Sector Address/30H OR Page Address/50H
- 16 -
W39V040FC
11. EMBEDDED #DATA POLLING ALGORITHM
Start
Read Byte (DQ0 - DQ7) Address = SA or PA
Yes DQ7 = Data ? No
No
DQ5 = 1
Yes Read Byte (DQ0 - DQ7) Address = SA or PA
Yes DQ7 = Data
No Fail Pass
Note: SA/PA = Valid address for programming. During a sector/page erase operation, a valid address is an address within any sector/page selected for erasure.
- 17 -
Publication Release Date: Apr. 11, 2006 Revision A1
W39V040FC
12. EMBEDDED TOGGLE BIT ALGORITHM
Start
Read Byte (DQ0-DQ7)
Read Byte (DQ0-DQ7)
No Toggle Bit =Toggle ?
Yes No DQ5 = 1 ? Yes Read Byte (DQ0-DQ7) Twin
No Toggle Bit =Toggle ?
Fail
Pass
Note: Recheck toggle bit because it may stop toggling as DQ5 changes to “1”.
- 18 -
W39V040FC
13. SOFTWARE PRODUCT IDENTIFICATION AND BOOT BLOCK LOCKOUT DETECTION ACQUISITION FLOW
Product Identification Entry (1)
Load data AA to address 5555
Product
Identification and Boot Block Lockout Detection Mode (3)
Product Identification Exit(6)
Load data AA to address 5555 (2)
Load data 55 to address 2AAA
Read address = 00000 data = DA
Load data 55 to address 2AAA
Load data 90 to address 5555
Read address = 00001 data = 50
(2)
Load data F0 to address 5555
Pause 10 μ S
Read address = 7FFF2 Check DQ[3:0] of data outputs
(4)
Pause 10 μ S
(5) Normal Mode
Notes for software product identification/boot block lockout detection: (1) Data Format: DQ7−DQ0 (Hex); Address Format: A14−A0 (Hex) (2) A1−A18 = VIL; manufacture code is read for A0 = VIL; device code is read for A0 = VIH. (3) The device does not remain in identification and boot block lockout detection mode if power down. (4) The DQ[3:2] to indicate the sector s protect status as below:
DQ2
0 1 64Kbytes Boot Block Unlocked by #TBL hardware trapping 64Kbytes Boot Block Locked by #TBL hardware trapping
DQ3
Whole Chip Unlocked by #WP hardware trapping Except Boot Block Whole Chip Locked by #WP hardware trapping Except Boot Block
(5) The device returns to standard operation mode. (6) Optional 1-write cycle (write F0 (hex.) at XXXX address) can be used to exit the product identification/boot block lockout detection.
- 19 -
Publication Release Date: Apr. 11, 2006 Revision A1
W39V040FC
14. ELECTRICAL CHARACTERISTICS 14.1 Absolute Maximum Ratings
PARAMETER RATING UNIT
Operating Temperature Storage Temperature Power Supply Voltage to VSS Potential D.C. Voltage on Any Pin to Ground Potential VPP Voltage Transient Voltage (