K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM Document Title 64MB & 128MB SmartMediaTM Card Revision History Revision No History Draft Date Remark 0.0 Initial issue Mar. 30th 2001 Preliminary 0.1 1. Changed DC characteristics Apr. 7th 2001 Min Typ Max Sequential Read - 10 20->30 Program - 10 20->30 Erase - 10 20->30 Symbol Min Max Unit tAR1 100->10 - ns Parameter Operating Current Unit mA 2. Added tDBSY parameter 3. Removed Copy-Back program command 4. Changed AC characteristics Parameter ALE to RE Delay ( ID read ) 1.Powerup sequence is added Recovery time of minimum 1µs is required before internal circuit gets ready for any command sequences ≈ 0.2 ~ 2.5V Sep. 7th 2001 ~ 2.5V High ≈ VCC WP 1µs WE 2. AC parameter tCLR(CLE to RE Delay, min 50ns) is added. 3. Changed AC characteristics (Before) Parameter Symbol Min Max ALE to RE Delay (ID read) tAR1 100 - ALE to RE Delay (Read tAR2 100 - RE Low to Status Output tRSTO - 35 CE Low to Status Output tCSTO - 45 RE access time(Read ID) tREADID - 35 Unit ns Note : For more detailed features and specifications including FAQ, please refer to Samsung’s Flash web site. http://www.samsung.com/Products/Semiconductor/Flash/TechnicalInfo/datasheets. The attached data sheets are prepared and approved by SAMSUNG Electronics. SAMSUNG Electronics CO., LTD. reserve the right to change the specifications. SAMSUNG Electronics will evaluate and reply to your requests and questions about device. If you have any questions, please contact the SAMSUNG branch office near your office. 1 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM Revision History Revision No History Draft Date Remark - AC characteristics (After) Sep. 7th 2001 Final . Deleted tRSTO, tCSTO and tREADID / Added tCLR, tCEA Symbol Min Max ALE to RE Delay (ID read) tAR1 50 - ALE to RE Delay (Read cycle) tAR2 50 - CLE to RE Delay tCLR 10 CE Access Time tCEA - Parameter Unit ns 45 CLE tCR CE WE tAR ALE RE tREA I/O0~7 90h 00h ECh Maker code Address. 1cycle CLE tCEA CE WE tAR ALE RE tWHR tREA I/O0~7 90h 00h ECh Maker code Address. 1cycle Note : For more detailed features and specifications including FAQ, please refer to Samsung Flash web site. http://www.samsung.com/Products/Semiconductor/Flash/TechnicalInfo/datasheets.htm The attached data sheets are prepared and approved by SAMSUNG Electronics. SAMSUNG Electronics CO., LTD. reserve the right to change the specifications. SAMSUNG Electronics will evaluate and reply to your requests and questions about device. If you have any questions, please contact the SAMSUNG branch office near your office. 2 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM Revision History Revision No History Draft Date Remark Feb. 9th 2002 Final tCLS CLE tCLS tCLH tCS CE tWP tCH WE tCSTO tCHZ tWHR RE tDS I/O0~7 tDH tRSTO tIR tRHZ Status Output 70h tCLS CLE tCLS tCLH tCS CE tWP tCH WE tCEA tCHZ tWHR RE tDH tDS I/O0~7 0.3 tREA tIR tRHZ Status Output 70h 1. Eliminated the duplicated AC parameter. - AC characteristics (Before) . Replaced tAR1,tAR2 with tAR Parameter ALE to RE Delay (ID read) Symbol Min Max tAR1 50 - ALE to RE Delay (Read cycle) tAR2 50 CLE to RE Delay tCLR 10 CE Access Time tCEA - 45 Symbol Min Max tAR 10 - CLE to RE Delay tCLR 10 CE Access Time tCEA - Unit ns - AC characteristics (After) Parameter ALE to RE Delay Unit ns 45 The attached data sheets are prepared and approved by SAMSUNG Electronics. SAMSUNG Electronics CO., LTD. reserve the right to change the specifications. SAMSUNG Electronics will evaluate and reply to your requests and questions about device. If you have any questions, please contact the SAMSUNG branch office near your office. 3 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM 64MB & 128MB SmartMediaTM Card FEATURES GENERAL DESCRIPTION •Single 2.7V~3.6V Supply •Organization - Memory Cell Array : - K9S1208V0X: (64M + 2,048K)bit x 8bit - K9D1G08V0X: (128M + 4,096K)bit x 8bit - Data Register : (512 + 16)bit x8bit •Automatic Program and Erase - Page Program : (512 + 16)Byte * Multi Page Program : 2K Bytes - Block Erase : (16K + 512)Byte •528-Byte Page Read Operation - Random Access : 12µs(Max.) - Serial Page Access : 50ns(Min.) •Fast Write Cycle Time - Program Time : 200µs(Typ.) - Block Erase Time : 2ms(Typ.) •Command/Address/Data Multiplexed I/O Port •Hardware Data Protection - Program/Erase Lockout During Power Transitions •Reliable CMOS Floating-Gate Technology - Endurance : 100K Program/Erase Cycles - Data Retention : 10 Years •Command Register Operation Using Nand flash memory, SmartMedia provides the most costeffective solution for the solid state mass storage market. A program operation is implemented by the single page of 528 bytes in typical 200µs and an erase operation is done by the single block of 16K bytes in typical 2ms. Data in the page can be read out at 50ns cycle time per byte. The I/O pins serve as the ports for address and data input/output as well as command inputs. The on-chip write controller automates all program and erase functions including pulse repetition, where required, and internal verification and margining of data. Even the write-intensive systems can take advantage of the K9D1G08V0X, K9S1208V0X′s extended reliability of 100K program/erase cycles by providing ECC(Error Correcting Code) with real time mapping-out algorithm. SmartMedia is an optimum solution for large nonvolatile storage applications such as solid state file storage, digital voice recorder, digital still camera and other portable applications requiring non-volatility. •22pad SmartMedia TM(SSFDC) •Unique ID for Copyright Protection SmartMediaTM CARD(SSFDC) PIN DESCRIPTION Pin Name I/O0 ~ I/O7 12 22 Pin Function Data Input/Outputs 1 VSS CLE Command Latch Enable 21 CE 2 CLE ALE Address Latch Enable 20 RE 3 ALE 19 R/B 4 WE 22 VCC CE Chip Enable Read Enable 18 GND 5 WP RE 17 LVD 6 I/O0 WE Write Enable 7 I/O1 WP Write Protect 8 I/O2 14 I/O5 9 I/O3 13 I/O4 10 VSS 12 VCC 11 VSS 16 I/O7 15 I/O6 11 1 ID 128MB 22 PAD SmartMediaTM LVD Low Voltage Detect GND Ground R/B Ready/Busy output VCC Power VSS Ground N.C No Connection NOTE : Connect all VCC and VSS pins of each device to common power supply outputs and do not leave VCC or VSS disconnected. The pin 17(LVD) is used to detect 5V or 3.3V product electrically. Please, refer to the SmartMedia Application note for detail. 4 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM Figure 1. FUNCTIONAL BLOCK DIAGRAM A25: K9S1208V0X A26: K9D1G08V0X VCC VSS A9 - A26 A0 - A 7 K9S1208V0X : 512M + 16M Bit K9D1G08V0X : 1,024M + 32M Bit X-Buffers Latches & Decoders NAND Flash ARRAY Y-Buffers Latches & Decoders K9S1208V0X : (512+16)Byte x 131,072 K9D1G08V0X : (512+16)Byte x 262,144 Page Register & S/A A8 Y-Gating Command Command Register CE RE WE VCC VSS I/O Buffers & Latches Control Logic & High Voltage Generator Global Buffers CLE ALE WP 5 Output Driver I/0 0 I/0 7 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM Figure 2. ARRAY ORGANIZATION Pages K9D1G08V0X : 256K Pages(=8,192 Blocks) K9S1208V0X : 128K Pages(=4,096 Blocks) 1st half Page Register 2nd half Page Register (=256 Bytes) (=256 Bytes) 8 bit 512B Byte 16 Byte I/O 0 ~ I/O 7 Page Register 512 Byte 16 Byte ARRAY ORGANIZATION 1 Page 1 Block 1 Device K9D1G08V0X 528 Byte 528 Byte x 32 Pages 528Byte x 32Pages x 8,192 Blocks K9S1208V0X 528 Byte 528 Byte x 32 Pages 528Byte x 32Pages x 4,096 Blocks NOTE : Column Address : Starting Address of the Register. I/O 0 I/O 1 I/O 2 I/O 3 I/O 4 I/O 5 I/O 6 I/O 7 1st Cycle A0 A1 A2 A3 A4 A5 A6 A7 2nd Cycle A9 A10 A11 A12 A13 A14 A15 A16 3rd Cycle A17 A18 A19 A20 A21 A22 A23 A24 4th Cycle A25 A26 *L *L *L *L *L *L 00h Command (Read) : Defines the starting address of the 1st half of the register. 01h Command (Read) : Defines the starting address of the 2nd half of the register. A25: K9S1208V0X should be designated up to A25, address A26 must be set to "Low". A26: K9D1G08V0X should be designated up to A26. * A8 is set to "Low" or "High" by the 00h or 01h Command. * "L" must be set to "Low". * The device ignores any additional input of address cycles than required. 6 Column Address Row Address (Page Address) K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM Product Introduction The SmartMeida has the memory organization as following Table1. Spare sixteen columns are located from column address of 512 to 527. A 528-byte data register is connected to memory cell arrays and is accommodating data-transfer between the I/O buffers and memory cell arrays during page read and page program operations. The memory array is made up of 16 cells that are serially connected to form a NAND structure. Each of the 16 cells resides in a different page. A block consists of the 32 pages formed by two 16 cell memory array. The array organization is shown in Figure 2. The program and the read operations are executed on a page basis, while the erase operation is executed on a block basis. The SmartMedia has addresses multiplexed into 8 I/O's. This scheme dramatically reduces pin counts and allows system upgrade to future densities by maintaining consistency in system board design. Command, address and data are all written through I/O's by bringing WE to low while CE is low. Data is latched on the rising edge of WE. Command Latch Enable(CLE) and Address Latch Enable(ALE) are used to multiplex command and address respectively, via the I/O pins. The 128M byte and 64M byte physical space requires 26 and 25 addresses, thereby requiring four cycles for byte-level addressing; column address, row address, in that order. Page Read and Page Program need the same four address cycles following the required command input. In Block Erase operation, however, only the three row address cycles are used. Device operations are selected by writing specific commands into the command register. Table 2 defines the specific commands of the SmarMedia. The device provides simultaneous program/erase capability up to four pages/blocks. By dividing the memory array into eight 128Mbit separate planes, simultaneous multi-plane operation dramatically increases program/erase performance by 4X while still maintaining the conventional 512 byte structure. The extended pass/fail status for multi-plane program/erase allows system software to quickly identify the failing page/block out of selected multiple pages/blocks. Usage of multi-plane operations will be described further throughout this document. Table 1. MEMORY ORGANIZATION Memory Organization Number of rows(Pages) Number of columns K9S1208V0X 528Mbit (553,648,218 bit) 131,072 rows 528 columns K9D1G08V0X 1,056M bit (1,107,296,436 bit) 262,144 rows 528 columns Table2. Command Sets Function Read 1 1st. Cycle 2nd. Cycle 3rd. Cycle Acceptable Command during - - 50h - - Read ID 90h - - Reset FFh - - Page Program (True) 80h 10h - Page Program (Dummy) 80h 11h - Page Program (Multi Block Program) 80h 15h - Block Erase 60h D0h - 60h---60h D0h - 70h - - O - - O 00h/01h Read 2 Multi-Plane Block Erase Read Status Read Multi-Plane Status 71h (1) (2) O NOTE : 1. The 00h command defines starting address of the 1st half of registers.The 01h command defines starting address of the 2nd half of registers. After data access on the 2nd half of register by the 01h command, the address pointer is automatically moved to the 1st half register(00h) on the next cycle. 2. Any undefind commands are prohibited, which are not mentioned above command set table. 7 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM Figure 3. Memory Array Map K9D1G08V0X-SSBO The device is arranged in eight 128Mbit memory planes. Each plane contains 1,024 blocks and 528 byte page registers. This allows it to perform simultaneous page program and block erase by selecting one page or block from each plane. The block address map is configured so that multi-plane program/erase operations can be executed for every four sequential blocks by dividing the memory array into plane 0~3 or plane 4~7 separately. For example, multi-plane program/erase operations into plane 2,3,4 and 5 are prohibited. Plane 0 (1024 Block) Block 0 Page 0 Page 1 Plane 2 (1024 Block) Block 2 Page 0 Page 1 Plane 1 (1024 Block) Block 1 Page 0 Page 1 Plane 3 (1024 Block) Block 3 Page 0 Page 1 Page 30 Page 31 Page 30 Page 31 Page 30 Page 31 Page 30 Page 31 Block 4092 Page 0 Page 1 Block 4093 Page 0 Page 1 Block 4094 Page 0 Page 1 Block 4095 Page 0 Page 1 Page 30 Page 31 Page 30 Page 31 Page 30 Page 31 Page 30 Page 31 528byte Page Registers 528byte Page Registers Plane 0 (1024 Block) Block 0 Page 0 Page 1 528byte Page Registers 528byte Page Registers Plane 3 (1024 Block) Block 3 Page 0 Page 1 Plane 2 (1024 Block) Block 2 Page 0 Page 1 Plane 1 (1024 Block) Block 1 Page 0 Page 1 Page 30 Page 31 Page 30 Page 31 Page 30 Page 31 Page 30 Page 31 Block 4092 Page 0 Page 1 Block 4093 Page 0 Page 1 Block 4094 Page 0 Page 1 Block 4095 Page 0 Page 1 Page 30 Page 31 Page 30 Page 31 Page 30 Page 31 Page 30 Page 31 528byte Page Registers 528byte Page Registers 528byte Page Registers 528byte Page Registers * K9S1208V0X-SSBO The device is arranged in four 128Mbit memory planes. Each plane contains 1,024 blocks and 528 byte page registers. This allows it to perform simultaneous page program and block erase by selecting one page or block from each plane. The block address map is configured so that multi-plane program/erase operations can be executed for every four sequential blocks. Plane 0 (1024 Block) Block 0 Page 0 Page 1 Plane 2 (1024 Block) Block 2 Page 0 Page 1 Plane 1 (1024 Block) Block 1 Page 0 Page 1 Plane 3 (1024 Block) Block 3 Page 0 Page 1 Page 30 Page 31 Page 30 Page 31 Page 30 Page 31 Page 30 Page 31 Block 4092 Page 0 Page 1 Block 4093 Page 0 Page 1 Block 4094 Page 0 Page 1 Block 4095 Page 0 Page 1 Page 30 Page 31 Page 30 Page 31 Page 30 Page 31 Page 30 Page 31 528byte Page Registers 528byte Page Registers 528byte Page Registers 8 528byte Page Registers K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM PIN DESCRIPTION Command Latch Enable(CLE) The CLE input controls the path activation for commands sent to the command register. When active high, commands are latched into the command register through the I/O ports on the rising edge of the WE signal. Address Latch Enable(ALE) The ALE input controls the activating path for address to the internal address registers. Addresses are latched on the rising edge of WE with ALE high. Chip Enable(CE) The CE input is the device selection control. When CE goes high during a read operation the device is returned to standby mode. However, when the device is in the busy state during program or erase, CE high is ignored and does not return the device to standby mode. Write Enable(WE) The WE input controls writing to the I/O port. Commands, address and data are latched on the rising edge of the WE pulse. Read Enable(RE) The RE input is the serial data-out control, and when active drives the data onto the I/O bus. I/O Port : I/O 0 ~ I/O 7 The I/O pins are used to input command, address and data, and to output data during read operations. The I/O pins float to high-z when the chip is deselected or when the outputs are disabled. Write Protect(WP) The WP pin provides inadvertent write/erase protection during power transitions. The internal high voltage generator is reset when the WP pin is active low. Ready/Busy(R/B) The R/B output indicates the status of the device operation. When low, it indicates that a program, erase or random read operation is in process and returns to high state upon completion. It is an open drain output and does not float to high-z condition when the chip is deselected or when outputs are disabled. Low Voltage Detect(LVD) The LVD is used to detect the proper supply voltage electrically. By connecting this pin to Vss through a pull-down resister, it is possible to distinguish 3.3V product from 5V product. When 3.3V is applied as Vcc to pins 12 and 22, a ’High’ level can be detected on the system side if the device is a 3.3V product, and ’Low’level for 5V product. 9 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM ABSOLUTE MAXIMUM RATINGS Parameter Symbol Rating Unit VIN -0.6 to + 4.6 VCC -0.6 to + 4.6 Temperature Under Bias TBIAS -10 to +65 °C Storage Temperature TSTG -20 to +65 °C Voltage on any pin relative to VSS V NOTE : 1. Minimum DC voltage is -0.3V on input/output pins. During transitions, this level may undershoot to -2.0V for periods <30ns. Maximum DC voltage on input/output pins is VCC+0.3V which, during transitions, may overshoot to VCC+2.0V for periods <20ns. 2. Permanent device damage may occur if ABSOLUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the conditions as detailed in the operational sections of this data sheet. Exposure to absolute maximum rating conditions for extended periods may affect reliability. RECOMMENDED OPERATING CONDITIONS (Voltage reference to GND, TA=0 to 55°C) Symbol Min Typ. Max Unit Supply Voltage Parameter VCC 2.7 3.3 3.6 V Supply Voltage VSS 0 0 0 V DC AND OPERATING CHARACTERISTICS(Recommended operating conditions otherwise noted.) Parameter Operating Current Symbol Sequential Read ICC1 Program ICC2 Erase ICC3 Test Conditions Min Typ Max - 10 30 - - 10 30 - - 10 30 tRC=50ns, CE=VIL, IOUT=0mA Unit mA Stand-by Current(TTL) ISB1 CE=VIH, WP=0V/VCC - - 1 Stand-by Current(CMOS) ISB2 CE=VCC-0.2, WP=0V/VCC - 10 50 Input Leakage Current ILI VIN=0 to 3.6V - - ±10 Output Leakage Current ILO VOUT=0 to 3.6V - - ±10 Input High Voltage, All inputs VIH - 2.0 - VCC+0.3 - Input Low Voltage, All inputs VIL -0.3 - 0.8 Output High Voltage Level VOH IOH=-400µA 2.4 - - Output Low Voltage Level VOL IOL=2.1mA - - 0.4 Output Low Current(R/B) IOL(R/B) VOL=0.4V 8 10 - 10 µA V mA K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM VALID BLOCK Parameter Valid Block Number Symbol Min Typ. Max Unit K9D1G08V0X NVB 8,052 - 8,192 Blocks K9S1208V0X NVB 4,026 - 4,096 Blocks 1. The K9D1G08V0X, K9S1208V0X may include invalid blocks when first shipped. Additional invalid blocks may develop while being used. The number of valid blocks is presented with both cases of invalid blocks considered. Invalid blocks are defined as blocks that contain one or more bad bits. Do not erase or program factory-market bad blocks. Refer to the attached technical notes for an appropriate management of invalid blocks. 2. Per the specification of the physical format version 1.2 by SSFDC forum, minimum 1,000 vaild blocks are guaranteed for each 16MB memory space. AC TEST CONDITION (TA=0 to 55°C, VCC=2.7V~3.6V unless otherwise noted) Parameter Value Input Pulse Levels 0.4V to 2.4V Input Rise and Fall Times 5ns Input and Output Timing Levels 1.5V Output Load (3.0V +/-10%) 1 TTL GATE and CL=50pF Output Load (3.3V +/-10%) 1 TTL GATE and CL=100pF CAPACITANCE(TA=25°C, VCC=3.3V, f=1.0MHz) Item Symbol Test Condition Min Input/Output Capacitance CI/O VIL=0V Input Capacitance CIN VIN=0V Max K9S1208V0X - 20 10 pF - 20 10 pF NOTE : Capacitance is periodically sampled and not 100% tested. MODE SELECTION CLE ALE CE H L L H H L WE RE WP L H X L H X L L H H H L H H Mode H H Data Input X sequential Read & Data Output Read Mode Command Input Address Input(4clock) Write Mode Command Input Address Input(4clock) L L L L L L H X X L X X X During Read(Busy) X X X X X H During Program(Busy) X X X X X H During Erase(Busy) X X X L H X X 0V/VCC(2) X X X (1) X NOTE : 1. X can be VIL or VIH. 2. WP should be biased to CMOS high or CMOS low for standby. 11 Unit K9D1G08V0X Write Protect Stand-by K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM Program / Erase Characteristics Parameter Symbol Min Typ Max Unit Program Time tPROG - 200 500 µs Dummy Busy Time for Multi Plane Program tDBSY 1 10 µs - 1 cycle - - 2 cycles - 2 3 ms Number of Partial Program Cycles in the Same Page Main Array - Nop Spare Array Block Erase Time tBERS AC Timing Characteristics for Command / Address / Data Input Parameter Symbol Min Max Unit CLE setup Time tCLS 0 - ns CLE Hold Time tCLH 10 - ns CE setup Time tCS 0 - ns CE Hold Time tCH 10 - ns WE Pulse Width tWP - ns 25 (1) ALE setup Time tALS 0 - ns ALE Hold Time tALH 10 - ns Data setup Time tDS 20 - ns Data Hold Time tDH 10 - ns Write Cycle Time tWC 50 - ns WE High Hold Time tWH 15 - ns NOTE : 1. If tCS is set less than 10ns, tWP must be minimum 35ns, otherwise, tWP may be minimum 25ns. AC Characteristics for Operation Parameter Symbol Min Max Unit tR - 10 µs Data Transfer from Cell to Register CLE to RE Delay tCLR 10 - ns ALE to RE Delay tAR 10 - ns Ready to RE Low tRR 20 - ns RE Pulse Width tRP 30 - ns WE High to Busy tWB - 100 ns Read Cycle Time tRC 50 - ns RE Access Time tREA - 35 ns RE High to Output Hi-Z tRHZ 15 30 ns CE High to Output Hi-Z tCHZ - 20 ns RE High Hold Time tREH 15 - ns Output Hi-Z to RE Low tIR 0 - ns Last RE High to Busy(at sequential read) tRB - 100 ns CE High to Ready(in case of interception by CE at read) tCRY - CE High Hold Time(at the last serial read)(2) tCEH 100 WE High to RE Low tWHR 60 - ns Device Resetting Time(Read/Program/Erase) tRST - 5/10/500(3) µs NOTE : 1. The time to Ready depends on the value of the pull-up resistor tied R/B pin. 2. To break the sequential read cycle, CE must be held high for longer time than tCEH. 3. If reset command(FFh) is written at Ready state, the device goes into Busy for maximum 5us. 12 50 +tr(R/B) (1) - ns ns K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM SmartMedia Technical Notes Invalid Block(s) Invalid blocks are defined as blocks that contain one or more invalid bits whose reliability is not guaranteed by Samsung. The information regarding the invalid block(s) is so called as the invalid block information. An invalid block(s) does not affect the performance of valid block(s) because it is isolated from the bit line and the common source line by a select transistor. The system design must be able to mask out the invalid block(s) via address mapping. Identifying Invalid Block(s) SSFDC Forum specifies the logical format and physical format to ensure compatibility of SmartMedia. Samsung pre-formats SmartMedia in the Forum-compliant format prior to shipping. The physical format standard by SSFDC Forum specifies that invalid block information is written at the 6th byte of spare area in invalid blocks with two or more "0" bits, while valid blocks are erased(FFh). Since the invalid block information is also erasable in most cases, it is impossible to recover the information once it has been erased. Therefore, the system must be able to recognize the invalid block(s) based on the original invalid block information and create the invalid block table via the following suggested flow chart(Figure 4). Any intentional erasure of the original invalid block information is prohibited. Start Set Block Address = 0 Increment Block Address Create (or update) Invalid Block(s) Table No * Check "FFh" at the column address 517 of the first page in the block Check "FFh" ? Yes No Last Block ? Yes End Figure 4. Flow chart to create invalid block table. 13 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM SmartMedia Technical Notes (Continued) Error in write or read operation Over its life time, the additional invalid blocks may develop with NAND Flash memory. Refer to the qualification report for the actual data.The following possible failure modes should be considered to implement a highly reliable system. In the case of status read failure after erase or program, block replacement should be done. Because program status fail during a page program does not affect the data of the other pages in the same block, block replacement can be executed with a page-sized buffer by finding an erased empty block and reprogramming the current target data and copying the rest of the replaced block. To improve the efficiency of memory space, it is recommended that the read or verification failure due to single bit error be reclaimed by ECC without any block replacement. The said additional block failure rate does not include those reclaimed blocks. Failure Mode Write Read Detection and Countermeasure sequence Erase Failure Status Read after Erase --> Block Replacement Program Failure Status Read after Program --> Block Replacement Read back ( Verify after Program) --> Block Replacement or ECC Correction Single Bit Failure ECC Verify ECC -> ECC Correction : Error Correcting Code --> Hamming Code etc. Example) 1bit correction & 2bit detection Program Flow Chart If ECC is used, this verification operation is not needed. Start Write 00h Write 80h Write Address Write Address Wait for tR Time Write Data Write 10h Verify Data Read Status Register No * Program Error Yes Program Completed I/O 6 = 1 ? or R/B = 1 ? * Program Error Yes No No * I/O 0 = 0 ? Yes 14 : If program operation results in an error, map out the block including the page in error and copy the target data to another block. K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM SmartMedia Technical Notes (Continued) Erase Flow Chart Read Flow Chart Start Start Write 60h Write 00h Write Block Address Write Address Write D0h Read Data Read Status Register ECC Generation No I/O 6 = 1 ? or R/B = 1 ? Reclaim the Error No Verify ECC Yes Yes * Page Read Completed No Erase Error I/O 0 = 0 ? Yes Erase Completed * : If erase operation results in an error, map out the failing block and replace it with another block. Block Replacement 1st ∼ (n-1)th nth (page) 1st ∼ (n-1)th nth (page) { Block A 2 Buffer memory of the controller. { Block B 1 * Step1 When an error happens in the nth page of the Block ’A’during the program operation. * Step2 Copy the nth page data of the Block ’A’in the buffer memory to the nth page of another free block. (Block ’B’) * Step3 Then, copy the data in the 1st ~ (n-1)th page of the Block ’A’to the same location of the Block ’B’. * Step4 Do not erase or program to Block ’A’by creating an ’invalid Block’table or using other appropriate scheme. 15 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM Pointer Operation of K9D1G08V0X, K9S1208V0X Samsung NAND Flash has three address pointer commands as a substitute for the two most significant column addresses. ’00h’ command sets the pointer to ’A’area(0~255byte), ’01h’command sets the pointer to ’B’area(256~511byte), and ’50h’command sets the pointer to ’C’ area(512~527byte). With these commands, the starting column address can be set to any of a whole page(0~527byte). ’00h’or ’50h’is sustained until another address pointer command is inputted. ’01h’command, however, is effective only for one operation. After any operation of Read, Program, Erase, Reset, Power_Up is executed once with ’01h’ command, the address pointer returns to ’A’ area by itself. To program data starting from ’A’ or ’C’ area, ’00h’ or ’50h’ command must be inputted before ’80h’ command is written. A complete read operation prior to ’80h’ command is not necessary. To program data starting from ’B’area, ’01h’command must be inputted right before ’80h’command is written. Destination of the pointer Command Pointer position Area 00h 01h 50h 0 ~ 255 byte 256 ~ 511 byte 512 ~ 527 byte 1st half array(A) 2nd half array(B) spare array(C) "A" area (00h plane) "B" area (01h plane) 256 Byte 256 Byte "A" "B" "C" area (50h plane) 16 Byte "C" Internal Page Register Pointer select commnad (00h, 01h, 50h) Pointer Figure 5. Block Diagram of Pointer Operation (1) Command input sequence for programming ’A’ area The address pointer is set to ’A’area(0~255), and sustained Address / Data input 00h 80h Address / Data input 10h 00h ’A’,’B’,’C’area can be programmed. It depends on how many data are inputted. 80h 10h ’00h’command can be omitted. (2) Command input sequence for programming ’B’ area The address pointer is set to ’B’area(256~512), and will be reset to ’A’area after every program operation is executed. Address / Data input 01h 80h Address / Data input 10h 01h ’B’, ’C’area can be programmed. It depends on how many data are inputted. 80h 10h ’01h’command must be rewritten before every program operation (3) Command input sequence for programming ’C’ area The address pointer is set to ’C’area(512~527), and sustained Address / Data input 50h 80h Address / Data input 10h 50h Only ’C’area can be programmed. 80h ’50h’command can be omitted. 16 10h K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM System Interface Using CE don’t-care. For an easier system interface, CE may be inactive during the data-loading or sequential read as shown below. The internal 528byte page registers are utilized as separate buffers for this operation and the system design gets more flexible. In addition, for voice or audio applications which use slow cycle time on the order of u-seconds, de-activating CE during the data-loading and reading would provide significant savings in power consumption. Figure 6. Program Operation with CE don’t-care. CLE CE don’t-care WE ≈ ≈ CE ALE I/O0~7 80h Start Add.(4Cycle) tCS Data Input tCH Data Input 10h tCEA CE CE tREA RE tWP WE I/O0~7 out Figure 7. Read Operation with CE don’t-care. CLE CE don’t-care Must be held low during tR. ≈ CE RE ALE tR R/B WE I/O0~7 00h Data output (Sequential) Start Add.(4Cycle) 17 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM Command Latch Cycle CLE tCLS tCLH tCS tCH CE tWP WE tALH tALS ALE tDH tDS Command I/O0~7 Address Latch Cycle tCLS CLE tWC tCS tWC tWC CE tWP tWP tWP tWP WE tWH tALH tALS tWH tALH tALS tALS tWH tALH tALS tALH ALE tDS I/O0~7 tDH A0~A7 tDS tDH A9~A16 tDS tDH A17~A24 tDS tDH A25,A26 A25: K9S1208V0X A26: K9D1G08V0X 18 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM Input Data Latch Cycle tCLH CLE tCH CE tWC tALS tWP ≈ ALE tWP tWP WE tWH tDH tDS tDH tDS tDH ≈ tDS I/O0~7 DIN 511 DIN 1 ≈ DIN 0 Serial Access Cycle after Read (CLE=L, WE=H, ALE=L) tRC ≈ CE tREH RE tREA ≈ tREA tRP tREA tCHZ tRHZ Dout I/O0~7 Dout ≈ tRHZ ≈ tRR R/B NOTES : Transition is measured ±200mV from steady state voltage with load. This parameter is sampled and not 100% tested. 19 Dout K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM Status Read Cycle tCLR CLE tCLS tCLH tCS CE tCH tWP WE tCEA tCHZ tWHR RE tDH tDS I/O0~7 tREA tIR tRHZ Status Output 70h READ1 OPERATION(READ ONE PAGE) CLE tCEH CE tCHZ tWC WE tWB tCRY tAR ALE tR tRHZ tRC ≈ RE I/O0~7 00h or 01h A0 ~ A7 A9 ~ A16 Column Address R/B A17 ~ A24 Dout N A25,A26 Page(Row) Address A25: K9S1208V0X A26: K9D1G08V0X Busy 20 N+1 Dout N+2 ≈ ≈ tRR Dout 527 tRB K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM READ1 OPERATION (INTERCEPTED BY CE) CLE CE WE tWB tCHZ tAR ALE tRC tR RE tRR I/O0~7 00h or 01h A9 ~ A16 A0 ~ A7 Column Address R/B A17 ~ A24 Dout N A25,A26 Dout N+1 Dout N+2 Page(Row) Address Busy A25: K9S1208V0X A26: K9D1G08V0X READ2 OPERATION(READ ONE PAGE) CLE CE WE tR tWB tAR ALE ≈ tRR I/O0~7 50h A0 ~ A7 R/B M Address A9 ~ A16 A17 ~ A24 Dout 511+M A25,A26 A25: K9S1208V0X A26: K9D1G08V0X ≈ RE Dout 527 Selected Row A0~A3 : Valid Address A4~A7 : Don′t care 512 16 Start address M 21 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM SEQUENTIAL ROW READ OPERATION (WITHIN A BLOCK) CLE CE WE RE 00h Dout N A0 ~ A7 A9 ~ A16 A17 ~ A24 A25,A26 Dout N+1 Dout 0 Dout 527 Dout 527 ≈ Busy Busy R/B Dout 1 ≈ Ready ≈ A25: K9S1208V0X A26: K9D1G08V0X ≈ I/O0~7 ≈ ≈ ALE M M+1 N Output Output PAGE PROGRAM OPERATION CLE CE tWC ≈ tWC tWC WE tWB tPROG ALE 80h A0 ~ A7 A9 ~ A16 A17 ~ A24 Sequential Data Column Input Command Address R/B A25,A26 Page(Row) Address Din Din 10h N 527 1 up to 528 Byte Data Program Command Serial Input A25: K9S1208V0X A26: K9D1G08V0X 70h I/O0 Read Status Command ≈ I/O0~7 ≈ ≈ RE I/O0=0 Successful Program I/O0=1 Error in Program 22 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM BLOCK ERASE OPERATION (ERASE ONE BLOCK) CLE CE tWC WE tBERS tWB ALE RE I/O0~7 60h A9 ~ A16 A17 ~ A24 A25,A26 DOh 70h I/O 0 R/B Busy A25: K9S1208V0X A26: K9D1G08V0X Auto Block Erase Setup Command Erase Command 23 ≈ Page(Row) Address Read Status Command I/O0=0 Successful Erase I/O0=1 Error in Erase R/B I/O0~7 RE ALE WE Sequential Data Input Command 80h tWC 24 I/O0~7 80h 11h tDBSY A25: K9S1208V0X A26: K9D1G08V0X A0 ~ A7 & A9 ~ A26 528 Byte Data Address & Data Input Ex.) Four-Plane Page Program R/B Din 527 Max. three times repeatable Page(Row) Address Din N ≈ ≈ 80h 11h Program 1 up to 528 Byte Data Command (Dummy) Serial Input A0 ~ A7 A9 ~ A16 A17 ~ A24 A25,A26 Column Address ≈ A25: K9S1208V0X A26: K9D1G08V0X Address & Data Input tDBSY : typ. 1us max. 10us tDBSY 11h 80h 11h A25: K9S1208V0X A26: K9D1G08V0X A0 ~ A7 & A9 ~ A26 528 Byte Data Address & Data Input tDBSY Last Plane Input & Program Din N A25: K9S1208V0X A26: K9D1G08V0X A0 ~ A7 A9 ~ A16 A17 ~ A24 A25,A26 tDBSY 80h A25: K9S1208V0X A26: K9D1G08V0X A0 ~ A7 & A9 ~ A26 528 Byte Data tWB ≈ CE ≈ ≈ ≈ CLE tPROG 71h tPROG 10h I/O 71h Read Multi-Plane Status Command A25: K9S1208V0X A26: K9D1G08V0X A0 ~ A7 & A9 ~ A26 528 Byte Data Address & Data Input 10h Program Confirm Command (True) 80h Din 527 tWB ≈ Multi-Plane Page Program Operation K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM Multi-Plane Block Erase Operation CLE CE tWC WE tBERS tWB ALE RE A25: K9S1208V0X A26: K9D1G08V0X 60h I/O0~7 A9 ~ A16 A17 ~ A24 A25,A26 DOh 71h I/O 0 Busy R/B Block Erase Setup Command ≈ Page(Row) Address Erase Confirm Command Read Multi-Plane Status Command Max. 4 times repeatable * For Multi-Plane Erase operation, Block address to be erased should be repeated before "D0H" command. Ex.) Four-Plane Block Erase Operation R/B I/O0~7 tBERS 60h Address 60h Address 60h Address 60h A9 ~ A26 A25: K9S1208V0X A26: K9D1G08V0X 25 Address D0h 71h K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM Figure 8. Read ID Operation tCLR CLE tCEA CE WE tAR ALE tREA RE I/O0~7 90h 00h ECh Address. 1cycle Maker code 79h K9S1208V0X : 76h K9D1G08V0X : 79h 90 ID : Access command = 90H READ ID (1) st 1 Byte 2nd Byte 3rd Byte 4th Byte Value Description ECh 76h/79h A5h C0h Maker Code Device Code Unique1D code Multiplane Support NOTE : Device Code : K9S1208VOX(76h), KD1G08VOX(79h) 26 A5h C0h Device code UniqueID code Multi Plane code K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM Device Operation PAGE READ Upon initial device power up, the device defaults to Read1 mode. This operation is also initiated by writing 00h to the command register along with four address cycles. Once the command is latched, it does not need to be written for the following page read operation. Three types of operations are available : random read, sequential read and sequential row read. The random read mode is enabled when the page address is changed. The 528 bytes of data within the selected page are transferred to the data registers in less than 12µs(tR). The system controller can detect the completion of this data transfer(tR) by analyzing the output of R/B pin. Once the data in a page is loaded into the registers, they may be read out in 50ns cycle time by pulsing RE sequentially. High to low transitions of the RE clock output the data starting from the selected column address up to the last column address. After the data of last column address is clocked out, the next page is automatically selected for sequential row read. Waiting 12µs again allows reading the selected page. The sequential row read operation is terminated by bringing CE high. The way the Read1 and Read2 commands work is like a pointer set to either the main area or the spare area. The spare area of bytes 512 to 527 may be selectively accessed by writing the Read2 command. Addresses A0 to A3 set the starting address of the spare area while addresses A4 to A7 are ignored. Unless the operation is aborted, the page address is automatically incremented for sequential row read as in Read1 operation and spare sixteen bytes of each page may be sequentially read. The Read1 command(00h/01h) is needed to move the pointer back to the main area. Figures 9 to 12 show typical sequence and timings for each read operation. Figure 9. Read1 Operation CLE CE WE ALE tR R/B RE I/O0~7 00h Data Output(Serial Access) Start Add.(4Cycle) A0 ~ A7 & A9 ~ A26 A25: K9S1208V0X A26: K9D1G08V0X (00h Command) 1st half array (01h Command)* 2st half array Data Field Spare Field 1st half array 2st half array Data Field Spare Field * After data access on 2nd half array by 01h command, the start pointer is automatically moved to 1st half array (00h) at next cycle. 27 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM Figure 10. Read2 Operation CLE CE WE ALE tR R/B RE 50h I/O0~7 Data Output(Serial Access) Start Add.(4Cycle) A0 ~ A3 & A9 ~ A26 (A4 ~ A7 : Don′t Care) Spare Field A25: K9S1208V0X A26: K9D1G08V0X 1st half array 2nd half array Data Field Spare Field I/O0 ~ 7 tR tR R/B 00h ≈ Figure 11. Sequential Row Read1 Operation Data Output Start Add.(4Cycle) Data Output Data Output 2nd (528 Byte) Nth (528 Byte) 1st 01h A0 ~ A7 & A9 ~ A26 A25: K9S1208V0X A26: K9D1G08V0X (00h Command) 1st half array (01h Command) 1st half array 2nd half array 1st 2nd Nth Data Field tR 2nd half array 1st 2nd Nth Block Spare Field Data Field Spare Field The Sequential Read 1 and Read 2 operations are allowed only within a block and after the last page of a block is readout, the sequential read operation must be terminated by bringing CE high. When the page address moves onto the next block, read command and address must be given. 28 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM I/O0~7 tR tR R/B 50h Start Add.(4Cycle) A0 ~ A3 & A9 ~ A26 (A4 ~ A7 : Don′t Care) ≈ Figure 12. Sequential Row Read2 Operation Data Output 1st A25: K9S1208V0X A26: K9D1G08V0X tR Data Output Data Output 2nd (16Byte) Nth (16Byte) 1st Block Nth Data Field Spare Field PAGE PROGRAM The device is programmed basically on a page basis, but it does allow multiple partial page programing of a byte or consecutive bytes up to 528, in a single page program cycle. The number of consecutive partial page programming operation within the same page without an intervening erase operation must not exceed 1 for main array and 2 for spare array. However, it is advisable not to program more often than recommend. It might cause failures due to disturbance when it exceeds its limits. The failure mode could be that the data "1" of the erased cell might be changed into data"0"of the programmed cell. The addressing may be done in any random order in a block. A page program cycle consists of a serial data loading period in which up to 528 bytes of data may be loaded into the page register, followed by a non-volatile programming period where the loaded data is programmed into the appropriate cell. Serial data loading can be started from 2nd half array by moving pointer. About the pointer operation, please refer to the attached technical notes. The serial data loading period begins by inputting the Serial Data Input command(80h), followed by the four cycle address input and then serial data loading. The bytes other than those to be programmed do not need to be loaded.The Page Program confirm command(10h) initiates the programming process. Writing 10h alone without previously entering the serial data will not initiate the programming process. The internal write-state controller automatically executes the algorithms and timings necessary for program and verify, thereby freeing the system controller for other tasks. Once the program process starts, the Read Status Register command may be entered, with RE and CE low, to read the status register. The system controller can detect the completion of a program cycle by monitoring the R/B output, or the Status bit(I/O 6) of the Status Register. Only the Read Status command and Reset command are valid while programming is in progress. When the Page Program is complete, the Write Status Bit(I/O 0) may be checked(Figure 13). The internal write verify detects only errors for "1"s that are not successfully programmed to "0"s. The command register remains in Read Status command mode until another valid command is written to the command register. Figure 13. Program & Read Status Operation tPROG R/B I/O0~7 80h Address & Data Input A0 ~ A7 & A9 ~ A26 528 Byte Data 10h 70h A25: K9S1208V0X A26: K9D1G08V0X I/O0 Fail 29 Pass K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM BLOCK ERASE The Erase operation is done on a block(16K Byte) basis. Block address loading is accomplished in three cycles initiated by an Erase Setup command(60h). Only address A14 to (A25: K9S1208V0X, A26: K9D1G08V0X), is valid while A9 to A13 is ignored. The Erase Confirm command(D0h) following the block address loading initiates the internal erasing process. This two-step sequence of setup followed by execution command ensures that memory contents are not accidentally erased due to external noise conditions. At the rising edge of WE after the erase confirm command input, the internal write controller handles erase and erase-verify. When the erase operation is completed, the Write Status Bit(I/O 0) may be checked. Figure 14 details the sequence. Figure 14. Block Erase Operation tBERS R/B I/O0~7 60h Address Input(3Cycle) Block Add. : A9 ~ A26 Pass I/O0 70h D0h A25: K9S1208V0X A26: K9D1G08V0X Fail MULTI-PLANE PAGE PROGRAM INTO PLANE 0~3 OR PLANE 4~7 Multi-Plane Page Program is an extension of Page Program which is executed for a single plane with 528 byte page registers. Since the device is equipped with eight memory planes, activating the four sets of 528 byte page registers into plane 0~3 or plane 4~7 enables a simultaneous programming of four pages. Partial activation of four planes is also permitted. After writing the first set of data up to 528 byte into the selected page register, Dummy Page Program command (11h) instead of actual Page Program (10h) is inputted to finish data-loading of the current plane and move to the next plane. Since no programming process is involved, R/B remains in Busy state for a short period of time(tDBSY). Read Status command (standard 70h or alternate 71h) may be issued to find out when the device returns to Ready state by polling the Ready/Busy status bit(I/O 6). Then the next set of data for one of the other planes is inputted with the same command and address sequences. After inputting data for the last plane, actual True Page Program (10h) instead of dummy Page Program command (11h) must be followed to start the programming process. The operation of R/B and Read Status is the same as that of Page Program. Since maximum four pages are programmed simultaneously, pass/fail status is available for each page when the program operation completes. The extended status bits (I/O1 through I/O 4) are checked by inputting the Read Multi-Plane Status Register. Status bit of I/O 0 is set to "1" when any of the pages fails. Multi-Plane page Program with "01h" pointer is not supported, thus prohibited. Figure 15. Four-Plane Page Program tDBSY R/B I/O0~7 80h tDBSY Address & Address & 11h 80h Data Input Data Input A0 ~ A7 & A9 ~ A26 A25: K9S1208V0X A26: K9D1G08V0X 528 Byte Data 80h 11h Data input 80h 11h 80h 11h 80h tPROG tDBSY Address & Data Input 11h 80h 11h 80h Address & Data Input 10h Plane 3 (1024 Block) Plane 0 (1024 Block) Plane 1 (1024 Block) Block 0 Block 1 Block 2 Block 3 Block 4 Block 5 Block 6 Block 7 Block 4088 Block 4092 Block 4089 Block 4093 Block 4090 Block 4094 Plane 2 (1024 Block) 30 10h Block 4091 Block 4095 71h K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM RESTRICTION IN ADDRESSING WITH PLANE-PLANE PAGE PROGRAM While any block in each plane may be addressable for Multi-Plane Page Program, the four least significant addresses(A9-A13) for the selected pages at one operation must be the same. Figure 15 shows an example where 2nd page of each addressed block is selected for four planes. However, any arbitrary sequence is allowed in addressing multiple planes as shown in Figure16. Figure 16. Multi-Plane Program & Read Status Operation Block 0 Plane 3 (1024 Block) Plane 2 (1024 Block) Plane 1 (1024 Block) Plane 0 (1024 Block) Block 2 Block 1 Block 3 Page 0 Page 0 Page 0 Page 0 Page 1 Page 1 Page 1 Page 1 Page 30 Page 31 Page 30 Page 30 Page 31 Page 30 Page 31 Page 31 Figure 17. Addressing Multiple Planes Plane 2 80h 11h Plane 0 80h 11h Plane3 80h 11h Plane 1 80h 10h Figure 18. Multi-Plane Page Program & Read Status Operation tPROG R/B I/O0~7 Last Plane input 80h Address & Data Input A0 ~ A7 & A9 ~ A26 528 Byte Data 10h Pass I/O 71h A25: K9S1208V0X A26: K9D1G08V0X Fail The 15h command may be used as actual Page Program with 10h command. The pass/fail status data with 15h command are accumulated until the programming with 10h command as shown in Figure 18. Note that program with 10h command should be executed for the last pages of each four multi-plane blocks. Figure 18 shows an example when the 2nd page of plane 1 fails during multi-plane page program and fail status("1") sets. Figure 19. Multi-Plane Page Program Using 15h Command Read Status Register Data by 71h Command Plane 0 1st Page 80h 11h 80h 2nd Page 80h 11h 80h Plane 3 Plane 2 Plane 1 I/O 0 I/O 1 I/O 2 I/O 3 I/O 4 I/O 5 I/O 6 I/O 7 11h 80h 11h 80h 15h 0 11h 80h 11h 80h 15h 1 0 0 0 0 X 1 0 0 1 0 0 X 1 0 "Fail" Block N 31th Page 80h 11h 80h 11h 80h 11h 80h 15h 1 0 1 0 0 X 1 0 32nd Page 80h 11h 80h 11h 80h 11h 80h 10h 1 0 1 0 0 X 1 0 1st Page 80h 11h 80h 11h 80h 11h 80h 15h 0 0 0 0 X 1 0 0 Block N+1 - Please refer to "Read Status Register Definition" of Table 2 on page 29. - X means "don’t cared". 31 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM MULTI-PLANE BLOCK ERASE INTO PLANE 0~3 OR PLANE 4~7 Basic concept of Multi-Plane Block Erase operation is identical to that of Multi-Plane Page Program. Up to four blocks, one from each plane can be simultaneously erased. Standard Block Erase command sequences (Block Erase Setup command followed by three address cycles) may be repeated up to four times for erasing up to four blocks. Only one block should be selected from each plane. The Erase Confirm command initiates the actual erasing process. The completion is detected by analyzing R/B pin or Ready/Busy status (I/O 6). Upon the erase completion, pass/fail status of each block is examined by reading extended pass/fail status (I/O 1 through I/O 4). Figure 20. Four Block Erase Operation R/B tBERS I/O0~7 60h Address (3 Cycle) Address (3 Cycle) 60h A0 ~ A7 & A9 ~ A26 Address (3 Cycle) 60h Address (3 Cycle) 60h 71h D0h A25: K9S1208V0X A26: K9D1G08V0X I/O Pass Fail READ STATUS The device contains a Status Register which may be read to find out whether program or erase operation is completed, and whether the program or erase operation is completed successfully. After writing 70h command to the command register, a read cycle outputs the content of the Status Register to the I/O pins on the falling edge of CE or RE, whichever occurs last. This two line control allows the system to poll the progress of each device in multiple memory connections even when R/B pins are common-wired. RE or CE does not need to be toggled for updated status. Refer to Table 3 for specific Status Register definitions. The command register remains in Status Read mode until further commands are issued to it. Therefore, if the status register is read during a random read mode, a read command(00h or 50h) should be given before the sequential read cycle. For Read Status of Multi Plane Program/Erase, the Read Multi-Plane Status command(71h) should be used to find out whether multiplane program or erase operation is completed, and whether the program or erase operation is completed successfully. The pass/fail status data must be checked only in the Ready condition after the completion of Multi-Plane program or erase operation. Table3. Read Status Register Definition I/O No. Status I/O 0 Total Pass/Fail Definition by 70h Command I/O 1 Plane 0 Pass/Fail Must be don’t -cared I/O 2 Plane 1 Pass/Fail Must be don’t -cared I/O 3 Plane 2 Pass/Fail I/O 4 Pass : "0" Fail : "1" Definition by 71h Command Pass : "0"(1) Fail : "1" (2) Fail : "1" (2) Pass : "0" Fail : "1" Must be don’t -cared Pass : "0"(2) Fail : "1" Plane 3 Pass/Fail Must be don’t -cared (2) Pass : "0" Fail : "1" I/O 5 Reserved Must be don’t -cared Must be don’t-cared I/O 6 Device Operation I/O 7 Write Protect Pass : "0" Busy : "0" Protected : "0" Ready : "1" Not Protected : "1" Busy : "0" Protected : "0" Ready : "1" Not Protected : "1" NOTE : 1. I/O 0 describes combined Pass/Fail condition for all planes. If any of the selected multiple pages/blocks fails in Program/ Erase operation, it sets "Fail" flag. 2. The pass/fail status applies only to the corresponding plane. 32 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM READ ID The device contains a product identification mode, initiated by writing 90h and 91h to the command register, followed by an address input of 00h. Two read cycles with 90h sequentially output the manufacture code(ECh), the device code (K9S1208V0X:76h, K9D1G08V0X:79h), the UniqueID code(A5h) and the multi plane code(C0h) respectively. The command register remains in Read ID mode until further commands are issued to it. Figure 21 shows the operation sequence. Figure 21. Read ID Operation tCLR CLE tCEA CE WE tAR ALE tWHR RE tREA I/O0~7 90h 00h ECh Address. 1cycle Maker code 79h K9S1208V0X : 76h K9D1G08V0X : 79h 33 A5h C0h UniqueID code Device code Multi Plane code K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM RESET The device offers a reset feature, executed by writing FFh to the command register. When the device is in Busy state during random read, program or erase mode, the reset operation will abort these operations. The contents of memory cells being altered are no longer valid, as the data will be partially programmed or erased. The command register is cleared to wait for the next command, and the Status Register is cleared to value C0h when WP is high. Refer to Table 4 for device status after reset operation. If the device is already in reset state a new reset command will not be accepted by the command register. The R/B pin transitions to low for tRST after the Reset command is written. Reset command is not necessary for normal operation. Refer to Figure 23 below. Figure 23. RESET Operation tRST R/B I/O0~7 FFh Table4. Device Status Operation Mode After Power-up After Reset Read 1 Waiting for next command 34 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM READY/BUSY The device has a R/B output that provides a hardware method of indicating the completion of a page program, erase and random read operations. The R/B pin is normally high but transitions to low after program or erase command is written to the command register or random read is started after address loading. It returns to high when the internal controller has finished the operation. The pin is an open-drain driver thereby allowing two or more R/B outputs to be Or-tied. Because pull-up resistor value is related to tr(R/B) and current drain during busy(ibusy) , an appropriate value can be obtained with the following reference chart(Fig 24). Its value can be determined by the following guidance. Rp ibusy VCC Ready Vcc R/B open drain output 2.0V 0.8V Busy tf tr GND Device Figure 24. Rp vs tr ,tf & Rp vs ibusy @ Vcc = 3.3V, Ta = 25°C , CL = 100pF tr,tf [s] Ibusy 300n 200n 290 3m 1.65 189 1.1 2m 4.2 4.2 4.2 2K 3K Rp(ohm) 4K tr 96 100n 4.2 0.825 tf 1K Rp value guidance Rp(min) = 3.2V VCC(Max.) - VOL(Max.) IOL + ΣIL = 8mA + ΣIL where IL is the sum of the input currents of all devices tied to the R/B pin. Rp(max) is determined by maximum permissible limit of tr 35 1m Ibusy [A] 381 3.3 K9D1G08V0M/A-SSB0 K9S1208V0M/A-SSB0 SmartMediaTM DATA PROTECTION The device is designed to offer protection from any involuntary program/erase during power-transitions. An internal voltage detector disables all functions whenever Vcc is below about 2V. WP pin provides hardware protection and is recommended to be kept at VIL during power-up and power-down as shown in Figure 25. The two step command sequence for program/erase provides additional software protection. ≈ Figure 25. AC Waveforms for Power Transition ~ 2.5V High ≈ VCC WP WE 1µs 36 ~ 2.5V SmartMediaTM SmartMedia Dimensions Unit:mm DIMENSIONS 22 PAD SOLID STATE FLOPPY DISK CARD (3.3V) SOLID STATE PRODUCT OUTLINE 37.0±0.1 0.15±0.05 5.0±0.2 Index Label Area 10.0±0.2 Write Protect Area 40.0±0.1 0 5. 4.5(Min) 22.1(Max) 27.5 45.0±0.1 0.5mm Chamfer 4.2(Min) (3.3V Card) 0.76±0.08 1.5±0.1 27.0 0.000 2.540 5.080 7.620 10.160 12.700 2.140 TYP 0.400 TYP 22 12 I/O5 I/O6 I/O7 LVD GND R/B RE CE vcc I/O3 I/O2 I/O1 I/O0 WP WE ALE CLE vSS I/O4 vcc 8.650 7.900 6.500 0.000 vSS 6.500 7.900 8.650 1 11 12.700 10.160 7.620 5.080 2.540 0.000 37