TC58128AFT TENTATIVE TOSHIBA MOS DIGITAL INTEGRATED CIRCUIT SILICON GATE CMOS 2 128-MBIT (16M × 8 BITS) CMOS NAND E PROM DESCRIPTION The TC58128A is a single 3.3 V 128-Mbit (138,412,032) bit NAND Electrically Erasable and Programmable Read-Only Memory (NAND E2PROM) organized as 528 bytes × 32 pages × 1024 blocks. The device has a 528-byte static register which allows program and read data to be transferred between the register and the memory cell array in 528-byte increments. The Erase operation is implemented in a single block unit (16 Kbytes + 512 bytes: 528 bytes × 32 pages). The TC58128A is a serial-type memory device which utilizes the I/O pins for both address and data input/output as well as for command inputs. The Erase and Program operations are automatically executed making the device most suitable for applications such as solid-state file storage, voice recording, image file memory for still cameras and other systems which require high-density non-volatile memory data storage. FEATURES • • • Organization Memory cell allay 528 × 32K × 8 Register 528 × 8 Page size 528 bytes Block size (16K + 512) bytes Modes Read, Reset, Auto Page Program Auto Block Erase, Status Read Mode control Serial input/output Command control • • • • • PIN ASSIGNMENT (TOP VIEW) NC NC NC NC NC GND RY / BY RE CE NC NC VCC VSS NC NC CLE ALE WE WP NC NC NC NC NC 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Power supply VCC = 2.7 V to 3.6 V Program/Erase Cycles 1E5 cycle (with ECC) Access time Cell array to register 25 µs max Serial Read Cycle 50 ns min Operating current Read (50 ns cycle) 10 mA typ. Program (avg.) 10 mA typ. Erase (avg.) 10 mA typ. Standby 100 µA Package TSOPI48-P-1220-0.50 (Weight: 0.53 g typ.) PIN NAMES 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 NC NC NC NC I/O8 I/O7 I/O6 I/O5 NC NC NC VCC VSS NC NC NC I/O4 I/O3 I/O2 I/O1 NC NC NC NC I/O1 to I/O8 I/O port CE Chip enable WE Write enable RE Read enable CLE Command latch enable ALE Address latch enable WP Write protect RY/BY Ready/Busy GND Ground input VCC Power supply VSS Ground 000707EBA1 • TOSHIBA is continually working to improve the quality and reliability of its products. Nevertheless, semiconductor devices in general can malfunction or fail due to their inherent electrical sensitivity and vulnerability to physical stress. It is the responsibility of the buyer, when utilizing TOSHIBA products, to comply with the standards of safety in making a safe design for the entire system, and to avoid situations in which a malfunction or failure of such TOSHIBA products could cause loss of human life, bodily injury or damage to property. In developing your designs, please ensure that TOSHIBA products are used within specified operating ranges as set forth in the most recent TOSHIBA products specifications. Also, please keep in mind the precautions and conditions set forth in the “Handling Guide for Semiconductor Devices,” or “TOSHIBA Semiconductor Reliability Handbook” etc.. • The TOSHIBA products listed in this document are intended for usage in general electronics applications (computer, personal equipment, office equipment, measuring equipment, industrial robotics, domestic appliances, etc.). These TOSHIBA products are neither intended nor warranted for usage in equipment that requires extraordinarily high quality and/or reliability or a malfunction or failure of which may cause loss of human life or bodily injury (“Unintended Usage”). Unintended Usage include atomic energy control instruments, airplane or spaceship instruments, transportation instruments, traffic signal instruments, combustion control instruments, medical instruments, all types of safety devices, etc.. Unintended Usage of TOSHIBA products listed in this document shall be made at the customer’s own risk. • The products described in this document are subject to the foreign exchange and foreign trade laws. • The information contained herein is presented only as a guide for the applications of our products. No responsibility is assumed by TOSHIBA CORPORATION for any infringements of intellectual property or other rights of the third parties which may result from its use. No license is granted by implication or otherwise under any intellectual property or other rights of TOSHIBA CORPORATION or others. • The information contained herein is subject to change without notice. 2001-05-30 1/33 TC58128AFT BLOCK DIAGRAM VCC VSS Status register Address register I/O1 to Column buffer Column decoder I/O Control circuit I/O8 Command register Data register Row address buffer decoder CE CLE ALE Logic control Control WE RE WP Row address decoder Sense amp Memory cell array RY/BY RY/BY HV generator ABSOLUTE MAXIMUM RATINGS SYMBOL RATING VALUE UNIT VCC Power Supply Voltage −0.6 to 4.6 V VIN Input Voltage −0.6 to 4.6 V VI/O Input/Output Voltage −0.6 V to VCC + 0.3 V (≤ 4.6 V) V PD Power Dissipation 0.3 W Tsolder Soldering Temperature (10s) 260 °C Tstg Storage Temperature −55 to 150 °C Topr Operating Temperature 0 to 70 °C CAPACITANCE *(Ta = 25°C, f = 1 MHz) SYMB0L PARAMETER CONDITION MIN MAX UNIT CIN Input VIN = 0 V 10 pF COUT Output VOUT = 0 V 10 pF * This parameter is periodically sampled and is not tested for every device. 2001-05-30 2/33 TC58128AFT VALID BLOCKS (1) SYMBOL NVB PARAMETER Number of Valid Blocks MIN TYP. MAX UNIT 1004 1024 Blocks (1) The TC58128A occasionally contains unusable blocks. Refer to Application Note (14) toward the end of this document. RECOMMENDED DC OPERATING CONDITIONS SYMBOL PARAMETER MIN TYP. MAX UNIT VCC Power Supply Voltage 2.7 3.3 3.6 V VIH High Level input Voltage 2.0 VCC + 0.3 V VIL Low Level Input Voltage −0.3* 0.8 V −2 V (pulse width lower than 20 ns) * DC CHARACTERISTICS (Ta = 0° to 70°C, VCC = 2.7 V to 3.6 V) SYMBOL PARAMETER CONDITION MIN TYP. MAX UNIT IIL Input Leakage Current VIN = 0 V to VCC ±10 µA ILO Output Leakage Current VOUT = 0.4 V to VCC ±10 µA ICCO1 Operating Current (Serial Read) CE = VIL, IOUT = 0 mA, tcycle = 50 ns 10 30 mA ICCO3 Operating Current (Command Input) tcycle = 50 ns 10 30 mA ICCO4 Operating Current (Data Input) tcycle = 50 ns 10 30 mA ICCO5 Operating Current (Address Input) tcycle = 50 ns 10 30 mA ICCO7 Programming Current 10 30 mA ICCO8 Erasing Current 10 30 mA ICCS1 Standby Current CE = VIH 1 mA ICCS2 Standby Current CE = VCC − 0.2 V 100 µA VOH High Level Output Voltage IOH = −400 µA 2.4 V VOL Low Level Output Voltage IOL = 2.1 mA 0.4 V IOL ( RY/BY ) Output Current of RY/BY pin VOL = 0.4 V 8 mA 2001-05-30 3/33 TC58128AFT AC CHARACTERISTICS AND RECOMMENDED OPERATING CONDITIONS (Ta = 0° to 70°C, VCC = 2.7 V to 3.6 V) SYMBOL PARAMETER MIN MAX UNIT tCLS CLE Setup Time 0 ns tCLH CLE Hold Time 10 ns tCS CE Setup Time 0 ns tCH CE Hold Time 10 ns tWP Write Pulse Width 25 ns tALS ALE Setup Time 0 ns tALH ALE Hold Time 10 ns tDS Data Setup Time 20 ns tDH Data Hold Time 10 ns tWC Write Cycle Time 50 ns ns tWH WE High Hold Time 15 tWW WP High to WE Low 100 ns tRR Ready to RE Falling Edge 20 ns tRP Read Pulse Width 35 ns tRC Read Cycle Time 50 ns tREA RE Access Time (Serial Data Access) tCEH CE High Time for Last Address in Serial Read Cycle 35 ns 100 ns RE Access Time (ID Read) 35 ns tOH Data Output Hold Time 10 ns tRHZ RE High to Output High Impedance 30 ns tREAID tCHZ CE High to Output High Impedance 20 ns tREH RE High Hold Time 15 ns Output-High-impedance-to- RE Rising Edge 0 ns RE Access Time (Status Read) 35 ns tCSTO CE Access Time (Status Read) 45 ns tRHW RE High to WE Low 0 ns tWHC WE High to CE Low 30 ns tWHR WE High to RE Low 30 ns tAR1 ALE Low to RE Low (ID Read) 100 ns CE Low to RE Low (ID Read) 100 ns 25 µs tIR tRSTO tCR tR Memory Cell Array to Starting Address tWB WE High to Busy 200 ns tAR2 ALE Low to RE Low (Read Cycle) 50 ns tRB RE Last Clock Rising Edge to Busy (in Sequential Read) 200 ns tCRY CE High to Ready (When interrupted by CE in Read Mode) tRST Device Reset Time (Read/Program/Erase) 1+ µs tr ( RY/BY ) NOTES (2) (1) (2) µs 6/10/500 AC TEST CONDITIONS PARAMETER Input level Input pulse rise and fall time Input comparison level Output data comparison level Output load CONDITION 2.4 V, 0.4 V 3 ns 1.5 V, 1.5 V 1.5 V, 1.5 V CL (100 pF) + 1 TTL 2001-05-30 4/33 TC58128AFT Note: (1) CE High to Ready time depends on the pull-up resistor tied to the RY/ BY pin. (Refer to Application Note (9) toward the end of this document.) (2) Sequential Read is terminated when tCEH is greater than or equal to 100 ns. If the RE to CE delay is less than 30 ns, RY/ BY signal stays Ready. tCEH ≥ 100 ns * *: VIH or VIL CE RE 525 526 527 A : 0 to 30 ns → Busy signal is not output. A RY/BY Busy tCRY PROGRAMMING AND ERASING CHARACTERISTICS (Ta = 0° to 70°C, VCC = 2.7 V to 3.6 V) SYMBOL PARAMETER MIN TYP. MAX UNIT µs tPROG Programming Time 200 to 300 1000 N Number of Programming Cycles on Same Page 3 tBERASE Block Erasing Time 2 10 NOTES (1) ms (1): Refer to Application Note (12) toward the end of this document. 2001-05-30 5/33 TC58128AFT TIMING DIAGRAMS Latch Timing Diagram for Command/Address/Data CLE ALE CE RE Setup Time Hold Time WE tDS tDH I/O1 to I/O8 : VIH or VIL Command Input Cycle Timing Diagram CLE tCLS tCS tCLH tCH CE tWP WE tALS tALH ALE tDS tDH I/O1 to I/O8 : VIH or VIL 2001-05-30 6/33 TC58128AFT Address Input Cycle Timing Diagram tCLS CLE tCS tWC tWC CE tWP tWH tWP tWH tWP WE tALS tALH ALE tDS I/O1 to I/O8 tDH A0 to A7 tDS tDH A9 to A16 tDS tDH A17 to A23 : VIH or VIL Data Input Cycle Timing Diagram tCLH CLE tCH CE tALS tWC ALE tWP tWH tWP tWP WE tDS I/O1 to I/O8 tDH DIN0 tDS tDH DIN1 tDS tDH DIN 527 : VIH or VIL 2001-05-30 7/33 TC58128AFT Serial Read Cycle Timing Diagram tRC CE tRP tREH RE tOH tRHZ tREA tRP tREA tRP tOH tRHZ tCHZ tOH tRHZ tREA I/O1 to I/O8 tRR RY/BY Status Read Cycle Timing Diagram tCLS CLE tCLS tCLH tCS CE tWP tCH WE tWHC tCSTO tCHZ tWHR RE tOH tDS I/O1 to I/O8 tDH 70H* tIR tRSTO tRHZ Status output RY/BY * 70H represents the hexadecimal number : VIH or VIL 2001-05-30 8/33 TC58128AFT Read Cycle (1) Timing Diagram CLE tCLS tCLH tCS tCH tCEH CE tWC tCRY WE tALH tALS tALH tAR2 ALE tR tRR tRC tWB RE I/O1 to I/O8 tDS tDH tDS tDH tDS tDH tDS tDH 00H A0 to A7 A9 to A16 A17toA23 tREA DOUT N DOUT N+1 DOUT 527 tRB DOUT N+2 Column address N* RY/BY * Read Operation using 00H Command N: 0 to 255 : VIH or VIL Read Cycle (1) Timing Diagram: When Interrupted by CE CLE tCLS tCLH tCS tCH CE tWC tCHZ WE tALH tALS tALH tAR2 ALE tR tRC tWB RE I/O1 to I/O8 tRR tDS tDH tDS tDH tDS tDH tDS tDH 00H A0 to A7 A9 to A16 A17toA23 tOH tRHZ tREA DOUT N DOUT N+1 DOUT N+2 Column address N* RY/BY * Read Operation using 00H Command N: 0 to 255 : VIH or VIL 2001-05-30 9/33 TC58128AFT Read Cycle (2) Timing Diagram CLE tCLS tCLH tCS tCH CE WE tALH tALS tALH tAR2 ALE tR tRR tRC tWB RE tDS tDH I/O1 to I/O8 tDS tDH 01H tREA A0 to A7 A9 to A16 A17toA23 DOUT DOUT 256 + M 256 + M + 1 Column address N* DOUT 527 RY/BY : VIH or VIL * Read Operation using 01H Command N: 0 to 255 Read Cycle (3) Timing Diagram CLE tCLS tCLH tCS tCH CE WE tALH tALS tALH tAR2 ALE tR tRC tWB RE tDS tDH I/O1 to I/O8 tRR 50H tDS tDH A0 to A7 A9 to A16 A17toA23 Column address N* tREA DOUT DOUT 512 + M 512 + M + 1 DOUT 527 RY/BY * Read Operation using 50H Command N: 0 to15 : VIH or VIL 2001-05-30 10/33 TC58128AFT Sequential Read (1) Timing Diagram CLE CE WE ALE RE I/O1 to I/O8 00H A0 to A7 A9 to A16 A17toA23 Page Column address address M N N N+1 N+2 527 tR 0 1 2 527 2 527 tR RY/BY Page M + 1 access Page M access : VIH or VIL Sequential Read (2) Timing Diagram CLE CE WE ALE RE I/O1 to I/O8 01H A0 to A7 A9 to A16 A17toA23 Page Column address address M N 527 tR 256 + 256 + 256 + N N+1 N+2 0 1 tR RY/BY Page M access Page M + 1 access : VIH or VIL 2001-05-30 11/33 TC58128AFT Sequential Read (3) Timing Diagram CLE CE WE ALE RE I/O1 to I/O8 50H A0 to A7 A9 to A16 A17toA23 Page Column address address M N 527 tR 512 + 512 + 512 + N N+1 N+2 512 513 514 527 tR RY/BY Page M access Page M + 1 access : VIH or VIL 2001-05-30 12/33 TC58128AFT Auto-Program Operation Timing Diagram tCLS CLE tCLS tCLH tCS CE tCS tCH WE tALH tALS tALH tALS tPROG tWB ALE RE tDS tDS tDH I/O1 to I/O8 tDS tDH 80H tDS tDH tDH A0 to A7 A9 to A16 A17toA23 DIN0 DIN1 DIN 527 10H 70H Status output RY/BY : VIH or VIL : Do not input data while data is being output. Auto Block Erase Timing Diagram CLE tCLS tCLH tCLS tCS CE WE tALS tALH tWB tBERASE ALE RE tDS tDH I/O1 to I/O8 60H RY/BY Auto Block Erase Setup command A9 to A16 A17toA23 D0H Erase Start command : VIH or VIL 70H Busy Status output Status Read command : Do not input data while data is being output. 2001-05-30 13/33 TC58128AFT ID Read Operation Timing Diagram CLE tCLS tCS tCH tCLS tCS CE tCH WE tALH tALS tALH tCR tAR1 ALE RE tDS tDH I/O1 to I/O8 90H tREAID tREAID 00 98H 73H Address input Maker code Device code : VIH or VIL 2001-05-30 14/33 TC58128AFT PIN FUNCTIONS The device is a serial access memory which utilizes time-sharing input of address information. The device pin-outs are configured as shown in Figure 1. Command Latch Enable: CLE The CLE input signal is used to control loading of the operation mode command into the internal command register. The command is latched into the command register from the I/O port on the rising edge of the WE signal while CLE is High. Address Latch Enable: ALE The ALE signal is used to control loading of either address information or input data into the internal address/data register. Address information is latched on the rising edge of WE if ALE is High. Input data is latched if ALE is Low. NC NC NC NC NC GND RY/BY RE CE NC NC VCC VSS NC NC CLE ALE WE WP NC NC NC NC NC 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Chip Enable: CE 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 NC NC NC NC I/O8 I/O7 I/O6 I/O5 NC NC NC VCC VSS NC NC NC I/O4 I/O3 I/O2 I/O1 NC NC NC NC Figure 1. Pinout The device goes into a low-power Standby mode when CE goes High during a Read operation. The CE signal is ignored when device is in Busy state ( RY/ BY = L), such as during a Program or Erase operation, and will not enter Standby mode even if the CE input goes High. The CE signal must stay Low during the Read mode Busy state to ensure that memory array data is correctly transferred to the data register. Write Enable: WE The WE signal is used to control the acquisition of data from the I/O port. Read Enable: RE The RE signal controls serial data output. Data is available tREA after the falling edge of RE . The internal column address counter is also incremented (Address = Address + l) on this falling edge. I/O Port: I/O1 to 8 The I/O1 to 8 pins are used as a port for transferring address, command and input/output data to and from the device. Write Protect: WP The WP signal is used to protect the device from accidental programming or erasing. The internal voltage regulator is reset when WP is Low. This signal is usually used for protecting the data during the power-on/off sequence when input signals are invalid. Ready/Busy: RY/BY The RY/ BY output signal is used to indicate the operating condition of the device. The RY/ BY signal is in Busy state ( RY/ BY = L) during the Program, Erase and Read operations and will return to Ready state ( RY/ BY = H) after completion of the operation. The output buffer for this signal is an open drain. 2001-05-30 15/33 TC58128AFT Schematic Cell Layout and Address Assignment The Program operation works on page units while the Erase operation works on block units. I/O1 512 A page consists of 528 bytes in which 512 bytes are used for main memory storage and 16 bytes are for redundancy or for other uses. I/O8 16 1 page = 528 bytes 1 block = 528 bytes × 32 pages = (16K + 512) bytes Capacity = 528 bytes × 32 pages × 1024 blocks 32 pages = 32768 pages = 1 block An address is read in via the I/O port over three consecutive clock cycles, as shown in Table 1. 1024 blocks 8I/O 528 Figure 2. Schematic Cell Layout Table 1. Addressing I/O8 I/O7 I/O6 I/O5 I/O4 I/O3 I/O2 I/O1 First cycle A7 A6 A5 A4 A3 A2 A1 A0 Second cycle A16 A15 A14 A13 A12 A11 A10 A9 *L A23 A22 A21 A20 A19 A18 A17 Third cycle *: A8 is automatically set to Low or High by a 00H command or a 01H command. *: I/O8 must be set to Low in the third cycle. A0~A7: A9~A23: A14~A23: A9~A13: Column address Page address Block address NAND address in block Operation Mode: Logic and Command Tables The operation modes such as Program, Erase, Read and Reset are controlled by the ten different command operations shown in Table 3. Address input, command input and data input/output are controlled by the CLE, ALE, CE , WE , RE and WP signals, as shown in Table 2. Table 2. Logic table RE WP L H * L L H * L H L H * Serial Data Output L L L H During Programming (Busy) * * * * * H During Erasing (Busy) * * * * * H Program, Erase Inhibit * * * * * L CLE ALE CE Command Input H L Data Input L Address Input WE * H: VIH, L: VIL, *: VIH or VIL 2001-05-30 16/33 TC58128AFT Table 3. Command table (HEX) First Cycle Second Cycle Serial Data Input 80 Read Mode (1) 00 Read Mode (2) 01 Read Mode (3) 50 Reset FF Auto Program 10 Auto Block Erase 60 D0 Status Read 70 ID Read 90 Acceptable while Busy HEX data bit assignment (Example) Serial data input: 80H 1 c 0 0 0 0 0 0 0 I/O8 7 6 5 4 3 2 I/O1 c Once the device has been set to Read mode by a 00H, 01H or 50H command, additional Read commands are not needed for sequential page Read operations. Table 4 shows the operation states for Read mode. Table 4. Read mode operation states CLE ALE CE WE RE I/O1~I/O8 Power Output Select L L L H L Data output Active Output Deselect L L L H H High impedance Active Standby L L H H * High impedance Standby H: VIH, L: VIL, *: VIH or VIL 2001-05-30 17/33 TC58128AFT DEVICE OPERATION Read Mode (1) Read mode (1) is set when a 00H command is issued to the Command register. Refer to Figure 3 below for timing details and the block diagram. CLE CE WE ALE RE RY/BY I/O Busy N M 00H Start-address input M 527 Select page N Cell array Figure 3. Read mode (1) operation A data transfer operation from the cell array to the register starts on the rising edge of WE in the third cycle (after the address information has been latched). The device will be in Busy state during this transfer period. The CE signal must stay Low after the third address input and during Busy state. After the transfer period the device returns to Ready state. Serial data can be output synchronously with the RE clock from the start pointer designated in the address input cycle. Read Mode (2) CLE CE WE ALE RE RY/BY I/O Busy N M 01H Start-address input 256 M 527 Select page N Cell array The operation of the device after input of the 01H command is the same as that of Read mode (1). If the start pointer is to be set after column address 256, use Read mode (2). However, for a Sequential Read, output of the next page starts from column address 0. Figure 4. Read mode (2) operation 2001-05-30 18/33 TC58128AFT Read Mode (3) Read mode (3) has the same timing as Read modes (1) and (2) but is used to access information in the extra 16-byte redundancy area of the page. The start pointer is therefore set to a value between byte 512 and byte 527. CLE CE WE ALE RE RY/BY Busy I/O 50H Addresses bits A0~A3 are used to set the start pointer for the redundant memory cells, while A4~A7 are ignored. Once a 50H command has been issued, the pointer moves to the redundant cell locations and only those 16 cells can be addressed, regardless of the value of the A4-to-A7 address. (An 00H command is necessary to move the pointer back to the 0-to-511 main memory cell location.) A0~A3 527 512 Figure 5. Read mode (3) operation Sequential Read (1) (2) (3) This mode allows the sequential reading of pages without additional address input. 00H 01H Address input 50H Data output Data output tR tR tR Busy Busy Busy RY/BY (00H) 0 527 (01H) (50H) 512 527 A A Sequential Read (1) A Sequential Read (2) Sequential Read (3) Sequential Read modes (1) and (2) output the contents of addresses 0~527 as shown above, while Sequential Read mode (3) outputs the contents of the redundant address locations only. When the pointer reaches the last address, the device continues to output the data from this address ** on each RE clock signal. ** Column address 527 on the last page. 2001-05-30 19/33 TC58128AFT Status Read The device automatically implements the execution and verification of the Program and Erase operations. The Status Read function is used to monitor the Ready/Busy status of the device, determine the result (pass/fail) of a Program or Erase operation, and determine whether the device is in Protect mode. The device status is output via the I/O port on the RE clock after a 70H command input. The resulting information is outlined in Table 5. Table 5. Status output table STATUS OUTPUT I/O1 Pass/Fail Pass: 0 Fail: 1 I/O2 Not Used 0 I/O3 Not Used 0 I/O4 Not Used 0 I/O5 Not Used 0 I/O6 Not Used 0 I/O7 Ready/Busy Ready: 1 Busy: 0 I/O8 Write Protect Protect: 0 Not Protected: 1 The Pass/Fail status on I/O1 is only valid when the device is in the Ready state. An application example with multiple devices is shown in Figure 6. CLE ALE WE RE CE1 CE2 CE3 CEN CEN + 1 Device 1 Device 2 Device 3 Device N Device N+1 I/O1 ~I/O8 RY/BY RY/BY Busy CLE ALE WE CE1 CEN RE I/O 70H 70H Status on Device 1 Status on Device N Figure 6. Status Read timing application example System Design Note: If the RY/ BY pin signals from multiple devices are wired together as shown in the diagram, the Status Read function can be used to determine the status of each individual device. 2001-05-30 20/33 TC58128AFT Auto Page Program The device carries out an Automatic Page Program operation when it receives a “10H” Program command after the address and data have been input. The sequence of command, address and data input is shown below. (Refer to the detailed timing chart.) 80 10 70 Data input Address Data input Program command input 0 to 527 command Status Read command RY/BY I/O Pass Fail RY/BY automatically returns to Ready after completion of the operation. Data input Program Reading & verification Selected page Figure 7. Auto Page Program operation The data is transferred (programmed) from the register to the selected page on the rising edge of WE following input of the “10H” command. After programming, the programmed data is transferred back to the register to be automatically verified by the device. If the programming does not succeed, the Program/Verify operation is repeated by the device until success is achieved or until the maximum loop number set in the device is reached. Auto Block Erase The Auto Block Erase operation starts on the rising edge of WE after the Erase Start command “D0H” which follows the Erase Setup command “60H”. This two-cycle process for Erase operations acts as an ertra layer of protection from aceidental erasure of data due to external noise. The device automatically executes the Erase and Verify operations. 60 D0 70 Block Address Erase Start input: 2 cycles command RY/BY Status Read command I/O Pass Fail Busy 2001-05-30 21/33 TC58128AFT Reset The Reset mode stops all operations. For example, in the case of a Program or Erase operation the internally generated voltage is discharged to 0 volts and the device enters Wait state. The response to an “FFH” Reset command input during the various device operations is as follows: When a Reset (FFH) command is input during programming Figure 8. 80 10 FF 00 Internal VPP RY/BY tRST (max 10 µs) When a Reset (FFH) command is input during erasing Figure 9. D0 FF 00 Internal erase voltage RY/BY tRST (max 500 µs) When a Reset (FFH) command is input during Read operation Figure 10. 00 FF 00 RY/BY tRST (max 6 µs) When a Status Read command (70H) is input after a Reset Figure 11. FF 70 I/O status: Pass/Fail → Pass Ready/Busy → Ready RY/BY FF 70 I/O status: Ready/Busy → Busy RY/BY When two or more Reset commands are input in succession Figure 12. (1) (2) (3) FF FF FF RY/BY The second FF command is invalid, but the third FF command is valid. 2001-05-30 22/33 TC58128AFT ID Read The TC58128A contains ID codes which identify the device type and the manufacturer. The ID codes can be read out under the following timing conditions: CLE tCR CE WE tAR1 ALE RE tREAID I/O 90H ID Read command 00 98H 73H Address 00 Maker code Device code For the specifications of the access times tREAID, tCR and tAR1 refer to the AC Characteristics. Figure 13. ID Read timing Table 6. ID Codes read out by ID read command 90H I/O8 I/O7 I/O6 I/O5 I/O4 I/O3 I/O2 I/O1 Hex Data Maker code 1 0 0 1 1 0 0 0 98H Device code 0 1 1 1 0 0 1 1 73H 2001-05-30 23/33 TC58128AFT APPLICATION NOTES AND COMMENTS (1) Power-on/off sequence: The WP signal is useful for protecting against data corruption at power-on/off. The following timing sequence is necessary. The WP signal may be negated any time after the VCC reaches 2.5 V and CE signal is kept high in power up sequence. 2.7 V 2.5 V 0V VCC Don’t care Don’t care CE , WE , RE CLE, ALE WP VIH VIL VIL Operation Figure 15. Power-on/off Sequence In order to operate this device stably, after VCC becomes 2.5 V, it recommends starting access after about 200 µs. (2) Status after power-on The following sequence is necessary because some input signals may not be stable at power-on. Power on FF Reset Figure 16. (3) Prohibition of unspecified commands The operation commands are listed in Table 3. Input of a command other than those specified in Table 3 is prohibited. Stored data may be corrupted if an unknown command is entered during the command cycle. (4) Restriction of command while Busy state During Busy state, do not input any command except 70H and FFH. (5) Acceptable commands after Serial Input command “80H” Once the Serial Input command “80H” has been input, do not input any command other than the Program Execution command “10H” or the Reset command “FFH”. If a command other than “10H” or “FFH” is input, the Program operation is not performed. 80 XX 10 For this operation the “FFH” command is needed. Command other than “10H” or “FFH” Programming cannot be executed. 2001-05-30 24/33 TC58128AFT (6) Addressing for program operation Within a block, the pages must be programmed consecutively from the LSB (least significant bit) page of the block to MSB (most significant bit) page of the block. Random page address programming is prohibited. From the LSB page to MSB page DATA IN: Data (1) Ex.) Random page program (Prohibition) Data (32) DATA IN: Data (1) Data register Data (32) Data register Page 0 Page 1 Page 2 (1) (2) (3) Page 0 Page 1 Page 2 (2) (16) (3) Page 15 (16) Page 15 (1) Page 31 (32) Page 31 (32) Figure 17. page programming within a block (7) Status Read during a Read operation 00 command 00 70 [A] CE WE RY/BY RE Status Read command input Address N Status Read Status output Figure 18. The device status can be read out by inputting the Status Read command “70H” in Read mode. Once the device has been set to Status Read mode by a “70H” command, the device will not return to Read mode. Therefore, a Status Read during a Read operation is prohibited. However, when the Read command “00H” is input during [A], Status mode is reset and the device returns to Read mode. In this case, data output starts automatically from address N and address input is unnecessary 2001-05-30 25/33 TC58128AFT (8) Pointer control for “00H”, “01H” and “50H” The device has three Read modes which set the destination of the pointer. Table 7 shows the destination of the pointer, and Figure 14 is a block diagram of their operations. Table 8. Pointer Destination 0 Read Mode Command Pointer (1) 00H 0 to 255 (2) 01H 256 to 511 (3) 50H 512 to 527 511 512 527 255 256 A B (1) 00H (2) 01H (3) 50H C Pointer control Figure 19. Pointer control The pointer is set to region A by the “00H” command, to region B by the “01H” command, and to region C by the “50H” command. (Example) The “00H” command must be input to set the pointer back to region A when the pointer is pointing to region C. 00H 50H Add Start point A area Add Start point A area Add Start point C area Add Start point C area Add Start point B area Add Start point A area 50H Add Start point C area Add Start point A area 00H 01H To program region C only, set the start point to region C using the 50H command. 50H 01H 80H 10H Add DIN Start point C Area Add DIN Start point B Area 80H Programming region C only 10H Programming region B and C Figure 20. Example of How to Set the Pointer 2001-05-30 26/33 TC58128AFT (9) RY/ BY : termination for the Ready/Busy pin ( RY/ BY ) A pull-up resistor needs to be used for termination because the RY/ BY buffer consists of an open drain circuit. VCC VCC Ready 3.0 V R Device VCC 3.0 V 1.0 V RY/BY CL Busy 1.0 V tr tf VSS 1.5 µs Figure 21. tr This data may vary from device to device. We recommend that you use this data as a reference when selecting a resistor value. tf 1.0 µs 15 ns 10 ns tf tr 0.5 µs 0 VCC = 3.3 V Ta = 25°C CL = 100 pF 5 ns 1 KΩ 2 KΩ 3 KΩ 4 KΩ R 2001-05-30 27/33 TC58128AFT (10) Note regarding the WP signal The Erase and Program operations are automatically reset when WP goes Low. The operations are enabled and disabled as follows: Enable Programming WE DIN 80 10 WP RY/BY tWW (100 ns min) Disable Programming WE DIN 80 10 WP RY/BY tWW (100 ns min) Enable Erasing WE DIN 60 D0 WP RY/BY tWW (100 ns min) Disable Erasing WE DIN 60 D0 WP RY/BY tWW (100 ns min) 2001-05-30 28/33 TC58128AFT (11) When four address cycles are input Although the device may read in a fourth address, it is ignored inside the chip. Read operation CLE CE WE ALE I/O 00H, 01H, 50H Address input Ignored RY/BY Internal read operation starts when WE goes High in the third cycle. Figure 22. Program operation CLE CE WE ALE I/O 80H Address input Data input Ignored Figure 23. 2001-05-30 29/33 TC58128AFT (12) Several programming cycles on the same page (Partial Page Program) A page can be divided into up to 3 segments. Each segment can be programmed individually as follows: 1st programming Data Pattern 1 2nd programming All 1s All 1s Data Pattern 2 All 1s nth programming Result All 1s Data Pattern 1 Data Pattern 3 Data Pattern 2 Data Pattern 3 Figure 24. Note: The input data for unprogrammed or previously programmed page segments must be “1” (i.e. the inputs for all page bytes outside the segment which is to be programmed should be set to all “1”). (13) Note regarding the RE signal RE The internal column address counter is incremented synchronously with the RE clock in Read mode. Therefore, once the device has been set to Read mode by a “00H”, “01H” or “50H” command, the internal column address counter is incremented by the RE clock independently of the address input timing, If the RE clock input pulses start before the address input, and the pointer reaches the last column address, an internal read operation (array to register) will occur and the device will enter Busy state. (Refer to Figure 25.) Address input I/O 00H/01H/50H WE RE RY/BY Figure 25. Hence the RE clock input must start after the address input. 2001-05-30 30/33 TC58128AFT (14) Invalid blocks (bad blocks) The device contains unusable blocks. Therefore, at the time of use, please check whether a block is bad and do not use these bad blocks. Bad Block Bad Block Figure 26. At the time of shipment, all data bytes in a Valid Block are FFH. For Bad Block, all bytes are not in the FFH state. Please don’t perform erase operation to Bad Block. Check if the device has any bad blocks after installation into the system. Figure 27 shows the test flow for bad block detection. Bad blocks which are detected by the test flow must be managed as unusable blocks by the system. A bad block does not affect the performance of good blocks because it is isolated from the Bit line by the Select gate The number of valid blocks at the time of shipment is as follows: Valid (Good) Block Number MIN TYP. MAX UNIT 1004 1024 Block Bad Block Test Flow Read Check: to verify all pages in the block with FF (Hex) Start Block No = 1 Fail Read Check Pass Block No. = Block No. + 1 Bad Block *1 No Block No. = 1024 Yes End *1: No erase operation is allowed to detected bad blocks Figure 27 2001-05-30 31/33 TC58128AFT (15) Failure phenomena for Program and Erase operations The device may fail during a Program or Erase operation. The following possible failure modes should be considered when implementing a highly reliable system. FAILURE MODE DETECTION AND COUNTERMEASURE SEQUENCE Block Erase Failure Status Read after Erase → Block Replacement Page Programming Failure Status Read after Program → Block Replacement Programming Failure 1→0 (1) Block Verify after Program → Retry Single Bit • ECC: Error Correction Code • Block Replacement (2) ECC Program Error occurs Buffer memory Block A When an error happens in Block A, try to reprogram the data into another Block (Block B) by loading from an external buffer. Then, prevent further system accesses to Block A (by creating a bad block table or by using an another appropriate scheme). Block B Figure 28. Erase When an error occurs in an Erase operation, prevent future accesses to this bad block (again by creating a table within the system or by using another appropriate scheme). 2001-05-30 32/33 TC58128AFT Package Dimensions Weight: 0.53 g (typ.) 2001-05-30 33/33