EN29LV512 EN29LV512 da0. 512 Kbit (64K x 8-bit ) Uniform Sector, CMOS 3.0 Volt-only Flash Memory FEATURES • High performance program/erase speed - Byte program time: 8µs typical - Sector erase time: 500ms typical • Single power supply operation - Full voltage range: 2.7-3.6 volt read and write operations for battery-powered applications. - Regulated voltage range: 3.0-3.6 volt read and write operations for high performance 3.3 volt microprocessors. • JEDEC Standard program and erase commands • JEDEC standard DATA polling and toggle bits feature • High performance - Full voltage range: access times as fast as 55 ns - Regulated voltage range: access times as fast as 45ns • Low power consumption (typical values at 5 MHz) - 7 mA typical active read current - 15 mA typical program/erase current - 1 µA typical standby current (standard access time to active mode) • - • Single Sector and Chip Erase • Embedded Erase and Program Algorithms • Erase Suspend / Resume modes: Read or program another Sector during Erase Suspend Mode • triple-metal double-poly triple-well CMOS Flash Technology • Low Vcc write inhibit < 2.5V Flexible Sector Architecture: Four 16 Kbyte sectors Supports full chip erase Individual sector erase supported Sector protection and unprotection: Hardware locking of sectors to prevent program or erase operations within individual sectors • >100K program/erase endurance cycle • Package options - 8mm x 20mm 32-pin TSOP (Type 1) - 8mm x 14mm 32-pin TSOP (Type 1) - 32-pin PLCC - • Commercial and industrial Temperature Range GENERAL DESCRIPTION The EN29LV512 is a 512-Kbit, electrically erasable, read/write non-volatile flash memory, organized as 65,536 bytes. Any byte can be programmed typically in 8µs. The EN29LV512 features 3.0V voltage read and write operation, with access times as fast as 45ns to eliminate the need for WAIT states in high-performance microprocessor systems. The EN29LV512 has separate Output Enable ( OE ), Chip Enable ( CE ), and Write Enable (WE) controls, which eliminate bus contention issues. This device is designed to allow either single Sector or full chip erase operation, where each Sector can be individually protected against program/erase operations or temporarily unprotected to erase or program. The device can sustain a minimum of 100K program/erase cycles on each Sector. This Data Sheet may be revised by subsequent versions 1 or modifications due to changes in technical specifications. ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 CONNECTION DIAGRAMS TABLE 1. PIN DESCRIPTION FIGURE 1. LOGIC DIAGRAM Pin Name Function A0-A15 Addresses DQ0-DQ7 8 Data Inputs/Outputs WE# Write Enable CE# Chip Enable OE# Output Enable Vcc Supply Voltage CE# Vss Ground OE# EN29LV512 A0 - A15 WE# This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 2 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 DQ0 – DQ7 EN29LV512 TABLE 2. UNIFORM BLOCK SECTOR ARCHITECTURE Sector ADDRESSES SIZE (Kbytes) A15 A14 3 0C000h – 0FFFFh 16 1 1 2 08000h – 0BFFFh 16 1 0 1 04000h - 07FFFh 16 0 1 0 00000h - 03FFFh 16 0 0 PRODUCT SELECTOR GUIDE Product Number Speed Option EN29LV512 Regulated Voltage Range: Vcc=3.0-3.6 V Full Voltage Range: Vcc=2.7 – 3.6 V -45R -55 -70 -90 Max Access Time, ns (tacc) 45 55 70 90 Max CE# Access, ns (tce) 45 55 70 90 Max OE# Access, ns (toe) 25 30 30 35 This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 3 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 BLOCK DIAGRAM Vcc Vss DQ0-DQ7 Block Protect Switches Erase Voltage Generator Input/Output Buffers State Control WE# Command Register Program Voltage Generator Chip Enable Output Enable Logic CE# OE# Vcc Detector Timer Address Latch STB STB Data Latch Y-Decoder Y-Gating X-Decoder Cell Matrix A0-A15 This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 4 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 TABLE 3. OPERATING MODES 512K FLASH USER MODE TABLE Operation Read Write CMOS Standby TTL Standby Output Disable CE# L L Vcc ± 0.3V H L OE# L H X X H WE# H L X X H Sector Protect2 Sector Unprotect2 L H L L H L A0-A15 AIN AIN X X X Sector address, A6=L, A1=H, A0=L Sector address, A6=H, A1=H, A0=L DQ0-DQ7 DOUT DIN High-Z High-Z High-Z DIN , DOUT DIN , DOUT Notes: 1. L=logic low= VIL, H=Logic High= VIH, VID =11 ± 0.5V, X=Don’t Care (either L or H, but not floating!), DIN=Data In, DOUT=Data Out, AIN=Address In 2. Sector protection/unprotection can be implemented by programming equipment. TABLE 4. DEVICE IDENTIFICTION (Autoselect Codes) 512K FLASH MANUFACTURER/DEVICE ID TABLE CE# OE# WE# A15 to A14 A13 to A10 A9 A8 Manufacturer ID: Eon L L H X X VID Device ID L L H X X VID Description Sector Protection Verification 2 A7 A6 A5 to A2 A1 A0 DQ7 to DQ0 H X L X L L 1Ch X X L X L H 6Fh 1 01h L L H SA X VID X X L X H L (Protected) 00h (Unprotected) Note: 1. A8=H is recommended for manufacture ID check. If a manufacture ID is read with A8=L, the chip will output a configuration code 7Fh. 2. A9 = VID is for HV A9 Autoselect mode only. A9 must be ≤ Vcc (CMOS logic level) for Command Autoselect Mode. This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 5 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 USER MODE DEFINITIONS Standby Mode The EN29LV512 has a CMOS-compatible standby mode, which reduces the current to < 1µA (typical). It is placed in CMOS-compatible standby when the CE pin is at VCC ± 0.3. The device also has a TTL-compatible standby mode, which reduces the maximum VCC current to < 1mA. It is placed in TTL-compatible standby when the CE pin is at VIH. When in standby modes, the outputs are in a high-impedance state independent of the OE input. Read Mode 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. After 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 at an address within erase-suspended 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 additional information. The system must issue the reset command to re-enable the device for reading array data if DQ5 goes high, or while in the autoselect mode. See the “Reset Command” additional details. Output Disable Mode When the CE or OE pin is at a logic high level (VIH), the output from the EN29LV512 is disabled. The output pins are placed in a high impedance state. Auto Select Identification Mode The autoselect mode provides manufacturer and device identification, and sector protection verification, through identifier codes output 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 autoselect codes can also be accessed in-system through the command register. When using programming equipment, the autoselect mode requires VID (11 V) on address pin A9. Address pins A8, A6, A1, and A0 must be as shown in Autoselect Codes table. In addition, when verifying sector protection, the sector address must appear on the appropriate highest order address bits. Refer to the corresponding Sector Address Tables. The Command Definitions table shows the remaining address bits that are don’t-care. When all necessary bits have been set as required, the programming equipment may then read the corresponding identifier code on DQ7–DQ0. To access the autoselect codes in-system; the host system can issue the autoselect command via the command register, as shown in the Command Definitions table. This method does not require VID. See “Command Definitions” for details on using the autoselect mode. Write Mode Write operations, including programming data and erasing sectors of memory, require the host system to write a command or command sequence to the device. Write cycles are initiated by placing the byte or word address on the device’s address inputs while the data to be written is input on DQ[7:0]. The host system must drive the CE# and WE# pins Low and the OE# pin High for a valid write operation to take place. All addresses are latched on the falling edge of WE# and CE#, This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 6 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 whichever happens later. All data is latched on the rising edge of WE# or CE#, whichever happens first. The system is not required to provide further controls or timings. The device automatically provides internally generated program / erase pulses and verifies the programmed /erased cells’ margin. The host system can detect completion of a program or erase operation by reading the DQ[7] (Data# Polling) and DQ[6] (Toggle) status bits. The ‘Command Definitions’ section of this document provides details on the specific device commands implemented in the EN29LV512. Sector Protection/Unprotection The hardware sector protection feature disables both program and erase operations in any sector. The hardware sector unprotection feature re-enables both program and erase operations in previously protected sectors. Sector protection/unprotection is intended only for programming equipment. This method requires VID be applied to both OE# and A9 pin and non-standard microprocessor timings are used. This method is described in a separate document called EN29LV512 Supplement, which can be obtained by contacting a representative of Eon Silicon Solution, Inc. Automatic Sleep Mode The automatic sleep mode minimizes Flash device energy consumption. The device automatically enables this mode when addresses remain stable for tacc + 30ns. 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 is latched and always available to the system. ICC4 in the DC Characteristics table represents the automatic sleep more current specification. This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 7 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 Hardware Data Protection The command sequence requirement of unlock cycles for programming or erasing provides data protection against inadvertent writes as seen in the Command Definitions table. Additionally, the following hardware data protection measures prevent accidental erasure or programming, which might otherwise be caused by false system level signals during Vcc power up and power down transitions, or from system noise. Low VCC Write Inhibit 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 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 W E do not initiate a write cycle. Logical Inhibit Write cycles are inhibited by holding any one of OE = VIL, CE = VIH, or W E = VIH. To initiate a write cycle, CE and W E must be a logical zero while OE is a logical one. If CE , W E , and OE are all logical zero (not recommended usage), it will be considered a read. Power-up Write Inhibit During power-up, the device automatically resets to READ mode and locks out write cycles. Even with CE = VIL, W E = VIL and OE = VIH, the device will not accept commands on the rising edge of WE. This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 8 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 COMMAND DEFINITIONS The operations of the EN29LV512 are selected by one or more commands written into the command register to perform Read/Reset Memory, Read ID, Read Sector Protection, Program, Sector Erase, Chip Erase, Erase Suspend and Erase Resume. Commands are made up of data sequences written at specific addresses via the command register. The sequences for the specified operation are defined in the Command Definitions table (Table 5). Incorrect addresses, incorrect data values or improper sequences will reset the device to Read Mode. Table 5. EN29LV512 Command Definitions Command Sequence Read Reset Cycles Bus Cycles st nd rd 2 th th th 3 4 5 6 Cycle Add Data Cycle Add Data Cycle Add Data Cycle Add Data Cycle Add Data 1 Cycle Add Data 1 1 RA Xxx RD F0 4 555 AA 2AA 55 555 90 100 1C 4 555 AA 2AA 55 555 90 X01 6F 4 555 AA 2AA 55 555 90 (SA) X02 00/ 01 Program 4 555 AA 2AA 55 555 A0 PA PD Unlock Bypass 3 555 AA 2AA 55 555 20 Unlock Bypass Program Unlock Bypass Reset 2 2 XXX XXX A0 90 PA XXX PD 00 Chip Erase 6 555 AA 2AA 55 555 80 555 AA 2AA 55 555 10 Sector Erase 6 555 AA 2AA 55 555 80 555 AA 2AA 55 SA 30 Erase Suspend Erase Resume 1 1 xxx xxx B0 30 Autoselect Manufacturer ID Device ID Sector Protect Verify Address and Data values indicated in hex RA = Read Address: address of the memory location to be read. This is a read cycle. RD = Read Data: data read from location RA during Read operation. This is a read cycle. PA = Program Address: address of the memory location to be programmed. X = Don’t-Care PD = Program Data: data to be programmed at location PA SA = Sector Address: address of the Sector to be erased or verified. Address bits A16-A14 uniquely select any Sector. Reading Array Data The device is automatically set to reading array data after 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. Following an Erase Suspend command, Erase Suspend mode is entered. The system can read array data using the standard read timings, with the only difference in that if it reads at an address within erase suspended 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. This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 9 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 The Reset command must be issued to re-enable the device for reading array data if DQ5 goes high, or while in the autoselect mode. See next section for details on Reset. Autoselect Command Sequence The autoselect command sequence allows the host system to access the manufacturer and devices codes, and determine whether or not a sector is protected. The Command Definitions table shows the address and data requirements. This is an alternative to the method that requires VID on address bit A9 and is intended for PROM programmers. Two unlock cycles followed by the autoselect command initiate the autoselect command sequence. Autoselect mode is then entered and the system may read at addresses shown in Table 4 any number of times, without needing another command sequence. The system must write the reset command to exit the autoselect mode and return to reading array data. Programming Command Programming the EN29LV512 is performed by using a four bus-cycle operation (two unlock write cycles followed by the Program Setup command and Program Data Write cycle). When the program command is executed, no additional CPU controls or timings are necessary. An internal timer terminates the program operation automatically. Address is latched on the falling edge of CE or W E , whichever is last; data is latched on the rising edge of CE or W E , whichever is first. Programming status may be checked by sampling data on DQ7 ( DATA polling) or on DQ6 (toggle bit). ). When the program operation is successfully completed, the device returns to read mode and the user can read the data programmed to the device at that address. Note that data can not be programmed from a 0 to a 1. Only an erase operation can change a data from 0 to 1. When programming time limit is exceeded, DQ5 will produce a logical “1” and a Reset command can return the device to Read mode. Unlock Bypass To speed up programming operation, the Unlock Bypass Command may be used. Once this feature is activated, the shorter two cycle Unlock Bypass Program command can be used instead of the normal four cycle Program Command to program the device. This mode is exited after issuing the Unlock Bypass Reset Command. The device powers up with this feature disabled. 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. The system is not required to provide any controls or timings during these operations. The Command Definitions table shows the address and data requirements for the chip erase command sequence. Any commands written to the chip during the Embedded Chip Erase algorithm are ignored. The system can determine the status of the erase operation by using DQ7, DQ6, or DQ2. See “Write Operation Status” for 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. Flowchart 4 illustrates the algorithm for the erase operation. See the Erase/Program Operations tables in “AC Characteristics” for parameters, and to the Chip/Sector Erase Operation Timings for timing waveforms. This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 10 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 Sector Erase Command Sequence Sector erase is a six bus cycle operation. The sector erase command sequence is initiated by writing two un-lock 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 Command Definitions table shows the address and data requirements for the sector erase command sequence. Once the sector erase operation has begun, only the Erase Suspend command is valid. All other commands are ignored. 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, or DQ2. Refer to “Write Operation Status” for information on these status bits. Flowchart 4 illustrates the algorithm for the erase operation. Refer to the Erase/Program Operations tables in the “AC Characteristics” section for parameters, and to the Sector Erase Operations Timing diagram for timing waveforms. 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. This command is valid only during the sector erase operation. 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. 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. After the erase operation has been suspended, the system can read array data from or program data to any sector not selected for erasure. (The device “erase suspends” all sectors selected for erasure.) Normal read and write timings and command definitions apply. Reading at any address within erasesuspended 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 erase-suspended. See “Write Operation Status” for 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 Autoselect command is not supported during Erase Suspend Mode. The system must write the Erase Resume command (address bits are don’t-care) 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. WRITE OPERATION STATUS DQ7: DATA Polling The EN29LV512 provides DATA Polling on DQ7 to indicate to the host system the status of the embedded operations. The DATA Polling feature is active during the embedded Programming, Sector Erase, Chip Erase, Erase Suspend. (See Table 6) When the embedded Programming is in progress, an attempt to read the device will produce the complement of the data last written to DQ7. Upon the completion of the embedded Programming, This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 11 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 an attempt to read the device will produce the true data last written to DQ7. For the embedded Programming, DATA polling is valid after the rising edge of the fourth WE or C E pulse in the fourcycle sequence. When the embedded Erase is in progress, an attempt to read the device will produce a “0” at the DQ7 output. Upon the completion of the embedded Erase, the device will produce the “1” at the DQ7 output during the read. For Chip Erase, the DATA polling is valid after the rising edge of the sixth W E or CE pulse in the six-cycle sequence. For Sector Erase, DATA polling is valid after the last rising edge of the sector erase W E or C E pulse. DATA Polling must be performed at any address within a sector that is being programmed or erased and not a protected sector. Otherwise, DATA polling may give an inaccurate result if the address used is in a protected sector. Just prior to the completion of the embedded operations, DQ7 may change asynchronously when the output enable ( OE ) is low. This means that the device is driving status information on DQ7 at one instant of time and valid data at the next instant of time. Depending on when the system samples the DQ7 output, it may read the status of valid data. Even if the device has completed the embedded operations and DQ7 has a valid data, the data output on DQ0-DQ6 may be still invalid. The valid data on DQ0-DQ7 will be read on the subsequent read attempts. The flowchart for DATA Polling (DQ7) is shown on Flowchart 5. The DATA Polling (DQ7) timing diagram is shown in Figure 8. DQ6: Toggle Bit I The EN29LV512 provides a “Toggle Bit” on DQ6 to indicate to the host system the status of the embedded programming and erase operations. (See Table 6) During an embedded Program or Erase operation, successive attempts to read data from the device at any address (by toggling OE or CE ) will result in DQ6 toggling between “zero” and “one”. Once the embedded Program or Erase operation is complete, DQ6 will stop toggling and valid data will be read on the next successive attempts. During Byte Programming, the Toggle Bit is valid after the rising edge of the fourth WE pulse in the four-cycle sequence. For Chip Erase, the Toggle Bit is valid after the rising edge of the sixth-cycle sequence. For Sector Erase, the Toggle Bit is valid after the last rising edge of the Sector Erase W E pulse. In Byte Programming, if the sector being written to is protected, DQ6 will toggles for about 2 µs, then stop toggling without the data in the sector having changed. In Sector Erase or Chip Erase, if all selected blocks are protected, DQ6 will toggle for about 100 µs. The chip will then return to the read mode without changing data in all protected blocks. Toggling either CE or OE will cause DQ6 to toggle. The flowchart for the Toggle Bit (DQ6) is shown in Flowchart 6. The Toggle Bit timing diagram is shown in Figure 9. DQ5: Exceeded Timing Limits DQ5 indicates whether the program or erase time has exceeded a specified internal pulse count limit. Under these conditions DQ5 produces a “1.” This is a failure condition that indicates the program or erase cycle was not successfully completed. Since it is possible that DQ5 can become a 1 when the device has successfully completed its operation and has returned to read mode, the user must check again to see if the DQ6 is toggling after detecting a “1” on DQ5. This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 12 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 The DQ5 failure condition may appear if the system tries to program a “1” to a location that is previously programmed to “0.” Only an erase operation can change a “0” back to a “1.” Under this condition, the device halts the operation, and when the operation has exceeded the timing limits, DQ5 produces a “1.” Under both these conditions, the system must issue the reset command to return the device to reading array data. DQ3: Sector Erase Timer After writing a sector erase command sequence, the output on DQ3 can be used to determine whether or not an erase operation has begun. (The sector erase timer does not apply to the chip erase command.) When sector erase starts, DQ3 switches from “0” to “1.” This device does not support multiple sector erase command sequences so it is not very meaningful since it immediately shows as a “1” after the first 30h command. Future devices may support this feature. DQ2: Erase Toggle Bit II The “Toggle Bit” 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 erasesuspended. Toggle Bit II is valid after the rising edge of the final WE# pulse in the command sequence. 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 erase-suspended. DQ6, by comparison, indicates whether the device is actively erasing, or is in Erase Suspend, but cannot distinguish which sectors are selected for erasure. Thus, both status bits are required for sector and mode information. Refer to Table 5 to compare outputs for DQ2 and DQ6. Flowchart 6 shows the toggle bit algorithm, and the section “DQ2: Toggle Bit” explains the algorithm. See also the “DQ6: Toggle Bit I” subsection. Refer to the Toggle Bit Timings figure for the toggle bit timing diagram. The DQ2 vs. DQ6 figure shows the differences between DQ2 and DQ6 in graphical form. Reading Toggle Bits DQ6/DQ2 Refer to Flowchart 6 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, a 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 also 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 complete 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 in the previous paragraph. 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 (top of Flowchart 6). This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 13 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 Write Operation Status Operation Standard Mode Erase Suspend Mode DQ7 DQ6 DQ5 DQ3 DQ2 Embedded Program Algorithm DQ7# Toggle 0 N/A No toggle Embedded Erase Algorithm 0 Toggle 0 1 Toggle 1 No Toggle 0 N/A Toggle Data Data Data Data Data DQ7# Toggle 0 N/A N/A Reading within Erase Suspended Sector Reading within Non-Erase Suspended Sector Erase-Suspend Program This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 14 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 Table 6. Status Register Bits DQ Name Logic Level Definition Erase Complete or erase Sector in Erase suspend Erase On-Going Program Complete or data of non-erase Sector during Erase Suspend ‘1’ ‘0’ 7 6 DATA POLLING TOGGLE BIT DQ7 DQ7 ‘-1-0-1-0-1-0-1-’ DQ6 Program On-Going Erase or Program On-going Read during Erase Suspend Erase Complete ‘-1-1-1-1-1-1-1-‘ 5 ERROR BIT 3 ERASE TIME BIT 2 TOGGLE BIT ‘1’ ‘0’ ‘1’ ‘0’ Program or Erase Error Program or Erase On-going Erase operation start Erase timeout period on-going Chip Erase, Erase or Erase suspend on currently addressed Sector. (When DQ5=1, Erase Error due to currently addressed Sector. Program during Erase Suspend ongoing at current address ‘-1-0-1-0-1-0-1-’ Erase Suspend read on non Erase Suspend Sector DQ2 Notes: DQ7 DATA Polling: indicates the P/E status check during Program or Erase, and on completion before checking bits DQ5 for Program or Erase Success. DQ6 Toggle Bit: remains at constant level when P/E operations are complete or erase suspend is acknowledged. Successive reads output complementary data on DQ6 while programming or Erase operation are on-going. DQ5 Error Bit: set to “1” if failure in programming or erase DQ3 Sector Erase Command Timeout Bit: Operation has started. Only possible command is Erase suspend (ES). DQ2 Toggle Bit: indicates the Erase status and allows identification of the erased Sector. This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 15 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 EMBEDDED ALGORITHMS Flowchart 1. Embedded Program START Write Program Command Sequence (shown below) Data Poll Device Verify Data? Increment Address Last No Address? Yes Programming Done Flowchart 2. Embedded Program Command Sequence 555H/AAH 2AAH/55H 555H/A0H PROGRAM ADDRESS / PROGRAM DATA This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 16 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 Flowchart 3. Embedded Erase START Write Erase Command Sequence Data Poll from System or Toggle Bit successfully completed Data =FFh? No Yes Erase Done This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 17 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 Flowchart 4. Embedded Erase Command Sequence Chip Erase Sector Erase 555H/AAH 555H/AAH 2AAH/55H 2AAH/55H 555H/80H 555H/80H 555H/AAH 555H/AAH 2AAH/55H 2AAH/55H 555H/10H Sector Address/30H This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 18 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 Flowchart 5. DATA Polling Algorithm Start Read Data DQ7 = Data? Yes No No DQ5 = 1? Yes Read Data (1) Notes: (1) This second read is necessary in case the first read was done at the exact instant when the status data was in transition. DQ7 = Data? Yes No Fail Pass Start Flowchart 6. Toggle Bit Algorithm Read Data twice DQ6 = Toggle? No Yes No DQ5 = 1? Yes Read Data twice (2) Notes: (2) This second set of reads is necessary in case the first set of reads was done at the exact instant when the status data was in transition. DQ6 = Toggle? Yes Fail This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. No 19 Pass ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 Table 7. DC Characteristics (Ta = 0°C to 70°C or - 40°C to 85°C; VCC = 2.7-3.6V) Symbol Parameter Test Conditions ILI Input Leakage Current ILO ICC1 ICC2 Max Unit 0V≤ VIN ≤ Vcc ±1 µA Output Leakage Current 0V≤ VOUT ≤ Vcc ±1 µA Supply Current (read) TTL CE# = VIL; OE# = VIH; f = 5MHz 14 mA 7 12 mA CE# = VIH, 0.4 1.0 mA CE# = Vcc ± 0.3V 1 5.0 µA Byte program, Sector or Chip Erase in progress 15 30 mA 1 5.0 µA 0.8 Vcc ± 0.3 0.45 V (read) CMOS Supply Current (Standby - TTL) Supply Current (Standby - CMOS) ICC3 Supply Current (Program or Erase) ICC4 Automatic Sleep Mode VIL Input Low Voltage VIH Input High Voltage VOL Output Low Voltage VOH VIL = Vss ± 0.3 V -0.5 0.7 x Vcc IOL = 4.0 mA IOH = -2.0 mA Output High Voltage CMOS IOH = -100 µA, A9 Voltage (Electronic Signature) IID A9 Current (Electronic Signature) VLKO Supply voltage (Erase and Program lock-out) 0.85 x Vcc Vcc 0.4V 10.5 A9 = VID 2.3 This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 20 Typ 8 VIH = Vcc ± 0.3 V Output High Voltage TTL VID Min V V V 11.5 V 100 µA 2.5 V ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 V EN29LV512 Test Conditions 3.3 V 2.7 kΩ Device Under Test CL 6.2 kΩ Note: Diodes are IN3064 or equivalent Test Specifications Test Conditions -45R -55 Output Load -70 -90 Unit 1 TTL Gate Output Load Capacitance, CL 30 30 100 100 pF Input Rise and Fall times 5 5 5 5 ns Input Pulse Levels Input timing measurement reference levels Output timing measurement reference levels 0.0-3.0 0.0-3.0 0.0-3.0 0.0-3.0 V 1.5 1.5 1.5 1.5 V 1.5 1.5 1.5 1.5 V This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 21 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 Table 8. AC CHARACTERISTICS Read-only Operations Characteristics Parameter Symbols JEDEC Standard Description tAVAV tRC Read Cycle Time tAVQV tACC Address to Output Delay CE = VIL OE = VIL tELQV tCE Chip Enable To Output Delay OE = VIL tGLQV tOE tEHQZ Speed Options Test Setup Min -45R 45 -55 55 -70 70 -90 90 Unit ns Max 45 55 70 90 ns Max 45 55 70 90 ns Output Enable to Output Delay Max 25 30 30 35 ns tDF Chip Enable to Output High Z Max 10 15 20 20 ns tGHQZ tDF Output Enable to Output High Z Max 10 15 20 20 ns tAXQX tOH Output Hold Time from Min 0 0 0 0 ns Notes: For -45R,-55 For -70, -90 Addresses, CE or OE , whichever occurs first Vcc = 3.0V ± 5% Output Load : 1 TTL gate and 30pF Input Rise and Fall Times: 5ns Input Rise Levels: 0.0 V to Vcc Timing Measurement Reference Level, Input and Output: 1.5 V Vcc = 3.0V ± 5% Output Load: 1 TTL gate and 100 pF Input Rise and Fall Times: 5 ns Input Pulse Levels: 0.0 V to Vcc Timing Measurement Reference Level, Input and Output: 1.5 V Figure 5. AC Waveforms for READ Operations This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 22 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 Table 9. AC CHARACTERISTICS Write (Erase/Program) Operations Parameter Symbols Speed Options JEDEC Standard Description tAVAV tWC Write Cycle Time tAVWL tAS tWLAX -45R -55 -70 -90 Unit Min 45 55 70 90 ns Address Setup Time Min 0 0 0 0 ns tAH Address Hold Time Min 35 45 45 45 ns tDVWH tDS Data Setup Time Min 20 25 30 45 ns tWHDX tDH Data Hold Time Min 0 0 0 0 ns tOES Output Enable Setup Time Min 0 0 0 0 ns MIn 0 0 0 0 ns Min 10 10 10 10 ns Min 0 0 0 0 ns tOEH Read Toggle and DATA Polling Read Recovery Time before Output Enable Hold Time tGHWL tGHWL tELWL tCS CE SetupTime Min 0 0 0 0 ns tWHEH tCH CE Hold Time Min 0 0 0 0 ns tWLWH tWP Write Pulse Width Min 25 30 35 45 ns tWHDL tWPH Write Pulse Width High Min 20 20 20 20 ns tWHWH1 tWHWH1 Programming Operation Typ 8 8 8 8 µs Max 300 300 300 300 µs tWHWH2 Write ( OE High to W E Low) tWHWH2 Sector Erase Operation Typ 0.5 0.5 0.5 0.5 s tVCS Vcc Setup Time Min 50 50 50 50 µs tVIDR Rise Time to VID Min 500 500 500 500 ns This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 23 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 Table 10. AC CHARACTERISTICS Write (Erase/Program) Operations Alternate CE Controlled Writes Parameter Symbols JEDEC Standard Speed Options Description -45R -55 -70 -90 Unit tAVAV tWC Write Cycle Time Min 45 55 70 90 ns tAVEL tAS Address Setup Time Min 0 0 0 0 ns tELAX tAH Address Hold Time Min 35 45 45 45 ns tDVEH tDS Data Setup Time Min 20 25 30 45 ns tEHDX tDH Data Hold Time Min 0 0 0 0 ns tOES Output Enable Setup Time Min 0 0 0 0 ns tOEH Output Enable Hold Time Min 0 0 0 0 ns Min 10 10 10 10 ns Min 0 0 0 0 ns Min 0 0 0 0 ns Min 0 0 0 0 ns Min 25 30 35 45 ns Min 20 20 20 20 ns Typ 8 8 8 8 µs Max 300 300 300 300 µs Typ 0.5 0.5 0.5 0.5 s Min 50 50 50 50 µs Min 500 500 500 500 ns Read Toggle and Data Polling Read Recovery Time before Write ( OE High to CE Low) tGHEL tGHEL tWLEL tWS W E SetupTime tEHWH tWH W E Hold Time tELEH tCP Write Pulse Width tEHEL tCPH Write Pulse Width High tWHWH1 tWHWH1 tWHWH2 tWHWH2 tVCS tVIDR Programming Operation Sector Erase Operation Vcc Setup Time Rise Time to VID This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 24 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 Table 11. ERASE AND PROGRAMMING PERFORMANCE Typ Limits Max Unit Sector Erase Time 0.5 10 sec Chip Erase Time 2 40 sec Byte Programming Time 8 300 µs Parameter Comments Excludes 00H programming prior to erasure Excludes system level overhead Chip Programming Time 0.5 Erase/Program Endurance 100K 1.5 sec Minimum 100K cycles cycles Table 12. LATCH UP CHARACTERISTICS Parameter Description Input voltage with respect to Vss on all pins except I/O pins (including A9 and OE ) Min Max -1.0 V 12.0 V Input voltage with respect to Vss on all I/O Pins -1.0 V Vcc + 1.0 V Vcc Current -100 mA 100 mA Note : These are latch up characteristics and the device should never be put under these conditions. Refer to Absolute Maximum ratings for the actual operating limits. Table 13. DATA RETENTION Parameter Description Test Conditions Min Unit 150°C 10 Years 125°C 20 Years Minimum Pattern Data Retention Time This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 25 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 Table 14. TSOP PIN CAPACITANCE @ 25°C, 1.0MHz Parameter Symbol Parameter Description Test Setup Typ Max Unit CIN Input Capacitance VIN = 0 6 7.5 pF COUT Output Capacitance VOUT = 0 8.5 12 pF CIN2 Control Pin Capacitance VIN = 0 7.5 9 pF Table 15. 32-PIN PLCC PIN CAPACITANCE @ 25°C, 1.0MHz Parameter Symbol Parameter Description Test Setup Typ Max Unit CIN Input Capacitance VIN = 0 4 6 pF COUT Output Capacitance VOUT = 0 8 12 pF CIN2 Control Pin Capacitance VIN = 0 8 12 pF This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 26 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 AC CHARACTERISTICS Figure 6. AC Waveforms for Chip/Sector Erase Operations Timings Figure 7. Program Operation Timings This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 27 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 Figure 8. AC Waveforms for /DATA Polling During Embedded Algorithm Operations Figure 9. AC Waveforms for Toggle Bit During Embedded Algorithm Operations This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 28 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 Figure 10. Alternate CE# Controlled Write Operation Timings Figure 11. DQ2 vs. DQ6 Enter Embedded Erase WE# Enter Erase Suspend Program Erase Suspend Erase Enter Suspend Read Erase Resume Enter Suspend Program Erase Suspend Read Erase DQ6 DQ2 This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 29 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 Erase Complete EN29LV512 ABSOLUTE MAXIMUM RATINGS Parameter Value Unit Storage Temperature -65 to +125 °C Plastic Packages -65 to +125 °C -55 to +125 °C 200 mA A9 and OE# 2 -0.5 to +11.5 V All other pins 3 -0.5 to Vcc+0.5 V Vcc -0.5 to +4.0 V Ambient Temperature With Power Applied Output Short Circuit Current1 Voltage with Respect to Ground Notes: 1. No more than one output shorted at a time. Duration of the short circuit should not be greater than one second. 2. Minimum DC input voltage on A9 and OE# pins is –0.5V. During voltage transitions, A9 and OE# pins may undershoot Vss to –1.0V for periods of up to 50ns and to –2.0V for periods of up to 20ns. See figure below. Maximum DC input voltage on A9 and OE# is 11.5V which may overshoot to 12.5V for periods up to 20ns. 3. Minimum DC voltage on input or I/O pins is –0.5 V. During voltage transitions, inputs may undershoot Vss to –1.0V for periods of up to 50ns and to –2.0 V for periods of up to 20ns. See figure below. Maximum DC voltage on output and I/O pins is Vcc + 0.5 V. During voltage transitions, outputs may overshoot to Vcc + 1.5 V for periods up to 20ns. See figure below. 4. Stresses above the values so mentioned above may cause permanent damage to the device. These values are for a stress rating only and do not imply that the device should be operated at conditions up to or above these values. Exposure of the device to the maximum rating values for extended periods of time may adversely affect the device reliability. RECOMMENDED OPERATING RANGES1 Parameter Ambient Operating Temperature Commercial Devices Industrial Devices Unit 0 to 70 -40 to 85 °C Regulated Voltage Range: 3.0-3.6 Operating Supply Voltage Vcc 1. Value Standard Voltage Range: 2.7 to 3.6 V Recommended Operating Ranges define those limits between which the functionality of the device is guaranteed. Vcc +1.5V Maximum Negative Overshoot Waveform Maximum Positive Overshoot Waveform This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 30 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 PHYSICAL DIMENSIONS PL 032 — 32-Pin Plastic Leaded Chip Carrier This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 31 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 PHYSICAL DIMENSIONS (continued) 32L TSOP-1 8mm x 20mm This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 32 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 PHYSICAL DIMENSIONS (continued) 32L TSOP-1 8mm x 14mm This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 33 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 ORDERING INFORMATION EN29LV512 70 T C P PACKAGING CONTENT (Blank) = Conventional P = Pb Free TEMPERATURE RANGE C = Commercial (0°C to +70°C) I = Industrial (-40°C to +85°C) PACKAGE J = 32-pin Plastic PLCC T = 32-pin 8mm x 20mm TSOP-1 S = 32-pin 8mm x 14mm TSOP-1 SPEED 45R = 45ns Regulated range 3.0V~3.6V 55 = 55ns 70 = 70ns 90 = 90ns BASE PART NUMBER EN = Eon Silicon Solution Inc. 29LV = FLASH, 3V Read Program Erase 512 = 512Kbit (64K x 8) uniform sector This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 34 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05 EN29LV512 Revisions List Revision No Description Date A B Initial draft 1. correct the typing error of address input at Page 9 Table 5 Command Definitions change “AAA” to “555” at cycle 1,3,4,6 change “555” to “2AA” at cycle 2,5 12/10/2003 01/05/2004 This Data Sheet may be revised by subsequent versions or modifications due to changes in technical specifications. 35 ©2003 Eon Silicon Solution, Inc., www.essi.com.tw Rev. B, Issue Date: 2004/01/05