EFST F49L004UA / F49L004BA preliminary 4 Mbit (512K x 8) 3V Only CMOS Flash Memory 1. FEATURES Single supply voltage 2.7V-3.6V Fast access time: 70/90 ns ! Compatible with JEDEC standard - Pinout, packages and software commands compatible with single-power supply Flash ! Low power consumption - 20mA typical active current - 0.2uA typical standby current ! 10,000 minimum program/erase cycles ! Command register architecture - Byte programming (9us typical) - Sector Erase(sector structure: one 16 KB, two 8 KB, one 32 KB, and seven 64 KB) ! Auto Erase (chip & sector) and Auto Program - Any combination of sectors can be erased concurrently; Chip erase also provided. - Automatically program and verify data at specified address ! Erase Suspend/Erase Resume - Suspend or Resume erasing sectors to allow the read/program in another sector ! ! ! ! ! ! ! ! ! Ready/Busy (RY/ BY ) - RY/ BY output pin for detection of program or erase operation completion End of program or erase detection - Data polling - Toggle bits Hardware reset - Hardware pin( RESET ) resets the internal state machine to the read mode Sector Protection /Unprotection - Hardware Protect/Unprotect any combination of sectors from a program or erase operation. Low VCC Write inhibit is equal to or less than 2.0V Boot Sector Architecture - U = Upper Boot Sector - B = Bottom Boot Sector Packages available: - 40-pin TSOPI - 32-pin PLCC 2. ORDERING INFORMATION Part No Boot Speed Package Part No Boot Speed Package F49L004UA-70T Upper 70 ns TSOPI F49L004UA-90 T Upper 90 ns TSOPI F49L004UA-70N Upper 70 ns PLCC F49L004UA-90N Upper 90 ns PLCC F49L004BA-70T Bottom 70 ns TSOPI F49L004BA-90T Bottom 90 ns TSOPI F49L004BA-70N Bottom 70 ns PLCC F49L004BA-90N Bottom 90 ns PLCC 3. GENERAL DESCRIPTION The F49L004UA/ F49L004BA is a 4 Megabit, 3V only CMOS Flash memory device organized as 512K bytes of 8 bits. This device is packaged in standard 40-pin TSOP and 32-pin PLCC. It is designed to be programmed and erased both in system and can in standard EPROM programmers. With access times of 70 ns and 90 ns, the F49L004UA/ F49L004BA allows the operation of high-speed microprocessors. The device has separate chip enable CE , write enable WE , and output enable OE controls. EFST's memory devices reliably store memory data even after 100,000 program and erase cycles. The F49L004UA/ F49L004BA is entirely pin and command set compatible with the JEDEC standard for 4 Megabit Flash memory devices. Commands are written to the command register using standard microprocessor write timings. Elite Flash Storage Technology Inc. The F49L004UA/ F49L004BA features a sector erase architecture. The device memory array is divided into one 16 Kbytes, two 8 Kbytes, one 32 Kbytes, and seven 64 Kbytes. Sectors can be erased individually or in groups without affecting the data in other sectors. Multiple-sector erase and whole chip erase capabilities provide the flexibility to revise the data in the device. The sector protect/unprotect feature disables both program and erase operations in any combination of the sectors of the memory. This can be achieved in-system or via programming equipment. A low VCC detector inhibits write operations on loss of power. End of program or erase is detected by the Ready/Busy status pin, Data Polling of DQ7, or by the Toggle Bit I feature on DQ6. Once the program or erase cycle has been successfully completed, the device internally resets to the Read mode. Publication Date : Aug. 2003 Revision: 0.2 1/46 EFST F49L004UA / F49L004BA preliminary 4. PIN CONFIGURATIONS 4.1 40-pin TSOP I A16 1 40 A17 A15 2 39 VSS A14 3 38 NC A13 4 37 NC A12 5 36 A10 A11 6 35 DQ 7 A9 7 34 DQ 6 A8 8 33 DQ 5 WE 9 32 DQ 4 RESET 10 31 VCC NC 11 30 VCC RY/BY 12 29 NC A18 13 28 DQ 3 A7 14 27 DQ 2 A6 15 26 DQ 1 A5 16 25 DQ 0 A4 17 24 OE A3 18 23 VSS A2 19 22 CE A1 20 21 A0 4.2 32-pin PLCC A0 DQ 0 A17 A1 WE A2 2 VCC A3 3 A18 A4 A16 A5 A12 A6 A15 A7 4 1 32 31 30 29 28 27 26 25 24 23 22 21 5 6 7 8 9 10 11 12 13 A14 A13 A8 A9 A11 OE A10 CE DQ 7 14 15 16 1 7 18 19 2 0 DQ 6 DQ 5 DQ 4 DQ 3 GND DQ 2 DQ 1 4.3 Pin Description Symbol Pin Name Functions A0~A18 Address Input DQ0~DQ7 Data Input/Output CE Chip Enable To activate the device when CE is low. OE Output Enable To gate the data output buffers. WE Write Enable To control the Write operations. RESET Reset Hardware Reset Pin/Sector Protect Unprotect (for 40-TSOP) RY/ BY VCC GND Ready/Busy To check device operation status(for 40 TSOP) Power Supply Ground To provide power Elite Flash Storage Technology Inc. To provide memory addresses. To output data when Read and receive data when Write. The outputs are in tri-state when OE or CE is high. Publication Date : Aug. 2003 Revision: 0.2 2/46 EFST F49L004UA / F49L004BA preliminary 5. SECTOR STRUCTURE Table 1: F49L004UA Sector Address Table Sector Sector Size (Kbytes) SA10 16 SA9 Address range Sector Address A18 A17 A16 A15 A14 A13 7C000H-7FFFFH 1 1 1 1 1 X 8 7A000H-7BFFFH 1 1 1 1 0 1 SA8 8 78000H-79FFFH 1 1 1 1 0 0 SA7 32 70000H-77FFFH 1 1 1 0 X X SA6 64 60000H-6FFFFH 1 1 0 X X X SA5 64 50000H-5FFFFH 1 0 1 X X X SA4 64 40000H-4FFFFH 1 0 0 X X X SA3 64 30000H-3FFFFH 0 1 1 X X X SA2 64 20000H-2FFFFH 0 1 0 X X X SA1 64 10000H-1FFFFH 0 0 1 X X X SA0 64 00000H-0FFFFH 0 0 0 X X X Table 2: F49L004BA Sector Address Table Sector Sector Size (Kbytes) SA10 64 SA9 Address range Sector Address A18 A17 A16 A15 A14 A13 70000H-7FFFFH 1 1 1 X X X 64 60000H-6FFFFH 1 1 0 X X X SA8 64 50000H-5FFFFH 1 0 1 X X X SA7 64 40000H-4FFFFH 1 0 0 X X X SA6 64 30000H-3FFFFH 0 1 1 X X X SA5 64 20000H-2FFFFH 0 1 0 X X X SA4 64 10000H-1FFFFH 0 0 1 X X X SA3 32 08000H-0FFFFH 0 0 0 1 X X SA2 8 06000H-07FFFH 0 0 0 0 1 1 SA1 8 04000H-05FFFH 0 0 0 0 1 0 SA0 16 00000H-03FFFH 0 0 0 0 0 X Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 3/46 EFST F49L004UA / F49L004BA preliminary 6. FUNCTIONAL BLOCK DIAGRAM CE OE WE RE S E T (for40-TSOP) Y-DECODER ADDRESS LATCH AND BUFFER PROGRAM / ERASE HIGH VOLTAGE X-DECODER A0~A18 CONTROL INPUT LOGIC WRITE STATE MACHING (WSM) STATE REGISTER F49L004U(B)A FLASH ARRAY Y-PASS GATE SENSE AMPLIFIER PGM DATA HV ARRAY SOURCE HV COMMAND DATA DECODER COMMAND DATA LATCH PROGRAM DATA LATCH DQ0~DQ7 Elite Flash Storage Technology Inc. I / O BUFFER Publication Date : Aug. 2003 Revision: 0.2 4/46 EFST F49L004UA / F49L004BA preliminary 7. FUNCTIONAL DESCRIPTION 7.1 Device operation This section describes the requirements and use of the device bus operations, which are initiated through the internal command register. The register is composed of latches that store the command, address and data information needed to execute the command. The contents of the register serve as inputs to machine. The state machine function of the device. F49L004BA features various Table 3. the internal state outputs dictate the The F49L004UA/ bus operations as Table 3. F49L004UA/F49L004BA Operation Modes Selection ADDRESS DESCRIPTION CE OE WE RESET A18 A12 | | A13 A10 A9 A8 | A7 A6 A5 | A2 A1 A0 DQ0~DQ7 Reset(3) X X X L, Vss± 0.3V(4) X High Z Read L L H H AIN Dout Write L H L H AIN DIN Output Disable L H H H X High Z VCC± 0.3V X X VCC± 0.3V X High Z Sector Protect(2) L H L VID SA X X X L X H L DIN Sector Unprotect(2) L H L VID SA X X X H X H L DIN Temporary sector unprotect X X X VID Standby Auto-select AIN DIN See Table 4 Notes: 1. L= Logic Low = VIL, H= Logic High = VIH, X= Don't Care, SA= Sector Address, VID=11.5V to 12.5V. AIN= Address In, DIN = Data In, Dout = Data Out. 2. The sector protect and unprotect functions may also be implemented via programming equipment. 3. RESET pin for 40-TSOP package type only. 4. See “Reset Mode” section. Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 5/46 EFST F49L004UA / F49L004BA preliminary Table 4. F49L004UA/F49L004BA Auto-Select Mode (High Voltage Method) ADDRESS DQ0~DQ7 CE OE WE RESET A18 | A13 A12 | A10 A9 A8 | A4 A3 A2 A1 A0 L L H H X X VID X L H L L 7FH L L H H X X VID X H L L L 7FH L L H H X X VID X H H L L 7FH L L H H X X VID X L L L L 8CH (Device ID: F49L004UA) L L H H X X VID X X X L H B5H (Device ID: F49L004BA) L L H H X X VID X X X L H B6H Sector Protection Verify L L H H SA X VID X X X H X Code(2) DESCRIPTION (Manufacturer ID:EFST) Notes : 1.Manufacturer and device codes may also be accessed via the software command sequence in Table 5. 2. Code=00H means unprotected. Code =01H means protected. Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 6/46 EFST preliminary F49L004UA / F49L004BA Reset Mode : Hardware Reset (for 40-TSOP package) When the RESET pin is driven low for at least a period of tRP, the device immediately terminates any operation in progress, tri-states all output pins, and ignores all read/write commands for the duration of the RESET pulse. The device also resets the internal state machine to reading array data. The operation that was interrupted should be reinitiated later once the device is ready to accept another command sequence, to ensure the data integrity. The current is reduced for the duration of the RESET pulse. When RESET is held at VSS±0.3V, the device draws CMOS standby current (ICC4). If RESET is held at VIL but not within VSS±0.3V, the standby current will be greater. The RESET pin may be tied to system reset circuitry. A system reset would thus reset the Flash memory, enabling the system to read the boot-up firm-ware from the Flash memory. If RESET is asserted during a program or erase embedded algorithm operation, the RY/ BY pin remains a "0" (busy) until the internal reset operation is complete, which requires a time of tREADY (during Embedded Algorithms). The system can thus monitor RY/ BY to determine whether the reset operation is complete. If RESET is asserted when a program or erase operation is not executing , i.e. the RY/ BY is “1”, the reset operation is completed within a time of tREADY (not during Embedded Algorithms). The system can read data after tRH when the RESET pin returns to VIH. Refer to the AC Characteristics tables for Hardware Reset section. Read Mode To read array data from the outputs, the system must drive the CE and OE pins to VIL. CE is the power control and selects the device. OE is the output control and gates array data to the output pins. WE should remain at VIH. The internal state machine is set for reading array data upon device power-up, or after a hardware reset. This ensures that no spurious alteration of the memory content occurs during the power transition. valid addresses on the device address inputs produce valid data on the device data outputs. The device remains enabled for read access until the command register contents are altered. See “Read Command” section for more information. Refer to the AC Read Operations table for timing specifications and to Figure 5 for the timing diagram. ICC1 in the DC Characteristics table represents the active current specification for reading array data. Write Mode To write a command or command sequence (which includes programming data to the device and erasing sectors of memory), the system must drive WE and CE to VIL, and OE to VIH. The “Program Command” section has details on programming data to the device using standard command sequences. An erase operation can erase one sector, multiple sectors, or the entire device. Tables 1 and 2 indicate the address space that each sector occupies. A “sector address” consists of the address bits required to uniquely select a sector. The “Software Command Definitions” section has details on erasing a sector or the entire chip, or suspending/resuming the erase operation. When the system writes the auto-select command sequence, the device enters the auto-select mode. The system can then read auto-select codes from the internal register (which is separate from the memory array) on DQ7–DQ0. Standard read cycle timings apply in this mode. Refer to the Auto-select Mode and Auto-select Command sections for more information. ICC2 in the DC Characteristics table represents the active current specification for the write mode. The “AC Characteristics” section contains timing specification tables and timing diagrams for write operations. Automatic Sleep Mode The automatic sleep mode minimizes Flash device energy consumption. The device automatically enables this mode when addresses remain unchanged for over 250ns ns. The automatic sleep mode is independent of the CE , WE , and OE control signals. Standard address access timings provide new data when addresses are changed. While in sleep mode, output data is latched and always available to the system. ICC4 in the DC Characteristics table represents the automatic sleep mode current specification. No command is necessary in this mode to obtain array data. Standard microprocessor’s read cycles that assert Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 7/46 EFST F49L004UA / F49L004BA preliminary Temporary Sector Unprotect Mode This feature allows temporary unprotection of previously protected sector to change data in-system. This mode is activated by setting the RESET pin to VID(11.5V-12.5V). During this mode, all formerly protected sectors are un- protected and can be programmed or erased by selecting the sector addresses. Once VID is removed from the RESET pin, all the previously protected sectors are protected again. Start RESET = V ID (Note 1) Perform Erase or Program Operations RESET = V I H Temporary Sector Unprotect Completed (Note 2) Notes: 1. All protected sectors unprotected. 2. All previously protected sectors are protected once again. Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 8/46 EFST preliminary Output Disable Mode With the OE is at a logic high level (VIH), outputs from the devices are disabled. This will cause the output pins in a high impedance state Standby Mode When CE and RESET are both held at VCC ± 0.3V, the device enter CMOS Standby mode. If CE and RESET are held at VIH, but not within the range of VCC ± 0.3V, the device will still be in the standby mode, but the standby current will be larger. If the device is deselected during auto algorithm of erasure or programming, the device draws active current ICC2 until the operation is completed. ICC3 in the DC Characteristics table represents the standby current specification. The device requires standard access time (tCE) for read access from either of these standby modes, before it is ready to read data. Sector Protect / Un-protect Mode The hardware sector protect feature disables both program and erase operations in any sector. The hardware sector unprotect feature re-enables both the program and erase operations in previously protected sectors. Sector protect/unprotect can be implemented via two methods. The primary method requires VID on the RESET pin only, and can be implemented either in-system or via programming equipment. F49L004UA / F49L004BA Figure 16 shows the algorithms and Figure 15 shows the timing diagram. This method uses standard microprocessor bus cycle timing. For sector unprotect, all unprotected sectors must first be protected prior to the first sector unprotect write cycle. The alternate method intended only for programming equipment requires VID on address pin A9, OE , and RESET . Auto-select Mode The auto-select mode provides manufacturer and device identification and sector protection verification, through outputs on DQ7–DQ0. This mode is primarily intended for programming equipment to automatically match a device to be programmed with its corresponding programming algorithm. However, the auto-select codes can also be accessed in-system through the command register. When using programming equipment, this mode requires VID (11.5 V to 12.5 V) on address pin A9. While address pins A3, A2, A1, and A0 must be as shown in Table 4. To verify sector protection, all necessary pins have to be set as required in Table 4, the programming equipment may then read the corresponding identifier code on DQ7-DQ0. To access the auto-select codes in-system, the host system can issue the auto-select command via the command register, as shown in Table 5. This method does not require VID. See “ Software Command Definitions” for details on using the auto-select mode. 7.2 Software Command Definitions Writing specific address and data commands or sequences into the command register initiates the device operations. Table 5 defines the valid register command sequences. Writing incorrect address and data values or writing them in the improper sequence resets the device to reading array data. Elite Flash Storage Technology Inc. All addresses are latched on the falling edge of WE or CE , whichever happens later. All data is latched on the rising edge of WE or CE , whichever happens first. Refer to the corresponding timing diagrams in the AC Characteristics section. Publication Date : Aug. 2003 Revision: 0.2 9/46 EFST F49L004UA / F49L004BA preliminary Table 5. F49L004UA/ F49L004BA Software Command Definitions Command Bus Cycles 1st Bus Cycle 2nd Bus Cycle 3rd Bus Cycle 4th Bus Cycle 5th Bus Cycle 6th Bus Cycle Addr Data Addr Data Addr Data Addr Data Addr Data Addr Data Reset (5) 1 XXXH F0H - - - - - - - - - - Read (4) 1 RA RD - - - - - - - - - - Program 4 555H AAH 2AAH 55H 555H A0H PA PD Chip Erase 6 555H AAH 2AAH 55H 555H 80H 555H AAH 2AAH 55H 555H 10H Sector Erase 6 555H AAH 2AAH 55H 555H 80H 555H AAH 2AAH 55H SA 30H Sector Erase Suspend (6) 1 XXXH B0H - - - - - - - - - - Sector Erase Resume (7) 1 XXXH 30H - - - - - - - - - - Auto-select See Table 6. Notes: 1. X = don’t care RA = Address of memory location to be read. RD = Data to be read at location RA. PA = Address of memory location to be programmed. PD = Data to be programmed at location PA. SA = Address of the sector. 2. Except Read command and Auto-select command, all command bus cycles are write operations. 3. Address bits A18–A11 are don’t cares. 4. No command cycles required when reading array data. 5. The Reset command is required to return to reading array data when device is in the auto-select mode, or if DQ5 goes high(while the device is providing status data). 6. The system may read and program in non-erasing sectors, or enter the auto-select mode, when in the Erase Suspend mode. The Erase Suspend command is valid only during a sector erase operation. 7. The Erase Resume command is valid only during the Erase Suspend mode. Table 6. F49L004UA/ F49L004BA Auto-Select Command Command Manufacture ID Device ID, Upper boot Device ID, Bottom boot Sector Protect Verify Bus Cycles 1st Bus Cycle 2nd Bus Cycle 3rd Bus Cycle 4th Bus Cycle 5th Bus Cycle 6th Bus Cycle Addr Data Addr Data Addr Data Addr Data Addr Data Addr Data 4 555H AAH 2AAH 55H 555H 90H X04H 7FH - - - - 4 555H AAH 2AAH 55H 555H 90H X08H 7FH - - - - 4 555H AAH 2AAH 55H 555H 90H X0CH 7FH - - - - 4 555H AAH 2AAH 55H 555H 90H X00H 8CH - - - - 4 555H AAH 2AAH 55H 555H 90H X01H B5H - - - - 4 555H AAH 2AAH 55H 555H 90H X01H B6H - - - - 4 555H AAH 2AAH 55H 555H 90H (SA) x02H 00H 01H - - - - Notes : 1. The fourth cycle of the auto-select command sequence is a read cycle. 2. For Sector Protect Verify operation: If read out data is 01H, it means the sector has been protected. If read out data is 00H, it means the sector is still not being protected. Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 10/46 EFST preliminary F49L004UA / F49L004BA Reset Command Program Command Writing the reset command to the device resets the device to reading array data. Address bits are all don’t cares for this command. The program command sequence programs one byte into the device. Programming is a four-bus-cycle operation. The program command sequence is initiated by writing two unlock write cycles, followed by the program set-up command. The program address and data are written next, which in turn initiate the Embedded Program algorithm. The system is not required to provide further controls or timings. The device automatically provides internally generated program pulses and verifies the programmed cell margin. The reset command may be written between the sequence cycles in an erase command sequence before erasing begins. This resets the device to reading array data. Once erasure begins, however, the device ignores reset commands until the operation is complete. The reset command may be written between the sequence cycles in a program command sequence before programming begins. This resets the device to reading array data (also applies to programming in Erase Suspend mode). Once programming begins, however, the device ignores reset commands until the operation is complete. The reset command may be written between the sequence cycles in an auto-select command sequence. Once in the auto-select mode, the reset command must be written to return to reading array data (also applies to auto-select during Erase Suspend). If DQ5 goes high(see “DQ5: Exceeded Timing Limits” section) during a program or erase operation, writing the reset command returns the device to reading array data (also applies during Erase Suspend). Read Command The device is automatically set to reading array data after device power-up. No commands are required to retrieve data. The device is also ready to read array data after completing an Embedded Program or Embedded Erase algorithm. When the device accepts an Erase Suspend command, the device enters the Erase Suspend mode. The system can read array data using the standard read timings, except that if it reads an address within erasesuspended sectors, the device outputs status data. After completing a programming operation in the Erase Suspend mode, the system may once again read array data with the same exception. See “Erase Suspend/Erase Resume Commands” for more information on this mode. The system must issue the reset command to re-enable the device for reading array data if DQ5 goes high, or while in the auto-select mode. See the “Reset Command” section. See also the “Read Mode” in the “Device Operations” section for more information. Refer to Figure 5 for the timing diagram. Elite Flash Storage Technology Inc. When the Embedded Program algorithm is complete, the device then returns to reading array data and addresses are no longer latched. The system can determine the status of the program operation by using DQ7, DQ6, or RY/ BY . See “Write Operation Status” section for more information on these status bits. Any commands written to the device during the Embedded Program Algorithm are ignored. Note that a hardware reset immediately terminates the programming operation. The Program command sequence should be reinitiated once the device has reset to reading array data, to ensure data integrity. Programming is allowed in any sequence and across sector boundaries. A bit cannot be programmed from a “0” back to a “1”. Attempting to do so may halt the operation and set DQ5 to “1”, or cause the Data Polling algorithm to indicate the operation was successful. However, a succeeding read will show that the data is still “0”. Only erase operations can convert a “0” to a “1”. Chip Erase Command Chip erase is a six-bus cycle operation. The chip erase command sequence is initiated by writing two unlock cycles, followed by a set-up command. Two additional unlock write cycles are then followed by the chip erase command, which in turn invokes the Embedded Erase algorithm. The device does not require the system to preprogram prior to erase. The Embedded Erase algorithm automatically preprograms and verifies the entire memory for an all zero data pattern prior to electrical erase. Any commands written to the chip during the Embedded Erase algorithm are ignored. Note that a hardware reset during the chip erase operation immediately terminates the operation. The Chip Erase command sequence should be reinitiated once the device has returned to reading array data, to ensure the data integrity. Publication Date : Aug. 2003 Revision: 0.2 11/46 EFST preliminary The system can determine the status of the erase operation by using DQ7, DQ6, DQ2, or RY/ BY . See “Write Operation Status” section for more information on these status bits. When the Embedded Erase algorithm is complete, the device returns to reading array data and addresses are no longer latched. See the Erase/Program Operations tables in “AC Characteristics” for parameters. Sector Erase Command Sector erase is a six-bus cycle operation. The sector erase command sequence is initiated by writing two unlock cycles, followed by a set-up command. Two additional unlock write cycles are then followed by the address of the sector to be erased, and the sector erase command. The device does not require the system to preprogram the memory prior to erase. The Embedded Erase algorithm automatically programs and verifies the sector for an all zero data pattern prior to electrical erase. The system is not required to provide any controls or timings during these operations. After the command sequence is written, a sector erase time-out of 50 µs begins. During the time-out period, additional sector addresses and sector erase commands may be written. Loading the sector erase buffer may be done in any sequence, and the number of sectors may be from one sector to all sectors. The time between these additional cycles must be less than 50 µs, otherwise the last address and command might not be accepted, and erasure may begin. It is recommended that processor interrupts be disabled during this time to ensure all commands are accepted. The interrupts can be re-enabled after the last Sector Erase command is written. If the time between additional sector erase commands can be assumed to be less than 50 µs, the system need not monitor DQ3. Any command other than Sector Erase or Erase Suspend during the time-out period resets the device to reading array data. The system must rewrite the command sequence and any additional sector addresses and commands. The system can monitor DQ3 to determine if the sector erase timer has timed out. (See the “DQ3: Sector Erase Timer” section.) The time-out begins from the rising edge of the final WE pulse in the command sequence. Once the sector erase operation has begun, only the Erase Suspend command is valid. All other commands are ignored. Note that a hardware reset during the sector erase operation immediately terminates the Elite Flash Storage Technology Inc. F49L004UA / F49L004BA operation. The Sector Erase command sequence should be reinitiated once the device has returned to reading array data, to ensure the data integrity. When the Embedded Erase algorithm is complete, the device returns to reading array data and addresses are no longer latched. The system can determine the status of the erase operation by using DQ7, DQ6, DQ2, or RY/ BY . (Refer to “Write Operation Status” section for more information on these status bits.) Refer to the Erase/Program Operations tables in the “AC Characteristics” section for parameters. Sector Erase Suspend/Resume Command The Erase Suspend command allows the system to interrupt a sector erase operation and then read data from, or program data to, any sector not selected for erasure (The device “erase suspends” all sectors selected for erasure.). This command is valid only during the sector erase operation, including the 50 µs time-out period during the sector erase command sequence. The Erase Suspend command is ignored if written during the chip erase operation or Embedded Program algorithm. Addresses are “don’t-cares” when writing the Erase Suspend command as shown in Table 5. When the Erase Suspend command is written during a sector erase operation, the device requires a maximum of 20 µs to suspend the erase operation. However, when the Erase Suspend command is written during the sector erase time-out, the device immediately terminates the time-out period and suspends the erase operation. Reading at any address within erase-suspended sectors produces status data on DQ7–DQ0. The system can use DQ7, or DQ6 and DQ2 together, to determine if a sector is actively erasing or is erasesuspended. See “Write Operation Status” section for more information on these status bits. After an erase-suspended program operation is complete, the system can once again read array data within non-suspended sectors. The system can determine the status of the program operation using the DQ7 or DQ6 status bits, just as in the standard program operation. See “Write Operation Status” for more information. The system may also write the auto-select command sequence when the device is in the Erase Suspend mode. The device allows reading auto-select codes even at addresses within erasing sectors, since the codes are not stored in the memory array. When the device exits the auto-select mode, the device reverts to the Erase Suspend mode, and is ready for another valid operation. Publication Date : Aug. 2003 Revision: 0.2 12/46 EFST F49L004UA / F49L004BA preliminary The system must write the Erase Resume command (address bits are “don’t care” as shown in Table 5) to exit the erase suspend mode and continue the sector erase operation. Further writes of the Resume command are ignored. Another Erase Suspend command can be written after the device has resumed erasing. Auto-select Command The auto-select command sequence allows the host system to access the manufacturer and devices codes, and determine whether or not a sector is protected. Table 6 shows the address and data requirements. This method is an alternative to that shown in Table 4, which is intended for PROM programmers and requires VID on address bit A9. The auto-select command sequence is initiated by writing two unlock cycles, followed by the auto-select command. The device then enters the auto-select mode, and the system may read at any address any number of times, without initiating another command sequence. The read cycles at address 04H, 08H, 0CH, and 00H retrieves the EFST manufacturer ID. A read cycle at address 01H retrieves the device ID. A read cycle containing a sector address (SA) and the address 02H returns 01H if that sector is protected, or 00H if it is unprotected. Refer to Tables 1 and 2 for valid sector addresses. The system must write the reset command to exit the auto-select mode and return to reading array data. 7.3 Write Operation Status The device provides several bits to determine the status of a write operation: RY/ BY , DQ7, DQ6, DQ5, DQ3, DQ2, and. Table 7 and the following subsections describe the functions of these bits. RY/ BY , DQ7, and DQ6 each offer a method for determining whether a program or erase operation is complete or in progress. Table 7. Write Operation Status Status Embedded Program Algorithm Embedded Erase Algorithm In Progress Reading Erase Suspended Sector Erase Suspended Mode Reading Non-Erase Suspended Sector Erase Suspend Program Embedded Program Algorithm Exceeded Time Limits Embedded Erase Algorithm Erase Suspend Program DQ7 (Note1) DQ6 DQ7 Toggle 0 0 Toggle 1 DQ5 DQ3 (Note2) DQ2 RY/ BY N/A No Toggle 0 0 1 Toggle 0 No Toggle 0 N/A Toggle 1 Data Data Data Data Data 1 DQ7 Toggle 0 N/A N/A 0 DQ7 Toggle 1 N/A No Toggle 0 0 Toggle 1 1 Toggle 0 DQ7 Toggle 1 N/A N/A 0 Notes: 1. DQ7 and DQ2 require a valid address when reading status information. Refer to the appropriate subsection for further details. 2. DQ5 switches to ‘1’ when an Embedded Program or Embedded Erase operation has exceeded the maximum timing limits. See “DQ5: Exceeded Timing Limits” for more information. Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 13/46 EFST preliminary RY/ BY : Ready/Busy (for 40-pin TSOP package) The RY/ BY is a dedicated, open-drain output pin that 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 VCC. If the output is low (Busy), the device is actively erasing or programming. (This includes programming in the Erase Suspend mode.) If the output is high (Ready), the device is ready to read array data (including during the Erase Suspend mode), or is in the standby mode. Table 7 shows the outputs for RY/ BY . DQ7: Data Polling The DQ7 indicates to the host system whether an Embedded Algorithm is in progress or completed, or whether the device is in Erase Suspend mode. The Data Polling is valid after the rising edge of the final WE pulse in the program or erase command sequence. During the Embedded Program algorithm, the device outputs on DQ7 the complement of the datum programmed to DQ7. This DQ7 status also applies to programming during Erase Suspend. When the Embedded Program algorithm is complete, the device outputs the true data on 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 approximately 1 µs, then the device returns to reading array data. During the Embedded Erase algorithm, Data Polling produces a “0” on DQ7. When the Embedded Erase algorithm is complete, or if the device enters the Erase Suspend mode, Data Polling produces a “1” on DQ7. The system must provide an address within any of the sectors selected for erasure to read valid status information on DQ7. After an erase command sequence is written, if all sectors selected for erasing are protected, Data Polling on DQ7 is active for approximately 100 µs, then the device returns to reading array data. If not all selected sectors are protected, the Embedded Erase algorithm erases the unprotected sectors, and ignores the selected sectors that are protected. When the system detects DQ7 has changed from the complement to true data, it can read valid data at DQ7~ DQ0 on the following read cycles. This is because DQ7 may change asynchronously with DQ0–DQ6 while Elite Flash Storage Technology Inc. F49L004UA / F49L004BA Output Enable ( OE ) is asserted low. Refer to Figure 21, Data Polling Timings (During Embedded Algorithms), Figure 19 shows the Data Polling algorithm. DQ6:Toggle BIT I Toggle Bit I on DQ6 indicates whether an Embedded Program or Erase algorithm is in progress or complete, or whether the device has entered the Erase Suspend mode. 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 (prior to the program or erase operation), and during the sector 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 or CE to control the read cycles. When the operation is complete, DQ6 stops toggling. When an erase command sequence is written, if all sectors selected for erasing are protected, DQ6 toggles for approximately 100 µs, then returns to reading array data. If not all selected sectors are protected, the Embedded Erase algorithm erases the unprotected sectors, and ignores the selected sectors that are protected. The system can use DQ6 and DQ2 together to determine whether a sector is actively erasing or is erase-suspended. When the device is actively erasing (i.e. the Embedded Erase algorithm is in progress), DQ6 toggles. When the device enters the Erase Suspend mode, DQ6 stops toggling. However, the system must also use DQ2 to determine which sectors are erasing or erase-suspended. Alternatively, the system can use DQ7. If a program address falls within a protected sector, DQ6 toggles for approximately 2 µs after the program command sequence is written, then returns to reading array data. DQ6 also toggles during the erase-suspend-program mode, and stops toggling once the Embedded Program algorithm is complete. Table 7 shows the outputs for Toggle Bit I on DQ6. Figure 20 shows the toggle bit algorithm. Figure 22 shows the toggle bit timing diagrams. Figure 25 shows the differences between DQ2 and DQ6 in graphical form. Refer to the subsection on DQ2: Toggle Bit II. DQ2: Toggle Bit II The “Toggle Bit II” on DQ2, when used with DQ6, indicates whether a particular sector is actively erasing (that is, the Embedded Erase algorithm is in progress), or whether that sector is erase-suspended. Toggle Bit II is valid after the rising edge of the final WE or CE , whichever happens first, in the command sequence. Publication Date : Aug. 2003 Revision: 0.2 14/46 EFST preliminary DQ2 toggles when the system reads at addresses within those sectors that have been selected for erasure. (The system may use either OE or CE to control the read cycles.) But DQ2 cannot distinguish whether the sector is actively erasing or is erasesuspended. DQ6, by comparison, indicates whether the device is actively erasing, or whether is in erase-suspended, but cannot distinguish which sectors are selected for erasure. Thus, both status bits are required for sector and mode information. Refer to Table 7 to compare outputs for DQ2 and DQ6. Figure 20 shows the toggle bit algorithm in flowchart form. See also the DQ6: Toggle Bit I subsection. Figure 22 shows the toggle bit timing diagram. Figure 25 shows the differences between DQ2 and DQ6 in graphical form. Reading Toggle Bits DQ6/ DQ2 Refer to Figure 20 for the following discussion. Whenever the system initially begins reading toggle bit status, it must read DQ7–DQ0 at least twice in a row to determine whether a toggle bit is toggling. Typically, the system would note and store the value of the toggle bit after the first read. After the second read, the system would compare the new value of the toggle bit with the first. If the toggle bit is not toggling, the device has completed the program or erase operation. The system can read array data on DQ7–DQ0 on the following read cycle. However, if after the initial two read cycles, the system determines that the toggle bit is still toggling, the system should note whether the value of DQ5 is high (see the section on DQ5). If it is, the system should then determine again whether the toggle bit is toggling, since the toggle bit may have stopped toggling just as DQ5 went high. If the toggle bit is no longer toggling, the device has successfully completed the program or erase operation. If it is still toggling, the device did not completed the operation successfully, and the system must write the reset command to return to reading array data. The remaining scenario is that the system initially determines that the toggle bit is toggling and DQ5 has not gone high. The system may continue to monitor the toggle bit and DQ5 through successive read cycles, determining the status as described earlier. Alternatively, it may choose to perform other system tasks. In this case, the system must start at the beginning of the algorithm when it returns to determine the status of the operation. DQ5: Exceeded Timing Limits DQ5 indicates whether the program or erase time has Elite Flash Storage Technology Inc. F49L004UA / F49L004BA exceeded the specified limits(internal pulse count). Under these conditions DQ5 will produce a "1". This time-out condition indicates that the program or erase cycle was not successfully completed. Data Polling and Toggle Bit are the only operating functions of the device under this condition. If this time-out condition occurs during sector erase operation, it specifies that a particular sector is bad and it may not be reused. However, other sectors are still functional and may be used for the program or erase operation. The device must be reset to use other sectors. Write the Reset command sequence to the device, and then execute program or erase command sequence. This allows the system to continue to use the other active sectors in the device. If this time-out condition occurs during the chip erase operation, it specifies that the entire chip is bad or combination of sectors are bad. If this time-out condition occurs during the programming operation, it specifies that the sector containing that byte is bad and this sector may not be reused, however other sectors are still functional and can be reused. The time-out condition will not appear if a user tries to program a non blank location without erasing. Please note that this is not a device failure condition since the device was incorrectly used. DQ3:Sector Erase Timer After writing a sector erase command sequence, the system may read DQ3 to determine whether or not an erase operation has begun. (The sector erase timer does not apply to the chip erase command.) If additional sectors are selected for erasure, the entire timeout also applies after each additional sector erase command. When the time-out is complete, DQ3 switches from “0” to “1.” If the time between additional sector erase commands from the system can be assumed to be less than 50 µs, the system need not monitor DQ3. When the sector erase command sequence is written, the system should read the status on DQ7 (Data Polling) or DQ6 (Toggle Bit I) to ensure the device has accepted the command sequence, and then read DQ3. If DQ3 is “1”, the internally controlled erase cycle has begun; all further commands (except Erase Suspend) are ignored until the erase operation is complete. If DQ3 is “0”, the device will accept additional sector erase commands. To ensure the command has been accepted, the system software should check the status of DQ3 prior to and following each subsequent sector erase command. If DQ3 is high on the second status check, the last command might not have been accepted. Table 7 shows the outputs for DQ3. Publication Date : Aug. 2003 Revision: 0.2 15/46 EFST preliminary F49L004UA / F49L004BA 7.4 More Device Operations Hardware Data Protection The command sequence requirement of unlock cycles for programming or erasing provides data protection against inadvertent writes. In addition, the following hardware data protection measures prevent accidental erasure or programming, which might otherwise be caused by spurious system level signals during VCC power-up and power-down transitions, or from system noise. Low VCC Write Inhibit Write cycles are inhibited by holding any one of OE = VIL, CE = VIH or WE = VIH. To initiate a write cycle, CE and WE must be a logical zero while OE is a logical one. Power Supply Decoupling In order to reduce power switching effect, each device should have a 0.1uF ceramic capacitor connected between its VCC and GND. When VCC is less than VLKO, the device does not accept any write cycles. This protects data during VCC power-up and power-down. The command register and all internal program/erase circuits are disabled, and the device resets. Subsequent writes are ignored until VCC is greater than Power-Up Sequence The device powers up in the Read Mode. In addition, the memory contents may only be altered after successful completion of the predefined command sequences. VLKO. The system must provide the proper signals to the control pins to prevent unintentional writes when VCC is greater than VLKO. Write Pulse "Glitch" Protection Noise pulses of less than 5 ns (typical) on OE , CE or WE do not initiate a write cycle. Power-Up Write Inhibit If WE = CE = VIL and OE = VIH during power up, the device does not accept commands on the rising edge of WE . The internal state machine is automatically reset to reading array data on power-up. Logical Inhibit Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 16/46 EFST F49L004UA / F49L004BA preliminary 8. ABSOLUTE MAXIMUM RATINGS Storage Temperature Plastic Packages . . . . . . . . . . . . . . –65°C to +150°C Ambient Temperature with Power Applied. . . . . . . .. . . . . . –65°C to +125°C Voltage with Respect to Ground VCC (Note 1) . . . . . . . . . . .–0.5 V to +4.0 V A9, OE , and RESET (Note 2) …. . . .. . . . . –0.5 V to +12.5 V All other pins (Note 1). . . . . . . . . . –0.5 V to VCC +0.5 V Output Short Circuit Current (Note 3) .. . .. 200 mA Notes: 1. Minimum DC voltage on input or I/O pins is –0.5 V. During voltage transitions, input or I/O pins may overshoot VSS to –2.0 V for periods of up to 20 ns. See Figure 1. Maximum DC voltage on input or I/O pins is VCC +0.5 V. During voltage transitions, input or I/O pins may overshoot to VCC +2.0 V for periods up to 20 ns. See Figure 2. 2. Minimum DC input voltage on pins A9, OE , and RESET is -0.5 V. During voltage transitions, A9, OE , and RESET may overshoot VSS to –2.0 V for periods of up to 20 ns. See Figure 1. Maximum DC input voltage on pin A9 is +12.5 V which may overshoot to 14.0 V for periods up to 20 ns. 3. No more than one output may be shorted to ground at a time. Duration of the short circuit should not be greater than one second. Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational sections of this data sheet is not implied. Exposure of the device to absolute maximum rating conditions for extended periods may affect device reliability. Figure 1. Maximum Negative Overshoot Waveform 20 n s 20 n s +0.8V -0.5V -2.0V 20 n s Figure 2. Maximum Positive Overshoot Waveform 20 n s Vc c +2.0V Vc c +0.5V 2.0V 20 n s Elite Flash Storage Technology Inc. 20 n s Publication Date : Aug. 2003 Revision: 0.2 17/46 EFST F49L004UA / F49L004BA preliminary OPERATING RANGES Commercial (C) Devices Ambient Temperature (TA) . . . . . . . . . . . 0°C to +70°C VCC Supply Voltages VCC for all devices . . . . . . . . . . . . . . . . . . . . .2.7 V to 3.6 V Operating ranges define those limits between which the functionality of the device is guaranteed. Table 8. Capacitance TA = 25°C , f = 1.0 MHz Symbol Description Conditions Min. Typ. Max. Unit CIN1 Input Capacitance VIN = 0V 8 pF CIN2 Control Pin Capacitance VIN = 0V 12 pF COUT Output Capacitance VOUT = 0V 12 pF 9. DC CHARACTERISTICS Table 9. DC Characteristics TA = 0C to 70C, VCC = 2.7V to 3.6V Symbol Description Conditions ILI Input Leakage Current ILIT Min. Typ. Max. Unit VIN = VSS or VCC, VCC = VCC max. ±1 uA A9 Input Leakage Current VCC = VCC max; A9=12.5V 35 uA ILO Output Leakage Current VOUT = VSS or VCC, VCC = VCC max ±1 uA ICC1 VCC Active Read Current CE = VIL, OE = VIH ICC2 VCC Active write Current ICC3 @5MHz 7 12 mA @1MHz 2 4 mA CE = VIL, OE = VIH 15 30 mA VCC Standby Current CE ; RESET = VCC ± 0.3V 0.2 5 uA ICC4 VCC Standby Current During Reset RESET = VSS ± 0.3V 0.2 5 uA ICC5 Automatic sleep mode VIH = VCC ± 0.3V; VIL = VSS ± 0.3V 0.2 5 uA VIL Input Low Voltage(Note 1) -0.5 0.8 V VIH Input High Voltage 0.7x VCC VCC + 0.3 V VID Voltage for Auto-Select and Temporary Sector Unprotect VCC =3.3V 11.5 12.5 V VOL Output Low Voltage IOL = 4.0mA, VCC = VCC min 0.45 V VOH1 Output High Voltage(TTL) IOH = -2mA, VCC = VCC min 0.85x VCC VOH2 Output High Voltage IOH = -100uA, VCC min VCC -0.4 VLKO Low VCC Lock-out Voltage 2.5 V 2.3 Notes : 1. VIL min. = -1.0V for pulse width is equal to or less than 50 ns. VIL min. = -2.0V for pulse width is equal to or less than 20 ns. 2. VIH max. = VCC + 1.5V for pulse width is equal to or less than 20 ns If VIH is over the specified maximum value, read operation cannot be guaranteed. 3. Automatic sleep mode enable the low power mode when addresses remain stable for 250 ns Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 18/46 EFST F49L004UA / F49L004BA preliminary 10. AC CHARACTERISTICS TEST CONDITIONS Figure 3. Test Setup 2.7KΩ DEVICE UNDER TEST +3 .3V CL DIO DE S = I N3 06 4 OR E Q U IV AL EN T 6.2KΩ CL = 1 0 0 pF In c ludi n g jig capacit anc e CL = 30 pF f or F 49 L 00 4U( B) A Figure 4. Input Waveforms and Measurement Levels 3.0V 0V 1.5V 1.5V Test Poin t s In p u t Outpu t A C TE S TIN G : In p u t s a r e d ri v e n a t 3 . 0 V f o r a l o g i c " 1 " a n d 0 V f o r a l o g i c " 0 " In p u t p u l s e r i s e a n d f a l l t i m e s a r e < 5 n s . Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 19/46 EFST F49L004UA / F49L004BA preliminary 10.1 Read Operation TA = 0C to 70C, VCC = 2.7V~3.6V Table 10. Read Operations -90 Description tRC Read Cycle Time (Note 1) tACC Address to Output Delay CE = OE = VIL 70 90 ns tCE CE to Output Delay OE = VIL 70 90 ns tOE OE to Output Delay CE = VIL 30 35 ns tDF OE High to Output Float (Note1) CE = VIL 25 30 ns tOEH Conditions -70 Symbol Min. 70 Max. Min. 90 Max. Unit ns Output Enable Read 0 0 ns Hold Time Toggle and Data Polling 10 10 ns 0 0 ns tOH CE = OE = VIL Address to Output hold Notes : 1. Not 100% tested. 2. tDF is defined as the time at which the output achieves the open circuit condition and data is no longer driven. Figure 5. Read Timing Waveform tRC Addresses Stabl e Addr es s tAC C CE tDF tOE OE tOEH WE tCE tOH High-Z Ou t pu t s High-Z Output Vali d RESET RY/BY 0V Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 20/46 EFST F49L004UA / F49L004BA preliminary 10.2 Program/Erase Operation Table 11. WE Controlled Program/Erase Operations(TA = 0C to 70C, VCC = 2.7V~3.6V) Symbol Description -70 Min. -90 Max. Min. Max. Unit tWC Write Cycle Time (Note 1) 70 90 ns tAS Address Setup Time 0 0 ns tAH Address Hold Time 45 45 ns tDS Data Setup Time 35 35 ns tDH Data Hold Time 0 0 ns tOES Output Enable Setup Time 0 0 ns Read Recovery Time Before Write ( OE High to WE low) 0 0 ns tCS CE Setup Time 0 0 ns tCH CE Hold Time 0 0 ns tWP Write Pulse Width 35 35 ns tWPH Write Pulse Width High 30 30 ns tGHWL tWHWH1 Programming Operation (Note 2) (Byte program time) 9(typ.) 9(typ.) us tWHWH2 Sector Erase Operation (Note 2) 0.7(typ.) 0.7(typ.) sec tVCS VCC Setup Time (Note 1) 50 50 us tRB Recovery Time from RY/ BY 0 0 ns tbusy Program/Erase Valid to RY/ BY Delay 90 90 ns Notes : 1. Not 100% tested. 2. See the "Erase and Programming Performance" section for more information. Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 21/46 EFST preliminary F49L004UA / F49L004BA Table 12. CE Controlled Program/Erase Operations(TA = 0C to 70C, VCC = 2.7V~3.6V) -70 -90 Symbol Description tWC Write Cycle Time (Note 1) 70 90 ns tAS Address Setup Time 0 0 ns tAH Address Hold Time 45 45 ns tDS Data Setup Time 35 35 ns tDH Data Hold Time 0 0 ns tOES Output Enable Setup Time 0 0 ns tGHEL Read Recovery Time Before Write 0 0 ns tWS WE Setup Time 0 0 ns tWH WE Hold Time 0 0 ns tCP CE Pulse Width 35 35 ns tCPH CE Pulse Width High 30 30 ns tWHWH1 Programming Operation(note2) 9(typ.) 9(typ.) us tWHWH2 Sector Erase Operation (note2) 0.7(typ.) 0.7(typ.) sec Min. Max. Min. Max. Unit Notes : 1. Not 100% tested. 2. See the "Erase and Programming Performance" section for more information. Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 22/46 EFST F49L004UA / F49L004BA preliminary Figure 6. Write Command Timing Waveform VCC Addr es s 3V VIH ADD Valid VIL tAH tAS VIH WE VIL tOES tWP tWPH tCW C CE VIH VIL tCS OE tCH VIH VIL tDH Dat a VIH VIL Elite Flash Storage Technology Inc. tDH DIN Publication Date : Aug. 2003 Revision: 0.2 23/46 EFST F49L004UA / F49L004BA preliminary Figure 7. Embedded Programming Timing Waveform 555 for prog ramPA f or p rog ram 2AA for erase SA for sector erase 555 for ch ip erase Data P ol li n g PD Addr es s tWC tAS tAH tWH WE tG HEL OE tCP tWHWH1 or 2 CE tWS tCPH tDS tBUSY tDH Dat a DQ7 DOUT tRH A0 f o r p r og r a m P D f o r p r o g r a m 30 f or sect or erase 55 for erase 10 f or ch ip erase RESET RY/BY Notes : 1. PA = Program Address, PD = Program Data, DOUT = Data Out , DQ7 = complement of data written to device 2. Figure indicates the last two bus cycles of the command sequence.. Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 24/46 EFST preliminary F49L004UA / F49L004BA Figure 8. Embedded Programming Algorithm Flowchart Start W rite Data AAH Address 555H W rite Data 55H Address 2AAH W rite Data A0H Address 555H Data Poll from system In c r e m e n t address No Verify W ork OK? Ye s No Last address? Ye s Embedded Program Completed Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 25/46 EFST F49L004UA / F49L004BA preliminary Figure 9. CE Controlled Program Timing Waveform 5 5 5 f o r p r o g r a mP A f o r p r o g r a m 2AA for erase SA for sector erase 555 for ch ip erase Data P ol li n g PD Addr es s tWC tAS tAH tWH WE tG HEL OE tCP tWHWH1 or 2 CE tCPH tWS tB US Y tDS tDH Dat a DQ7 DOUT tRH A0 f o r p r og r a m PD f o r p r o g r a m 30 f or sect or erase 55 for erase 10 f or ch ip erase RESET RY/BY Notes : 1. PA = Program Address, PD = Program Data, DOUT = Data Out , DQ7 = complement of data written to device 2. Figure indicates the last two bus cycles of the command sequence.. Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 26/46 EFST F49L004UA / F49L004BA preliminary Figure 10. Embedded Chip Erase Timing Waveform Read Statu s Dat a Er as e Com m and S equ en ce( last t w o cycl e) tAS tWC 2AAAh Addr es s VA 55 5 h VA tAH CE tCH tGHWL OE tW HW H1 tWP WE tWPH tCS tDS tDH 5 5h Dat a In Progr es s Complete 10 h tBUSY tRB RY/BY tVCS VCC Notes : SA = Sector Address (for Sector Erase, VA = Valid Address for reading status data (see "Write Operation Status") Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 27/46 EFST F49L004UA / F49L004BA preliminary Figure 11. Embedded Chip Erase Algorithm Flowchart Start W rite Data AAH Address 555H W rite Data 55H Address 2AAH W rite Data 80H Address 555H W rite Data AAH Address 555H W rite Data 55H Address 2AAH W rite Data 10H Address 555H Data Poll from System No Data = FFh? Ye s Embedded Chip Erease Completed Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 28/46 EFST F49L004UA / F49L004BA preliminary Figure 12. Embedded Sector Erase Timing Waveform Read Statu s Dat a Er as e Com m and S equ en ce( last t w o cycl e) tAS tWC 2AAA h Addr es s VA SA VA tAH CE tCH tGHWL OE tWHW H1 tWP WE tWPH tCS tDS tDH 55 h Dat a In Progress Complete 3 0h tBUSY tRB RY/ B Y tVCS VCC Notes : SA = Sector Address (for Sector Erase, VA = Valid Address for reading status data (see "Write Operation Status") Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 29/46 EFST F49L004UA / F49L004BA preliminary Figure 13. Embedded Sector Erase Algorithm Flowchart Start W rite Data AAH Address 555H W rite Data 55H Address 2AAH W rite Data 80H Address 555H W rite Data AAH Address 555H W rite Data 55H Address 2AAH W rite Data 30H Address SA Last Sector to Erase No Ye s Data Poll from System No Data = FFh? Embedded Sector Erease Completed Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 30/46 EFST F49L004UA / F49L004BA preliminary Figure 14. Erase Suspend/Erase Resume Flowchart Start W rite Data B0H Tog gle Bi t c h ec kin g Q 6 not toggled No ERASE SUSPEND Ye s Read Array or Program Readi ng or Pr og r am m in g En d No Ye s W rite Data 30H ERASE RESUME Continue Erase An oth er Er ase Suspend? No Ye s Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 31/46 EFST F49L004UA / F49L004BA preliminary Figure 15. In-System Sector Protect/Unprotect Timing Waveform ( RESET Control) RESET SA,A6 A1,A0 Valid* Valid* Sec tor P rotec t Sec tor U npr ot ec t 6 0h Dat a tWP Ver if y 40 h 60 h Valid* St at u s Sector Protect = 150u s Sec t or Un p r ot ect = 15m s CE WE OE Notes : When sector protect, A6=0, A1=1. When sector unprotect, A6=1, A1=1, A0=0. Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 32/46 EFST preliminary F49L004UA / F49L004BA Figure 16. In-System Sector Protect/Unprotect Algorithm ( RESET = VID) Start Start PLSCNT = 1 PLSCNT = 1 Protect all sector : The indicated portion of th e sector protect alg orithm must be pe rformed for all unp rotected sectors prio r to issuing the first sector unp rotect address RESET = V I D W ait 1μ s Temporary Sector Unprotect Mode No RESET = V I D W ait 1μ s First W rite Cyc le = 6 0 h ? First W rite Cyc le = 6 0 h ? Ye s Temporary Sector Unprotect Mode Ye s Set up sector address No Al l s ec t o r s pr otected ? Ye s Sector Protect : W rite 60h to sector address with A6 = 0, A1 = 1, A0 = 0 Set up first sector address W ait 150 μ s Sector Unprotect : W rite 60h to secto r address with A6 = 1, A1 = 1, A0 = 0 Verify Sector Protect : W rite 40h to sector address with A6 = 0, A1 = 1, A0 = 0 In c r e m e n t PL SC NT No Reset PLSCNT = 1 Read from sector address with A6 = 0, A1 = 1, A0 = 0 W ait 15 ms Verify Sector Unprotect : W rite 40h to sector address with A6 = 1, A1 = 1, A0 =0 In c r e m e n t PL SC NT No No PLSCNT = 25? Ye s Dev ice failed Data = 01h? Read from sector address with A6 = 1, A1 = 1, A0 =0 Ye s Protect another s e c to r ? Ye s No Remove V I D from RESET W rite reset command Set up next sector address No PLSCNT = 1000? No Ye s Data = 00h? Ye s Dev ice failed Last sector v erified ? No Ye s Sector Protect Algorithm Sector Protect c o m p le te Sector Unprotect Algorithm Remove V I D from RESET W rite reset command Sector Protect c o m p le te Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 33/46 EFST F49L004UA / F49L004BA preliminary Figure 17. Sector Protect Timing Waveform (A9, OE Control) A0,A1 A6 12 V 3V A9 tVLHT 12 V 3V Ver if y OE tVLHT tWPP1 tVLHT WE tOESP CE 01H Dat a F0H tOE A1 8~ A1 2 Elite Flash Storage Technology Inc. Sec tor Addr es s Publication Date : Aug. 2003 Revision: 0.2 34/46 EFST preliminary F49L004UA / F49L004BA Figure 18. Sector Protection Algorithm (A9, OE Control) Start Set up sector address PLSCNT = 1 OE = V ID , A9 = V I D , CE = V IL A6 = V I L Activ ate W E Pluse Time out 150us Set W E = V IH , CE = OE = V I L A9 should remain V I D Read from Sector Address = SA, A0 = 1, A1 = 1 No No PLSCNT = 32? Data = 01H? Ye s Dev ice Failed Ye s Protect Another Sector? Remov e VID from A9 W rite reset command Sector Protection C o m p l e te Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 35/46 EFST F49L004UA / F49L004BA preliminary WRITE OPERATION STATUS Figure 19. Data Polling Algorithm Start Read Q7~Q0 Add. = VA(1) Ye s Q7 = Data? No No Q5 = 1? Ye s Read Q7~Q0 Add. = VA Ye s Q7 = Data? (2 ) No FAIL Pass Notes : 1. VA =Valid address for programming. 2. Q7 should be re-checked even Q5 = "1" because Q7 may change simultaneously with Q5. Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 36/46 EFST F49L004UA / F49L004BA preliminary Figure 20. Toggle Bit Algorithm Start Read Q7 ~ Q0 Read Q7 ~ Q0 Toggle Bit = Q6 Toggle? (Note 1) No Ye s No Q5 = 1? Ye s Read Q7~Q0 Twice Toggle bit Q6 = Toggle? (Note 1,2) No Ye s Program / Erase operation Not complete, write reset command Program / Erase operation complete Note : 1. Read toggle bit twice to determine whether or not it is toggle. 2. Recheck toggle bit because it may stop toggling as Q5 change to "1". Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 37/46 EFST F49L004UA / F49L004BA preliminary Figure 21. Data Polling Timings (During Embedded Algorithms) tRC Addr es s VA VA tAC C tCE CE tCH tOE OE tOEH tDF WE tOH High-Z DQ7 Complement Complement Tr u e Vai l d Dat a DQ0~DQ6 Statu s Data Statu s Data Tr u e Vai l d Dat a High-Z tB US Y RY/BY Notes : VA = Valid Address. Figure shows first status cycle after command sequence, last status read cycle, and array data read cycle. Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 38/46 EFST F49L004UA / F49L004BA preliminary Figure 22. Toggle Bit Timing Waveforms (During Embedded Algorithms) tRC VA Addr es s VA VA VA tAC C tCE CE tCH tOE OE tOEH tDF WE tOH DQ6/DQ2 High-Z tBUSY Vai ld Status Vaild Status (fi rst re ad ) (sec ond read ) Vai ld Data Vai ld Data (stops tog gling ) RY/BY Notes : VA = Valid Address; not required for DQ6. Figure shows first status cycle after command sequence, last status read cycle, and array data read cycle. Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 39/46 EFST F49L004UA / F49L004BA preliminary 10.3 Hardware Reset Operation Table 13. AC CHARACTERISTICS (for 40-pin TSOP package type) Symbol Description TREADY1 TRP RESET Pin Low (During Embedded Algorithms) to Read or Write (See Note) RESET Pin Low (NOT During Embedded Algorithms) to Read or Write (See Note) RESET Pulse Width (During Embedded Algorithms) TRH RESET High Time Before Read(See Note) TRB RY/ BY Recovery Time(to CE , OE go low) TREADY2 All Speed Options Unit Max 20 us Max 500 ns Min 500 ns Min 50 ns Min 0 ns Notes : Not 100% tested Figure 23. RESET Timing Waveform (for 40-pin TSOP package type) RY/BY CE, O E tRH RESET tRP tRead y2 Reset T i mi ng NO T dur i ng Au tom at i c Al gor i th m s tRead y1 RY/BY tRB CE, O E RESET tRP Reset Tim ing during Automatic Algorithm s Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 40/46 EFST F49L004UA / F49L004BA preliminary 10.4 TEMPORARY SECTOR UNPROTECT Operation Table 14. Temporary Sector Unprotect Symbol Description TVIDR VID Rise and Fall Time (See Note) TRSP RESET Setup Unprotect Time for Temporary Sector All Speed Options Unit Min 500 ns Min 4 us Notes: Not 100% tested Figure 24. Temporary Sector Unprotect Timing Diagram RESET 0 or VCC 0 or VCC tVIDR tVIDR Program or Er ase Comman d Seq uence CE WE tRSP RY/BY Figure 25. Q6 vs Q2 for Erase and Erase Suspend Operations En ter E m bedde d Er as in g Er as e S u s pe n d WE Enter Eras e Suspend Program Er as e Su s pen d Pr ogr am Er as e Resum e Er as e Su s pen d Read Er as e Er as e Com pl et e DQ6 DQ2 Notes : The system can use OE or CE to toggle DQ2 / DQ6, DQ2 toggles only when read at an address within an erase-suspended. Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 41/46 EFST F49L004UA / F49L004BA preliminary Figure 26. Temporary Sector Unprotect Algorithm Start RESET = V ID (Note 1) Program Erase or Program Operation Operation Completed RESET = V I H Temporary Sector Unprotect Completed (Note 2) Notes : 1. All protected status are temporary unprotect. VID = 11.5V~12.5V 2. All previously protected sectors are protected again. Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 42/46 EFST F49L004UA / F49L004BA preliminary Figure 27. ID Code Read Timing Waveform VCC 3V VID VIH ADD A9 ADD A0 VIL VIH VIL tAC C tAC C A1 ADD A2 ~ A8 A1 0~ A1 8 CE VIH VIL VIH VIL VIH VIL VIH WE tCE VIL tOE VIH OE tDF VIL tOH tOH Dat a DQ0~ DQ7 VIH VIL Elite Flash Storage Technology Inc. Data Out Data Out C2H B5H/B6 H Publication Date : Aug. 2003 Revision: 0.2 43/46 EFST F49L004UA / F49L004BA preliminary 11. ERASE AND PROGRAMMING PERFORMANCE Table 15. Erase And Programming Performance (Note.1) Parameter Limits Unit Typ.(2) Max.(3) Sector Erase Time 0.7 15 Chip Erase Time 11 Byte Programming Time 9 300 us Chip Programming Time 4.5 13.5 sec Erase/Program Cycles Min. 100,000 sec sec Cycles Notes: 1.Not 100% Tested, Excludes external system level over head. 2.Typical values measured at 25°C, 3V. 3.Maximum values measured at 25°C, 2.7V. Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 44/46 EFST F49L004UA / F49L004BA preliminary 12. PACKAGE DIMENSION 32-pin PLCC D D1 1 4 c 30 32 29 5 E2 E1 E3 E E2 21 13 14 20 A1 -C- A2 A Seating Plane -C- 0.020" MIN b e b2 D3 D2 Symbol A A1 A2 b b2 c Min 3.18 1.53 0.33 0.66 0.20 0.004 D2 Dimension in mm Norm Max ------3.55 ------2.41 2.79 REF ------0.54 ------0.82 ------0.36 Dimension in inch Norm ------------0.110 REF 0.013 ------0.026 ------0.008 ------- Min 0.125 0.060 1.27 BSC e θ E E1 E2 E3 D D1 D2 D3 O 0O 14.86 13.90 6.05 12.32 11.36 4.78 ------14.99 13.97 ------10.16 BSC 12.45 11.43 ------7.62 BSC Elite Flash Storage Technology Inc. Max 0.140 0.095 0.021 0.032 0.014 0.050 BSC 10O 15.11 14.04 6.93 0O 0.585 0.547 0.238 12.57 11.50 5.66 0.485 0.447 0.188 ------0.590 0.550 ------0.400 BSC 0.490 0.450 ------0.300 BSC 10O 0.595 0.553 0.273 0.495 0.453 0.223 Publication Date : Aug. 2003 Revision: 0.2 45/46 EFST preliminary F49L004UA / F49L004BA Important Notice All rights reserved. No part of this document may be reproduced or duplicated in any form or by any means without the prior permission of EFST. The contents contained in this document are believed to be accurate at the time of publication. EFST assumes no responsibility for any error in this document, and reserves the right to change the products or specification in this document without notice. The information contained herein is presented only as a guide or examples for the application of our products. No responsibility is assumed by EFST for any infringement of patents, copyrights, or other intellectual property rights of third parties which may result from its use. No license, either express , implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of EFST or others. Any semiconductor devices may have inherently a certain rate of failure. To minimize risks associated with customer's application, adequate design and operating safeguards against injury, damage, or loss from such failure, should be provided by the customer when making application designs. EFST 's products are not authorized for use in critical applications such as, but not limited to, life support devices or system, where failure or abnormal operation may directly affect human lives or cause physical injury or property damage. If products described here are to be used for such kinds of application, purchaser must do its own quality assurance testing appropriate to such applications. Elite Flash Storage Technology Inc. Publication Date : Aug. 2003 Revision: 0.2 46/46