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 -1- Publication Release Date: Apr. 11, 2006 Revision A1 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 y y y y y y y y y y y y y y 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 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 32L STSOP A 8 ^ F G P I 2 v A 9 ^ F G P I 3 v # R E S E T 4 3 2 V P P 1 V D D R / # C ^ C L K v 32 31 #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 1 0 ^ F G P I 4 v 30 A7(FGPI1) 5 29 IC A6(FGPI0) 6 28 V SS A5(#WP) 7 27 NC A4(#TBL) 8 26 NC A3(ID3) 9 A2(ID2) 32L PLCC 25 V DD 10 24 #OE(#INIT) A1(ID1) 11 23 #WE(FWH4) A0(ID0) 12 22 RY/#BY(RSV) 21 DQ7(RSV) DQ0(FWH0) 13 14 15 16 17 18 19 20 D Q 1 ^ F W H 1 v D Q 2 ^ F W H 2 v V S S D Q 3 ^ F W H 3 v D Q 4 ^ R S V v D Q 5 ^ R S V v D Q 6 ^ R S V v -4- W39V040FC 4. BLOCK DIAGRAM #WP #TBL CLK FWH[3:0] FWH4 FWH Interface 64K BYTES sector 6 8K BYTES 64K BYTES sector 5 R/#C DQ[7:0] #OE #WE RY/#BY 8K BYTES 8K BYTES IC #INIT #RESET A[10:0] 64K BYTES Boot block sector 7 8K BYTES 7FFFF 7E000 71FFF 70000 6FFFF 6E000 61FFF 60000 5FFFF 50000 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 INTERFACE SYM. PIN NAME PGM FWH IC * * Interface Mode Selection #RESET * * Reset #INIT * Initialize #TBL * Top Boot Block Lock #WP * Write Protect CLK * CLK Input FGPI[4:0] * General Purpose Inputs ID[3:0] * Identification Inputs They Are Internal Pull Down to Vss FWH[3:0] * Address/Data Inputs FWH4 * FWH Cycle Initial R/#C * Row/Column Select A[10:0] * Address Inputs DQ[7:0] * Data Inputs/Outputs #OE * Output Enable #WE * Write Enable RY/#BY * Ready/ Busy VDD * * Power Supply VSS * * Ground VPP * * Accelerate Program Power Supply RSV * * Reserved Pins NC * * 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 7.2 Reserved Read FGPI4 pin status Read FGPI3 pin status Read FGPI2 pin status Read FGPI1 pin status Read FGPI0 pin status 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 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. 2 1 0 7.4 7.5 Register Based Block Locking Value Definitions Table BIT [7:3] BIT 2 BIT 1 BIT 0 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 RESULT 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. 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 PINS MODE #OE #WE #RESET ADDRESS Read VIL VIH VIH AIN Dout Write VIH VIL VIH AIN Din X X VIL X High Z VIL X VIH X High Z/DOUT X VIH VIH X High Z/DOUT VIH X VIH X High Z Standby Write Inhibit Output Disable 8.2 DQ. 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 FIELD NO. OF CLOCKS DESCRIPTION START 1 "1101b" indicates FWH Memory Read cycle; while "1110b" indicates FWH Memory Write cycle. 0000b" appears on FWH bus to indicate the initial IDSEL 1 This one clock field indicates which FWH component is being selected. MSIZE 1 Memory Size. There is always show “0000b” for single byte access. TAR 2 Turned Around Time ADDR 7 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.) SYNC N 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 2 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.) - 13 - Publication Release Date: Apr. 11, 2006 Revision A1 W39V040FC 8.4 TABLE OF COMMAND DEFINITION COMMAND NO. OF 1ST CYCLE 2ND CYCLE 3RD CYCLE 4TH CYCLE 5TH CYCLE 6TH CYCLE DESCRIPTION CYCLES (1) ADDR. DATA ADDR. DATA ADDR. DATA ADDR. DATA ADDR. DATA ADDR. DATA Read Sector Erase 1 6 AIN DOUT 5555 AA 2AAA 55 5555 80 5555 AA 2AAA 55 SA(5) 30 Page Erase 6 5555 AA 2AAA 55 5555 80 5555 AA 2AAA 55 PA(6) 50 Byte Program Product ID Entry Product ID Exit (4) Product ID Exit (4) 4 3 3 1 5555 5555 5555 XXXX AA AA AA F0 2AAA 2AAA 2AAA 55 55 55 5555 5555 5555 A0 AIN 90 F0 DIN 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 = 3XXXXh for Unique Sector3 SA = 6XXXXh for Unique Sector6 SA = 2XXXXh for Unique Sector2 SA = 5XXXXh for Unique Sector5 SA = 1XXXXh for Unique Sector1 SA = 4XXXXh for Unique Sector4 SA = 0XXXXh for Unique Sector0 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 - 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 ? Pass Fail 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 Product Identification Exit(6) Identification and Boot Block Lockout Detection Mode (3) Load data AA to address 5555 (2) Load data 55 to address 2AAA Read address = 00000 data = DA Load data 90 to address 5555 Read address = 00001 data = 50 Pause 10 μS Read address = 7FFF2 Check DQ[3:0] of data outputs (2) (4) Load data 55 to address 2AAA Load data F0 to address 5555 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 DQ3 0 64Kbytes Boot Block Unlocked by #TBL hardware trapping Whole Chip Unlocked by #WP hardware trapping Except Boot Block 1 64Kbytes Boot Block Locked by #TBL hardware trapping 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 0 to +70 °C Storage Temperature -65 to +150 °C Power Supply Voltage to VSS Potential -0.5 to +4.0 V -0.5 to VDD +0.5 V -0.5 to +13 V -1.0 to VDD +0.5 V Operating Temperature D.C. Voltage on Any Pin to Ground Potential VPP Voltage Transient Voltage (<20 nS) on Any Pin to Ground Potential Note: Exposure to conditions beyond those listed under Absolute Maximum Ratings May adversely affect the life and reliability of the device. 14.2 Programmer interface Mode DC Operating Characteristics (VDD = 3.3V ± 0.3V, VSS= 0V, TA = 0 to 70° C) PARAMETER SYM. LIMITS TEST CONDITIONS MIN. TYP. UNIT MAX. Power Supply Current ICC In Read or Write mode, all DQs open Address inputs = 3.0V/0V, at f = 3 MHz - 15 30 Input Leakage Current ILI VIN = VSS to VDD - - 90 μA Output Leakage Current ILO VOUT = VSS to VDD - - 90 μA Input Low Voltage VIL - -0.5 - 0.8 V Input High Voltage VIH - 2.0 - VDD +0.5 V Output Low Voltage VOL IOL = 2.1 mA - - 0.45 V Output High Voltage VOH IOH = -0.1mA 2.4 - - V - 20 - mA W39V040FC 14.3 FWH Interface Mode DC Operating Characteristics (VDD = 3.3V ± 0.3V, VSS= 0V, TA = 0 to 70° C) PARAMETER SYM. LIMITS TEST CONDITIONS UNIT MIN. TYP. MAX. Power Supply Current Read ICC All Iout = 0A, CLK = 33 MHz, in FWH mode operation. - 15 25 mA Power Supply Current Program/Erase ICC CLK = 33 MHz, in FWH mode operation. - 18 30 mA Standby Current 1 Isb1 FWH4 = 0.9 VDD, CLK = 33 MHz, all inputs = 0.9 VDD / 0.1 VDD no internal operation - 20 50 uA Standby Current 2 Isb2 FWH4 = 0.1 VDD, CLK = 33 MHz, all inputs = 0.9 VDD /0.1 VDD no internal operation. - 3 10 mA Input Low Voltage VIL - -0.5 - 0.3 VDD V Input Low Voltage of #INIT VILI - -0.5 - 0.2 VDD V Input High Voltage VIH - 0.5 VDD - VDD +0.5 V Input High Voltage of #INIT Pin VIHI - 1.35 V - VDD +0.5 V Output Low Voltage VOL IOL = 1.5 mA - - 0.1 VDD V Output High Voltage VOH IOH = -0.5 mA 0.9 VDD - - V 14.4 Power-up Timing PARAMETER SYMBOL Power-up to Read Operation TPU. READ Power-up to Write Operation TPU. WRITE TYPICAL UNIT 100 μS 5 mS 14.5 Capacitance (VDD = 3.3V, TA = 25° C, f = 1 MHz) PARAMETER SYMBOL CONDITIONS MAX. UNIT I/O Pin Capacitance CI/O VI/O = 0V 12 pf Input Capacitance CIN VIN = 0V 6 pf - 21 - Publication Release Date: Apr. 11, 2006 Revision A1 W39V040FC 14.6 Programmer Interface Mode AC Characteristics AC Test Conditions PARAMETER CONDITIONS Input Pulse Levels 0V to 0.9 VDD Input Rise/Fall Time < 5 nS Input/Output Timing Level 1.5V/1.5V Output Load 1 TTL Gate and CL = 30 pF AC Test Load and Waveform +3.3V 1.8KΩ DOUT Input 30 pF (Including Jig and Scope) Output 0.9VDD 1.3K Ω 1.5V 1.5V 0V Test Point Test Point 14.7 Read Cycle Timing Parameters (VDD = 3.3V ± 0.3V, VSS = 0V, TA = 0 to 70° C) PARAMETER Read Cycle Time Row / Column Address Set Up Time Row / Column Address Hold Time Address Access Time Output Enable Access Time #OE Low to Active Output #OE High to High-Z Output Output Hold from Address Change SYMBOL TRC TAS TAH TAA TOE TOLZ TOHZ TOH - 22 - W39V040FC MIN. MAX. 350 50 50 0 0 150 75 35 - UNIT nS nS nS nS nS nS nS nS W39V040FC 14.8 Write Cycle Timing Parameters PARAMETER Reset Time Address Setup Time Address Hold Time R/#C to Write Enable High Time #WE Pulse Width #WE High Width Data Setup Time Data Hold Time #OE Hold Time Byte programming Time Sector Erase Cycle Time (Note 2) Page Erase Cycle Time (Note 2) Program/Erase Valid to RY/#BY Delay SYMBOL MIN. TYP. MAX. UNIT TRST TAS TAH TCWH TWP TWPH TDS TDH TOEH TBP TPEC TPEC2 TBUSY 1 50 50 50 100 100 50 50 0 90 10 0.6 0.3 - 200 6 6 - μS nS nS nS nS nS nS nS nS μS S S nS Notes: 1. All AC timing signals observe the following guidelines for determining setup and hold times: (a) High level signal's reference level is input high and (b) low level signal's reference level is input low. Ref. to the AC testing condition. 2. Exclude 00H pre-program prior to erasure. (In the pre-programming step of the embedded erase algorithm, all bytes are programmed to 00H before erasure 14.9 Data Polling and Toggle Bit Timing Parameters PARAMETER #OE to Data Polling Output Delay #OE to Toggle Bit Output Delay Toggle or Polling interval W39V040FC SYMBOL TOEP TOET - MIN. MAX. 50 350 350 - UNIT nS nS mS Note1: Minimum timing interval between Toggle-check or Polling-check is required for sector /page erase only - 23 - Publication Release Date: Apr. 11, 2006 Revision A1 W39V040FC 15. TIMING WAVEFORMS FOR PROGRAMMER INTERFACE MODE 15.1 Read Cycle Timing Diagram #RESET TRST TRC TAS Column Address Row Address Column Address A[10:0] TAH Row Address TAH TAS R/#C VIH #WE TAA #OE TOH TOE T OHZ TOLZ High-Z High-Z DQ[7:0] Data Valid 15.2 Write Cycle Timing Diagram TRST #RESET A[10:0] Column Address TAS TAH Row Address TAS TAH R/ #C TCWH TOEH #OE TWP TWPH #WE TDS DQ[7:0] Data Valid - 24 - TDH W39V040FC Timing Waveforms for Programmer Interface Mode, continued 15.3 Program Cycle Timing Diagram Byte Program Cycle A[10:0] 2AAA 5555 (Internal A[18:0]) DQ[7:0] 5555 55 AA Programmed Address A0 Data-In R/#C #OE T WPH TBP TWP #WE Byte 1 Byte 0 Byte 2 Byte 3 Internal Write Start RY/#BY T BUSY Note: The internal address A[18:0] are converted from external Column/Row address. Column/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]. 15.4 #DATA Polling Timing Diagram A[10:0] (Internal A[18:0]) An An An An R/ #C #WE #OE TOEP DQ7 X X X X TBP RY/#BY TBUSY - 25 - Publication Release Date: Apr. 11, 2006 Revision A1 W39V040FC Timing Waveforms for Programmer Interface Mode, continued 15.5 Toggle Bit Timing Diagram A[10:0] R/ #C #WE #OE TOET DQ6 TBP RY/#BY 15.6 Sector /Page Erase Timing Diagram Six-byte code for 3.3V-only Sector/Page Erase A[10:0] (Internal A[18:0]) DQ[7:0] 5555 2AAA 5555 AA 55 80 5555 AA 2AAA 55 SA/PA 30/50 R/ #C #OE TWP TPEC #WE TWPH Internal Erase starts SB0 SB1 SB2 SB3 SB4 SB5 RY/#BY Note: The internal address A[18:0] are converted from external Column/Row addres TBUSY Column/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]. SA = Sector Address,PA=Page address, Please ref. to the "Table of Command Definition - 26 - W39V040FC 16. FWH INTERFACE MODE AC CHARACTERISTICS 16.1 AC Test Conditions PARAMETER CONDITIONS Input Pulse Levels 0.6 VDD to 0.2 VDD Input Rise/Fall Slew Rate 1 V/nS Input/Output Timing Level 0.4VDD / 0.4VDD Output Load 1 TTL Gate and CL = 10 pF 16.2 Read/Write Cycle Timing Parameters (VDD = 3.3V ± 0.3V, VSS = 0V, TA = 0 to 70° C) PARAMETER SYMBOL W39V040FC UNIT MIN. MAX. Clock Cycle Time TCYC 30 - nS Input Set Up Time TSU 7 - nS Input Hold Time THD 0 - nS Clock to Data Valid TKQ 2 11 nS Note: Minimum and Maximum time have different load. Please refer to PCI specification. 16.3 Reset Timing Parameters PARAMETER SYMBOL MIN. TYP. MAX. UNIT VDD stable to Reset Active TPRST 1 - - mS Clock Stable to Reset Active TKRST 100 - - μS Reset Pulse Width TRSTP 100 - - nS Reset Active to Output Float TRSTF - - 50 nS Reset Inactive to Input Active TRST 10 - - μS Note: All AC timing signals observe the following guidelines for determining setup and hold times: (a) High level signal's reference level is input high and (b) low level signal's reference level is input low. Please refer to the AC testing condition. - 27 - Publication Release Date: Apr. 11, 2006 Revision A1 W39V040FC 17. TIMING WAVEFORMS FOR FWH INTERFACE MODE 17.1 Read Cycle Timing Diagram TCYC CLK #RESET TSU THD FWH4 TSU THD Start FWH Read FWH[3:0] Address IDSEL 1101b 0000b TKQ M Size XXXXb XA[22]XXb A[18:16] A[15:12] A[11:8] A[7:4] A[3:0] TAR 0000b 1111b Load Address in 7 Clocks 1 Clock 1 Clock Sync Tri-State 0000b 2 Clocks TAR Data D[3:0] D[7:4] 1111b 1 Clock Data out 2 Clocks Tri-State 2 Clocks Note: When A22 = high, the host will read the BIOS code from the FWH device. While A22 = low, the host will read the GPI (Add = FFBC0100) or Product ID (Add = FFBC0000/FFBC0001) from the FWH device 17.2 Write Cycle Timing Diagram TCYC CLK #RESET TSU THD FWH4 Start FWH Write FWH[3:0] Address IDSEL 1110b 0000b 1 Clock 1 Clock XXXXb XXXXb A[18:16] A[15:12] A[11:8] M Size A[7:4] A[3:0] 0000b TAR Data D[3:0] D[7:4] 1111b Load Data in 2 Clocks Load Address in 7 Clocks - 28 - Tri-State 2 Clocks Sync 0000b 1 Clock TAR 1111b Next Start Tri-State 0000b 2 Clocks 1 Clock Next Start 0000b 1 Clock W39V040FC Timing Waveforms, for FWH Interface Mode, continued 17.3 Program Cycle Timing Diagram CLK #RESET FWH4 1st Start FWH[3:0 1110b ] 1 Clock Address IDSEL 0000b XXXXb XXXXb 1 Clock XXXXb X101b Data M Size 0101b 0101b 0101b 0000b TAR 1010b 1111b 1010b Load Data "AA" in 2 Clocks Load Address "5555" in 7 Clocks Tri-State 2 Clocks Sync 0000b Start next command TAR 1111b Tri-State 2 Clocks 1 Clock 1 Clock Write the 1st command to the device in FWH mode. CLK #RESET FWH4 2nd Start FWH[3:0 ] 1110b 1 Clock Address IDSEL 0000b XXXXb XXXXb XXXXb X010b 1010b 1010b 0000b 0101b TAR 1111b 0101b Load Data "55" in 2 Clocks Load Address "2AAA" in 7 Clocks 1 Clock Data M Size 1010b Tri-State 2 Clocks 0000b Start next command TAR Sync 1111b Tri-State 2 Clocks 1 Clock 1 Clock Write the 2nd command to the device in FWH mode. CLK #RESET FWH4 3rd Start ] FWH[3:0 1110b 1 Clock Address IDSEL 0000b XXXXb XXXXb 1 Clock XXXXb X101b Data M Size 0101b 0101b 0101b 0000b 0000b TAR 1111b 1010b Load Data "A0" in 2 Clocks Load Address "5555" in 7 Clocks Tri-State 2 Clocks 0000b Start next command TAR Sync 1111b Tri-State 2 Clocks 1 Clock 1 Clock Write the 3rd command to the device in FWH mode. CLK #RESET Internal program start FWH4 4th Start FWH[3:0 ] 1110b Address IDSEL 0000b XXXXb XA[22]XXb A[18:16] A[15:12] A[7:4] A[3:0] 0000b TAR Data M Size A[11:8] D[3:0] D[7:4] 1111b TAR Sync Tri-State 0000b 1111b Tri-State Internal program start 1 Clock 1 Clock Load Din in 2 Clocks Load Ain in 7 Clocks 2 Clocks 1 Clock 2 Clocks Write the 4th command(target location to be programmed) to the device in FWH mode. - 29 - Publication Release Date: Apr. 11, 2006 Revision A1 W39V040FC Timing Waveforms for FWH Interface Mode, continued 17.4 #DATA Polling Timing Diagram CLK #RESET FWH4 Start FWH[3:0] 1110b Address IDSEL 0000b XXXXb XXXXb 1 Clock 1 Clock An[18:16] An[15:12] M Size An[11:8] An[7:4] An[3:0] 0000b Data Dn[3:0] Dn[7:4] Load Data "Dn" in 2 Clocks Load Address "An" in 7 Clocks TAR 1111b Sync 0000b Tri-State 2 Clocks 1 Clock TAR 1111b Next Start Tri-State 2 Clocks 1 Clock Write the last command(program or erase) to the device in FWH mode. CLK #RESET XXXXb FWH4 FWH[3:0] Start IDSEL 1101b 0000b Address XXXXb XXXXb 1 Clock 1 Clock An[18:16] An[15:12] TAR M Size An[11:8] An[7:4] An[3:0] 0000b 1111b Tri-State 2 Clocks Load Address in 7 Clocks Sync 0000b Data XXXXb Dn7,xxx 1 Clock Data out 2 Clocks TAR 1111b Next Start Tri-State 2 Clocks 1 Clock Read the DQ7 to see if the internal write complete or not. CLK #RESET FWH4 FWH[3:0] Start IDSEL 1101b 0000b 1 Clock 1 Clock Address XXXXb XXXXb An[18:16] An[15:12] TAR M Size An[11:8] An[7:4] An[3:0] Load Address in 7 Clocks 0000b 1111b Tri-State 2 Clocks When internal write complete, the DQ7 will equal to Dn7. - 30 - Sync 0000b Data XXXXb Dn7,xxx 1 Clock Data out 2 Clocks TAR 1111b Next Start Tri-State 2 Clocks 1 Clock W39V040FC Timing Waveforms for FWH Interface Mode, continued 17.5 Toggle Bit Timing Diagram CLK #RESET FWH4 Start FWH[3:0] Address IDSEL 1110b 0000b XXXXb XXXXb 1 Clock 1 Clock A[18:16] A[15:12] Data M Size A[11:8] A[7:4] A[3:0] 0000b D[3:0] D[7:4] Load Data "Dn" in 2 Clocks Load Address "An" in 7 Clocks TAR 1111b Sync 0000b Tri-State 2 Clocks 1 Clock TAR 1111b Next Start Tri-State 2 Clocks 1 Clock Write the last command(program or erase) to the device in FWH mode. CLK #RESET FWH4 Start FWH[3:0] 1101b Address IDSEL 0000b XXXXb XXXXb 1 Clock 1 Clock XXXXb XXXXb TAR M Size XXXXb XXXXb XXXXb 0000b 1111b Tri-State 2 Clocks Load Address in 7 Clocks Sync 0000b Data XXXXb X,D6,XXb 1 Clock Data out 2 Clocks TAR 1111b Next Start Tri-State 2 Clocks 1 Clock Read the DQ6 to see if the internal write complete or not. CLK #RESET FWH4 Start FWH[3:0] Address IDSEL 1101b 0000b 1 Clock 1 Clock XXXXb XXXXb XXXXb XXXXb TAR M Size XXXXb XXXXb XXXXb 0000b 1111b Tri-State 2 Clocks Load Address in 7 Clocks Sync 0000b Data XXXXb X,D6,XXb 1 Clock Data out 2 Clocks TAR 1111b Next Start Tri-State 2 Clocks 1 Clock When internal write complete, the DQ6 will stop toggle. - 31 - Publication Release Date: Apr. 11, 2006 Revision A1 W39V040FC Timing Waveforms for FWH Interface Mode, continued 17.6 Sector /Page Erase Timing Diagram CLK #RESET FWH4 1110b 0000b XXXXb XXXXb XXXXb X101b 0101b 0101b 0101b 0000b 1010b TAR 1010b Load Data "AA" in 2 Clocks Load Address "5555" in 7 Clocks 1 Clock 1 Clock Data M Size Address 1st Start IDSEL FWH[3:0] 1111b Tri-State 2 Clocks 1 Clock Start next command TAR Sync 0000b 1111b Tri-State 2 Clocks 1 Clock Write the 1st command to the device in FWH mode. CLK #RESET FWH4 Address 2nd Start IDSEL FWH[3:0] 1110b 0000b XXXXb XXXXb XXXXb X010b 1010b 1010b 0000b 0101b TAR 0101b Load Data "55" in 2 Clocks Load Address "2AAA" in 7 Clocks 1 Clock 1 Clock Data M Size 1010b 1111b Tri-State 2 Clocks 1 Clock Start next command TAR Sync 0000b 1111b Tri-State 2 Clocks 1 Clock Write the 2nd command to the device in FWH mode. CLK #RESET FWH4 1110b 0000b M Size Address 3rd Start IDSEL FWH[3:0] XXXXb XXXXb XXXXb X101b 0101b 0101b 0101b 0000b TAR 1000b Load Data "80" in 2 Clocks Load Address "5555" in 7 Clocks 1 Clocks1 Clocks Data 0000b 1111b Sync Tri-State 2 Clocks 0000b 1 Clocks Start next command TAR Tri-State 1111b 2 Clocks 1 Clocks TAR Start next command Write the 3rd command to the device in FWH mode. CLK #RESET FWH4 FWH[3:0] Address 4th Start IDSEL 1110b 0000b XXXXb XXXXb 1 Clock 1 Clock XXXXb X101b Data M Size 0101b 0101b 0101b 0000b 1010b TAR 1010b Load Data "AA" in 2 Clocks Load Address "5555" in 7 Clocks Tri-State 1111b 2 Clocks Sync 0000b 1 Clock 1111b Tri-State 2 Clocks 1 Clock Write the 4th command to the device in FWH mode. CLK #RESET FWH4 1110b 0000b 1 Clock 1 Clock M Size Address 5th Start IDSEL FWH[3:0] XXXXb XXXXb XXXXb X010b 1010b 1010b 1010b 0000b Data 0101b TAR 0101b Load Data "55" in 2 Clocks Load Address "2AAA" in 7 Clocks 1111b Tri-State 2 Clocks Sync 0000b Start next command TAR 1111b Tri-State 1 Clock 2 Clocks Sync TAR 1 Clock Write the 5th command to the device in FWH mode. CLK #RESET FWH4 Internal erase start 6th Start Address IDSEL M Size Data FWH[3:0] 1110b 0000b 1 Clock 1 Clock XXXXb XA[22]XXb A[18:16] XXXXb XXXXb XXXXb XXXXb Load Sector/Page Address in 7 Clocks 0000b 0000b 0011b (0101b) Load Din in 2 Clocks TAR 1111b Tri-State 2 Clocks 0000b 1 Clock Write the 6th command(target sector to be erased) to the device in FWH mode. - 32 - 1111b Tri-State Internal erase start 2 Clocks W39V040FC Timing Waveforms for FWH Interface Mode, continued 17.7 FGPI Register/Product ID Readout Timing Diagram CLK #RESET FWH4 Start IDSEL 1101b 0000b 1 Clock 1 Clock M Size Address FWH[3:0] A[27:24] A[23:20] A[19:16] 0000b 0001b /0000b 0000b 0000b /0001b 0000b Load Address "FFBC0100(hex)" in 7 Clocks for GPI Register & "FFBC0000(hex)/FFBC0001(hex) for Product ID TAR Tri-State 1111b 2 Clocks TAR Data Sync 0000b D[3:0] D[7:4] 1 Clock Data out 2 Clocks Tri-State Next Sta 1111b 2 Clocks 1 Clock Note: During the GPI read out mode, the DQ[4:0] will capture the states(High or Low) of the FGPI[4:0] input pins. The DQ[7:5] are reserved pins 17.8 Reset Timing Diagram VDD TPRST CLK TKRST TRSTP #RESET TRST T RSTF FWH[3:0] FWH4 - 33 - Publication Release Date: Apr. 11, 2006 Revision A1 W39V040FC 18. ORDERING INFORMATION ACCESS TIME (NS) POWER SUPPLY CURRENT MAX. (MA) STANDBY VDD CURRENT MAX. (MA) W39V040FCP 11 30 10 32L PLCC W39V040FCQ 11 30 10 32L STSOP W39V040FCPZ 11 30 10 32L PLCC Lead free W39V040FCQZ 11 30 10 32L STSOP Lead free PART NO. PACKAGE Notes: 1. Winbond reserves the right to make changes to its products without prior notice. 2. Purchasers are responsible for performing appropriate quality assurance testing on products intended for use in applications where personal injury might occur as a consequence of product failure. 19. HOW TO READ THE TOP MARKING Example: The top marking of 32-pin STSOP W39V040FCQ W39V040FCQZ 2138977A-A12 345OBFA 1st line: Winbond logo 2nd line: the part number: W39V040FCQZ (Z: For Lead Free) 3rd line: the lot number 4th line: the tracking code: 345 O B FA 149: Packages made in ’03, week 45 O: Assembly house ID: A means ASE, O means OSE, ...etc. B: IC revision; A means version A, B means version B, ...etc. FA: Process code - 34 - W39V040FC 20. PACKAGE DIMENSIONS 20.1 32L PLCC Symbol HE A A1 A2 b1 b c D E e GD GE HD HE L y θ E 4 1 32 30 5 29 GD D HD Dimension in Inches Dimension in mm Min. Nom. Max. Min. Nom. Max. 3.56 0.140 0.50 0.020 0.105 0.110 0.115 2.67 2.80 2.93 0.026 0.028 0.032 0.66 0.71 0.81 0.016 0.018 0.022 0.41 0.46 0.56 0.008 0.010 0.014 0.20 0.25 0.35 0.547 0.550 0.553 13.89 13.97 14.05 0.447 0.450 0.453 11.35 11.43 11.51 0.044 0.050 0.056 1.12 1.27 1.42 0.490 0.510 0.530 12.45 12.95 13.46 0.390 0.410 0.430 9.91 10.41 10.92 0.585 0.590 0.595 14.86 14.99 15.11 0.485 0.490 0.495 12.32 12.45 12.57 0.075 0.090 0.095 1.91 2.29 2.41 0.004 0 10 0.10 0 10 21 13 Notes: 14 1. Dimensions D & E do not include interlead flash. 2. Dimension b1 does not include dambar protrusion/intrusio 3. Controlling dimension: Inches 4. General appearance spec. should be based on final visual inspection sepc. c 20 L A2 θ e A1 b b1 Seating Plane A y GE 20.2 32L STSOP HD D c Dimension in Inches Dimension in mm Symbol Min. Nom. Max. e E b θ A1 A2 A L L1 - 35 - Y A A1 A2 b c D E HD e L L1 Y θ Min. Nom. Max. 0.047 0.002 1.20 0.006 0.05 0.15 0.035 0.040 0.041 0.95 1.00 0.007 0.009 0.010 0.17 0.22 0.27 0.004 ----- 0.008 0.10 ----- 0.21 0.488 12.40 0.315 8.00 0.551 14.00 0.020 0.020 0.024 0.50 0.028 0.50 0.031 0.000 0 3 1.05 0.60 0.70 0.80 0.004 0.00 5 0 0.10 3 5 Publication Release Date: Apr. 11, 2006 Revision A1 W39V040FC 21. VERSION HISTORY VERSION DATE PAGE A1 Apr. 11, 2006 - DESCRIPTION Initial Issued Important Notice Winbond products are not designed, intended, authorized or warranted for use as components in systems or equipment intended for surgical implantation, atomic energy control instruments, airplane or spaceship instruments, transportation instruments, traffic signal instruments, combustion control instruments, or for other applications intended to support or sustain life. Further more, Winbond products are not intended for applications wherein failure of Winbond products could result or lead to a situation wherein personal injury, death or severe property or environmental damage could occur. Winbond customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Winbond for any damages resulting from such improper use or sales. - 36 -