Preview only show first 10 pages with watermark. For full document please download

Similar Pages

   EMBED


Share

Transcript

Viking Technology DFC4 Datasheet Viking Discrete Flash Card (DFC) modules are case-less connector-less Discrete Flash Card cards which have a BGA footprint for direct soldering to PCBs. These rugged board-mounted SSD’s are designed for harsh environments and eliminate the potential reliability issues associated with removable Discrete Flash Card cards. Ideal for storing OS software or microcode, Viking DFC’s are ideal for embedded real time processing or for mobile low power applications. Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 1 of 39 REVISION HISTORY Revision Release Date A March 12, 2013 A1 A2 May 6, 2013 June 26, 2013 Description of Change Initial release planer design (1445 PCB) using F3 controller Add Cisco PN decoder Revise PN table for rev C firmware Checked By (Full Name) Sankar Shanmugam Legal Information Legal Information Copyright© 2013 Sanmina Corporation. All rights reserved. The information in this document is proprietary and confidential to Sanmina Corporation. No part of this document may be reproduced in any form or by any means or used to make any derivative work (such as translation, transformation, or adaptation) without written permission from Sanmina. Sanmina reserves the right to revise this documentation and to make changes in content from time to time without obligation on the part of Sanmina to provide notification of such revision or change. Sanmina provides this documentation without warranty, term or condition of any kind, either expressed or implied, including, but not limited to, expressed and implied warranties of merchantability, fitness for a particular purpose, and noninfringement. While the information contained herein is believed to be accurate, such information is preliminary, and should not be relied upon for accuracy or completeness, and no representations or warranties of accuracy or completeness are made. In no event will Sanmina be liable for damages arising directly or indirectly from any use of or reliance upon the information contained in this document. Sanmina may make improvements or changes in the product(s) and/or the program(s) described in this documentation at any time. Sanmina, Viking Technology, and the Viking logo are trademarks of Sanmina Corporation. Other company, product or service names mentioned herein may be trademarks or service marks of their respective owners. Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 2 of 39 Viking High Performance DFC Ordering Information Part Number Raw Capacity Unformatted Capacity (bytes) VRFDFC40128EC6C-P1 128MB 127,401,984 VIFDFC40128EC6C-P1 128MB 127,401,984 VRFDFC40256EC9C-P1 256MB 254,803,968 VIFDFC40256EC9C-P1 256MB 254,803,968 VRFDFC40512EC7C-P1 512MB 531,062,784 VRFDFC41024ECEC-MD 1GB 1,046,126,592 VIFDFC41024ECEC-MD 1GB 1,046,126,592 Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com SLC NAND Device 128MB SLC, 1Gb BGA NAND Spansion S34ML01G100BHI000, RoHS 128MB SLC, 1Gb BGA NAND Spansion S34ML01G100BHI000,Leaded 256MB SLC, 2Gb BGA NAND Spansion S34ML02G100BHI000, RoHS 256MB SLC, 2Gb BGA NAND Spansion S34ML02G100BHI000, Leaded 512MB SLC, 4Gb BGA NAND Spansion S34ML04G100BHI000, RoHS 1GB SLC, 8Gb BGA NAND Micron MT29F8G08ADADAH4:D, RoHS 1GB SLC, 8Gb BGA NAND Micron MT29F8G08ADADAH4:D, Leaded 06/26/2013 Viking Technology Page 3 of 39 Table of Contents REVISION HISTORY 2 1 7 INTRODUCTION 1.1 Features 7 1.2 Performance 8 1.3 CHS Parameters 8 1.4 Block Diagram 9 1.5 Mechanical Information 10 1.6 RECOMMENDED PCB FOOTPRINT AND PAD NUMBERS 11 1.7 Interface 1.7.1 Host Interface 12 12 2 12 CONNECTOR PINS 2.1 Connector Pin Assignments 12 2.2 Pin Function Description 13 3 PRODUCT SPECIFICATIONS 15 3.1 Absolute Maximum Ratings 15 3.2 DC Operating Conditions and Characteristics 15 3.3 Environmental Specifications 16 3.4 Reliability & Retention 16 3.5 Capacitance 16 3.6 AC Characteristics 3.6.1 Power-on Timing 3.6.2 Attribute Memory Read / Write Timing 3.6.3 Common Memory Read and Write Characteristics Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 16 17 18 19 06/26/2013 Viking Technology Page 4 of 39 3.6.4 3.6.5 3.6.6 3.6.7 I/O Access Read and Write Characteristics True-IDE PIO Mode Read and Write Characteristics True-IDE MDMA Mode Read and Write Characteristics CF-ATA Command Support 20 21 22 23 3.7 Capacity Information 3.7.1 True IDE Mode 3.7.2 PCMCIA Mode (I/O and Memory Modes) 24 24 24 3.8 25 Identify Drive Parameter 3.9 SMART Support 3.9.1 SMART Enable Operations 3.9.2 SMART Disable Operations 3.9.3 SMART Enable/Disable Attribute Autosave 3.9.4 SMART Read Data 3.9.5 SMART Read Attribute Thresholds 3.9.6 SMART Return Status 3.9.7 SMART Read Remap Data 3.9.8 SMART Read Wear Level Data 27 28 28 29 30 33 35 35 36 4 CERTIFICATIONS AND COMPLIANCE 38 5 REFERENCES 38 6 PART NUMBER DECODER 39 Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 5 of 39 Table of Tables Table 1-1: DFC Read/Write Performance ___________________________________________ 8 Table 1-2: CHS Parameters _____________________________________________________ 8 Table 2-1: Connector Pin Assignments____________________________________________ 12 Table 2-2: Pin Function Description ______________________________________________ 13 Table 3-1: Absolute Maximum Ratings ____________________________________________ 15 Table 3-2: DC Operating Conditions and Characteristics ______________________________ 15 Table 3-3: Environmental Specifications ___________________________________________ 16 Table 3-4: DFC Reliability and Retention __________________________________________ 16 Table 3-5: Capacitance ________________________________________________________ 16 Table 3-6: Power-on Timing ____________________________________________________ 17 Table 3-7: Attribute Memory Read Write Timing _____________________________________ 18 Table 3-8: Common Memory Read and Write Characteristics __________________________ 19 Table 3-9: I/O Access Read and Write Characteristics ________________________________ 20 Table 3-10: True-IDE PIO Mode Read and Write Characteristics________________________ 21 Table 3-11: True-IDE MDMA Mode Read and Write Characteristics _____________________ 22 Table 3-12: CF-ATA Command Support ___________________________________________ 23 Table 3-13: True IDE Mode_____________________________________________________ 24 Table 3-14: PCMCIA Mode (I/O and Memory Modes) ________________________________ 24 Table 3-15: Identify Drive Parameter _____________________________________________ 25 Table 3-16: Identify Drive Parameter Table in PCMCIA mode showing word differences _____ 27 Table 3-17: Identify Drive Parameter Table in PCMCIA mode showing word differences _____ 27 Table 3-18: Supported SMART Commands determined by Feature Register value__________ 27 Table 4-1: Device Certifications _________________________________________________ 38 Table of Figures Figure 1-1: Functional Block Diagram ______________________________________________ 9 Figure 1-2: Dimensions ________________________________________________________ 10 Figure 3-1: Power On RESET Timing _____________________________________________ 17 Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 6 of 39 1 Introduction The Viking Discrete Flash Card (DFC) card is a single-channel, highperformance solution for a wide array of storage applications. Available in capacity ranges from 128MB to 2GB with a standard Viking Discrete Flash Card interface, system designers have an easy way to add small-form factor, reliable storage to any system at a fraction of the size of a hard disk drive. Viking’s rugged industrial designed SSD’s offer the highest flash storage reliability and performance in harsh environments such as shock, vibration, humidity, altitude, ESD, and extreme temperatures. Viking can also provide specialized services to OEMs designing customized hardware and systems by offering:  Locked BOM control with customer product change notification (PCN)  Pre-installed software, custom software imaging and ID strings  Custom packaging and labeling  Customer specified testing  Conformal coating  Localized Field Application Engineering for complete pre and post sale technical support 1.1 Features The main features of Viking Discrete Flash Card memory controller are:  Full support for SLC NAND flash memories  Built-in ATA / PC card Interface  Host data transfer rate in PIO mode 6 or MDMA mode 4 up to 25 MB/s  Host data transfer rate in UDMA mode 4 up to 66 MByte/s  Supports True-IDE mode  Patented power fail management  Embedded Reed-Solomon ECC, 4 symbols in a 512B sector  Advanced global wear leveling  Automatic power-down mode and sleep mode  Industrial and commercial temperature  ESD protection Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 7 of 39 1.2 Performance Table 1-1: DFC Read/Write Performance Parameter Sequential Read Sequential Write Random Read Random Write Size 256K 256K 4K 4K Value up to 45 MB/s up to 30 MB/s up to 3098 IOPS up to 23 IOPS Note: 1) Measured using IOMETER 2006. 2) Performance may vary under extreme temperatures. 1.3 CHS Parameters Table 1-2: CHS Parameters Capacity 128MB 256MB 512MB 1GB 2GB Logical Block Addresses (LBA) 248,832 497,664 1,037,232 2,043,216 3,992,688 Cylinders (C) (standard) Heads (H) Sectors/Track (S) 486 972 1,029 2,027 3,961 16 16 16 16 16 63 63 63 63 63 Note: The unformatted capacity of the card may be less than the perceived or stated capacity on the label. Please use the LBA count in this table for reference. *16,383 is the max Cylinder size for True IDE mode. Use total LBA to calculate size when using True IDE mode. Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 8 of 39 1.4 Block Diagram Figure 1-1: Functional Block Diagram Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 9 of 39 1.5 Mechanical Information Figure 1-2: Dimensions Top View showing components MD_DFC2_A Note: 1) All dimensions are in inches. (Tolerance is +/- 0.005, unless otherwise stated.) 2) Height: 0.135” max Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 10 of 39 1.6 RECOMMENDED PCB FOOTPRINT AND PAD NUMBERS All dimensions are in inches. (Tolerance is +/- 0.001, unless otherwise stated.) Note: The pattern is the footprint/placement for the PCB (shown looking down through the DFC) Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 11 of 39 1.7 Interface 1.7.1 Host Interface         Compatible with PCMCIA 2.1, PC Card ATA, Compatible with CF 3.0, CF 4.1 software command set ATA-6 standard compatible in True-IDE mode Memory mapped or I/O operation Fast ATA host-to-buffer transfer rates supporting PIO mode 6, MDMA mode 4, UDMA mode 4 in True-IDE mode Automatic sensing of PCMCIA or True-IDE host interface mode 4 integrated 8 Kbyte Sector Buffers & 256 Byte PCMCIA Attribute Memory PCMCIA Configuration Option Register, Card Configuration and Status Register and Pin Replacement Register support 2 Connector Pins 2.1 Connector Pin Assignments Table 2-1: Connector Pin Assignments Pin A1 A2 A3 Signal Name Memory / I/O / IDE D8 / D8 / D8 BVD1 / #STSCHG / #PDIAG BVD2 / #SPKR / #DASP Pin Signal Name Memory / I/O / IDE Pin Signal Name Memory / I/O / IDE Pin Signal Name Memory / I/O / IDE B1 D1 / D1 / D1 C1 VSS/ VSS/ VSS D1 VCC / VCC / VCC B2 D0 / D0 / D0 C2 VSS/ VSS/ VSS D2 VCC / VCC / VCC B3 A0 / A0 / A0 C3 VSS/ VSS/ VSS D3 D2 / D2 / D2 A4 #REG / #REG / #DMACK B4 A1 / A1 / A1 C4 D9 / D9 / D9 D4 WP / #IOIS16 / #IOCS16 A5 #INPACK / #INPACK / DMARQ B5 A2 / A2 / A2 C5 D10 / D10 / D10 D5 A4 / A4 / A4 A6 #WAIT / #WAIT / IORDY B6 A3 / A3 / A3 C6 A5 / A5 / A5 D6 #CSEL / #CSEL / #CSEL B7 #CE2 / #CE2 / #CS1 C7 A6 / A6 / A6 D7 RDY / #IREQ / INTRQ B8 D15 / D15 / D15 C8 A7 / A7 / A7 D8 A8 RESET / RESET / #RESET #CE1 / #CE1 / #CS0 A9 D7 / D7 / D7 B9 D14 / D14 / D14 C9 A8 / A8 / A8 D9 A10 D6 / D6 / D6 B10 D13 / D13 / D13 C10 D10 A11 D5 / D5 / D5 B11 D12 / D12 / D12 C11 D11 A10 / A10 / A10 A12 A13 VSS / VSS / VSS VCC / VCC / VCC B12 B13 VSS / VSS / VSS VCC / VCC / VCC C12 C13 A9 / A9 / A9 #OE / #OE / #ATA SEL D3 / D3 / D3 D4 / D4 / D4 #WE / #WE / #WE #IOWR / #IOWR / #IOWR #IORD / #IORD / #IORD D12 D13 D11 / D11 / D11 VSS/ VSS/ VSS A7 Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 12 of 39 2.2 Pin Function Description Table 2-2: Pin Function Description Signal A0 ~ A10 #ATA SEL BVD1 ~ BVD2 (Mode) Function (All) Address (IDE) ATA Select (Memory) Battery Voltage Detect Type Input In I/O and Memory modes, these are the Host Address lines that select the I/O port address registers or the memory mapped port address registers, and the control and status registers. In True IDE mode, only A0 ~ A2 are used to select the control, status and data register; A3 ~ A10 are not used. Input Grounded to enable True IDE Mode. Output Always asserted high since a battery is not used in this card. Input/ Output Select the card and indicates to the controller whether a byte or word operation is being performed. #CE2 always accesses the odd byte of the word; #CE1 accesses the even or odd byte of the word depending on the status of A0 and #CE2. #CS0 selects the ATA Command Block Registers; #CS1 selects the ATA Control Block Registers. Signal is not used for I/O or memory mode, but should be grounded by the host. In IDE mode, configures the drive as a Master or Slave. If driven low, the drive is configured as a Master. If the pin is open, the drive is configured as a slave. These bi-directional signals carry the data, commands, and status information between the host and the controller. Input Device active / Slave Present signal. Input Signal that is asserted by the host in response to DMARQ to initiate DMA transfers. Output This signal is used for DMA data transfers. The module asserts this signal when it is ready to transfer data to or from the host. For Multiword DMA transfers, the direction of data transfer is controlled by #IORD and #IOWR. This signal is used in a handshake manner with #DMACK. The device waits until the host asserts #DMACK before negating DMARQ, and reasserts DMARQ if there is more data to transfer. Output Strobed low to generate a pulse mode interrupt. Held low for a level mode interrupt. Output Interrupt Request to the Host (active high). #CE1 ~ #CE2 (I/O, Memory) Card Enable Input #CS0 ~ #CS1 (IDE) Chip Select Input #CSEL (All) Cable Select Input D0 ~ D15 #DASP #DMACK DMARQ #IREQ INTRQ #INPACK IORDY #IOCS16 (All) Host Data Bits (IDE) Active/Slave Present (IDE) DMA Acknowledge (IDE) DMA Request (Memory, I/O) Interrupt Request (IDE) Interrupt Request (I/O) Input Acknowledge (IDE) I/O Channel Ready (IDE) 16 bit I/O Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com Description Output Output Output Asserted when the card is selected and can respond to an I/O cycle at the address on the bus. The host uses this signal to control the enable of any input data buffers between the card and host system data bus. In True IDE mode, this is the active high I/O Channel Ready signal, where a low signal indicates that the controller is NOT ready and the host should extend the cycle for the present command. Indicates a 16-bit transfer is in progress on the host bus. Open collector output. 06/26/2013 Viking Technology Page 13 of 39 Signal #IOIS16 #IORD #IOWR #OE N/C #PDIAG RDY #REG RESET #RESET #SPKR #STSCHG #WAIT #WE WP VCC VSS (Mode) Function (I/O) 16 bit I/O (All) I/O Read (All) I/O Write (I/O, Memory) Output Enable (All) No Connect (IDE) Passed Diagnostics (Memory) Ready (I/O, Memory) Register Memory Select (I/O, Memory) Reset (IDE) Reset (I/O) Speaker (I/O) Status Changed (I/O, Memory) Input/Output Data Ready (I/O, Memory) Write Enable (Memory) Write Protect Voltage Supply Ground Type Description Output Selects the 16-bit port. A low signal indicates that a 16-bit port is being addressed or an odd-byte-only operation can be performed at the addressed port. Input Clocks I/O data from the internal controller to the card bus. Input Clocks I/O data from the card bus to the internal controller. Input This input signal is used to enable Memory Read data from the memory card. In Memory mode it is used to read data and the CIS and Configuration registers. In I/O mode, this signal is used to read the CIS and Configuration registers only. - Not connected or used on the module. Output Used between two drives to indicate that the drive in Slave mode has passed diagnostics. Output Input Input Input This signal is set high when the card is ready to accept a new data transfer operation and is held low when the card is busy. At power up and at Reset, the READY signal is held low (busy) until the card has completed its power up or reset function. No access of any type should be made to the card during this time. In Memory mode, this input signal distinguishes the register (attribute) memory from the common memory. In I/O mode, this signal must be asserted (low) when the I/O address is on the bus. The controller is reset when this signal is asserted (high), initializing the control and status registers and aborting any command in progress. The controller is reset when this signal is asserted (low), initializing the control and status registers and aborting any command in progress. Output Always low; speaker not supported by the card. Input / Output Indicates a change in RDY/#BSY or Write Protect states. Output In Memory and I/O modes, this output is driven by the controller to signal the host to insert a delay before completing a memory or I/O cycle. Input In Memory mode, strobes Memory Write data into the card. In both Memory mode and I/O mode, this signal is used for writing the configuration register, in conjunction with the #REG signal. Not used in IDE mode, connect to VCC. Output Driven low after the completion of the reset initialization sequence. Power Gnd These pins supply 3.3V to the DFC. These pins supply ground to the DFC. Notes: 1. PU= internal pullup, PD= internal pull down. Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 14 of 39 3 Product Specifications 3.1 Absolute Maximum Ratings Table 3-1: Absolute Maximum Ratings Parameter Symbol Value Unit Supply Voltage Input Voltage Output Voltage Storage Temperature VCC VIN VOUT TST -0.3 ~ 4.6 GND - 0.5 ~ VCC + 0.5 GND - 0.5 ~ VCC + 0.5 -65 to + 150 V V V C Note: Permanent device damage may occur if ‘ABSOLUTE MAXIMUM RATINGS’ are exceeded. Functional operation should be restricted to recommended operating condition. Exposure to higher than recommended voltage for extended periods of time could affect device reliability. 3.2 DC Operating Conditions and Characteristics Recommended operating conditions (Voltages referenced to GND, TA = 0 to 70°C) Table 3-2: DC Operating Conditions and Characteristics Symbol VIL Parameter Input LOW Voltage Min -0.3 Max +0.8 Units V VIH VOL VOH Input HIGH Voltage Output LOW Voltage Output HIGH Voltage 2.0 VCC+0.3 0.45 V V V 0.35 45 80 mA mA mA typical 0.2mA typical 30mA typical 50mA ICC ILI ILO Operating Current Sleep mode Operating, 20 MHz Operating, 40 MHz Input Leakage Current Output Leakage Current ±10 ±10 μA μA if not pull-up/pull-down Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 2.4 Notes at 4mA (12mA for DASP) at 1mA 06/26/2013 Viking Technology Page 15 of 39 3.3 Environmental Specifications Table 3-3: Environmental Specifications Parameter Operating Temperature (Commercial Temp): Operating Temperature (Industrial Temp): Humidity (non-condensing): Value 0 to 70c -40 to 85c 5% to 95% non-condensing 3.4 Reliability & Retention Table 3-4: DFC Reliability and Retention Parameter Data Reliability Data Retention Value Bit Error rate 10E-15 10 Years 3.5 Capacitance Table 3-5: Capacitance Parameter Input capacitance Output capacitance Symbol Cin Cout Min. - Max. 10 10 Unit pF pF 3.6 AC Characteristics Input rise and fall time requirements: Input rise and fall time should be 10ns or less. Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 16 of 39 3.6.1 Power-on Timing Table 3-6: Power-on Timing Parameter Card Enable setup time VCC detect to RST disable Host RESET Hi-z hold time Host RESET width Host RESET setup time Symbol tsu(VCC) tRPU th(Hi-z RESET) tw(RESET) tsu(RESET) Min Typ Max Unit 275.01 100 255 10us 20 150 - 250 20ms - ms ms ms ms Note: See Figure 1 for details. Figure 3-1: Power On RESET Timing Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 17 of 39 3.6.2 Attribute Memory Read / Write Timing Table 3-7: Attribute Memory Read Write Timing Symbol Parameter Min tcR ta(A) ta(CE) ta(OE) tdis(CE) tdis(OE) ten(CE) ten(OE) 250 tv(A) tsu(A) th(A) tsu(CE) th(CE) Read cycle time Address access time Card Enable access time Output Enable access time Output disable time from CE Output disable time from OE Output enable time from CE Output enable time from OE Data valid time from address change Address setup time Address hold time Card Enable setup time Card Enable hold time tcW tw(WE) tsu(A) tsu(CE) tsu(DWEH) th(D) tdis(WE) ten(WE) tsu(OEWE) th(OE-WE) Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com Max Units 5 5 ns ns ns ns ns ns ns ns 0 30 20 0 20 ns ns ns ns ns Write cycle time 250 ns Write pulse time Address setup time for WE Card Enable setup time for WE 150 30 30 ns ns ns Data setup time for WE Data hold time Output disable time from WE Output enable time from WE 80 30 5 ns ns ns ns Output Enable setup time for WE Output Enable hold time from WE 10 10 ns ns 250 250 125 100 100 100 06/26/2013 Viking Technology Page 18 of 39 3.6.3 Common Memory Read and Write Characteristics Table 3-8: Common Memory Read and Write Characteristics Symbol tcR ta(A) ta(CE) ta(OE) tdis(CE) tdis(OE) ten(CE) ten(OE) tv(A) tsu(A) th(A) tsu(CE) th(CE) tcW tw(WE) tsu(A) tsu(CE) tsu(DWEH) th(D) trec(WE) tdis(WE) ten(WE) tsu(OEWE) th(OE-WE) Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com Parameter Read cycle time Address access time Card Enable access time Output Enable access time Output disable time from CE Output disable time from OE Output enable time from CE Output enable time from OE Data valid time from address change Address setup time Address hold time Card Enable setup time Card Enable hold time Write cycle time Write pulse time Address setup time for WE Card Enable setup time for WE Min 80 Data setup time for WE Data hold time Write recover time Output disable time from WE Output enable time from WE Output Enable setup time for WE Output Enable hold time from WE Max 5 5 Units ns ns ns ns ns ns ns ns 0 10 10 0 10 80 55 10 0 ns ns ns ns ns ns ns ns ns 30 10 15 5 ns ns ns ns ns 10 10 ns ns 55 55 45 45 45 45 06/26/2013 Viking Technology Page 19 of 39 3.6.4 I/O Access Read and Write Characteristics Table 3-9: I/O Access Read and Write Characteristics Symbol td(IORD) th(IORD) tw(IORD) tsuA(IORD) thA(IORD) tsuCE(IORD) thCE(IORD) Parameter Data delay after IORD Data hold following IORD IORD pulse width Address setup time for IORD Address hold time from IORD Card Enable setup time for IORD Card Enable hold time from IORD Min tsuREG(IORD) thREG(IORD) tdfINP(IORD) tdrINP(IORD) tdfIO16(IORD) tdrIO16(IORD) tsu(IOWR) th(IOWR) tw(IOWR) tsuA(IOWR) thA(IOWR) tsuCE(IOWR) thCE(IOWR) REG setup time for IORD REG hold time from IORD INPACK delay falling from IORD INPACK delay rising from IORD IOIS16 delay falling from address IOIS16 delay rising from address Data setup time for IOWR Data hold time from IOWR IOWR pulse width Address setup time for IOWR Address hold time from IOWR Card Enable setup time for IOWR Card Enable hold time from IOWR 5 0 0 15 5 55 15 10 5 10 ns ns ns ns ns ns ns ns ns ns ns ns ns tsuREG(IOWR) thREG(IOWR) REG setup time for IOWR REG hold time from IOWR 5 0 ns ns Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com Max 45 5 55 15 10 5 10 45 45 35 35 Units ns ns ns ns ns ns ns 06/26/2013 Viking Technology Page 20 of 39 3.6.5 True-IDE PIO Mode Read and Write Characteristics Table 3-10: True-IDE PIO Mode Read and Write Characteristics Symbol t0 t1 t9 t2 t2i t5 t6 t6z t3 t4 Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com Parameter Cycle time Address setup time for IORD/IOWR Address hold time from IORD/IOWR IORD/IOWR pulse width IORD/IOWR recovery time Data setup time for IORD Data hold following IORD Output disable time from IORD Data setup time for IOWR Data hold following IOWR Min 80 Max Units ns 10 ns 10 55 20 10 5 ns ns ns ns ns ns ns ns 20 15 5 06/26/2013 Viking Technology Page 21 of 39 3.6.6 True-IDE MDMA Mode Read and Write Characteristics Table 3-11: True-IDE MDMA Mode Read and Write Characteristics Symbol tO tD tE tF tG tH tI tJ tKR, tKW tLR, tLW tM tN tZ Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com Parameter Cycle time IORD/IOWR pulse width IORD data access Data hold following IORD Data setup time for IORD/IOWR Data hold following IOWR DMACK setup time for IORD/IOWR DMACK hold following IORD/IOWR IORD/IOWR recovery time IORD/IOWR to DMARQ delay CS0, CS1 setup for IORD/IOWR CS0, CS1 hold following IORD/IOWR Output disable time from DMACK Min 80 55 Max 5 10 5 Units ns ns ns ns ns ns 0 ns 5 20 ns ns ns ns 45 35 5 10 25 ns ns 06/26/2013 Viking Technology Page 22 of 39 3.6.7 CF-ATA Command Support Table 3-12: CF-ATA Command Support No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 Command Check Power Mode Erase Sector Execute Drive Diagnostic Flush Cache Format Track Identify Drive Idle Idle Immediate Initialize Drive Parameters Media Lock Media Unlock NOP Read Buffer Read DMA Read Multiple Read Long Read Native Max Address Read Sector(s) Read Verify Sector(s) Recalibrate Request Sense Security Disable Password Security Erase Prepare Security Erase Unit Security Freeze Lock Security Set Password Security Unlock Seek Set Feature Set Max Address Set Multiple Mode Set Sleep Mode SMART Standby Standby Immediate Translate Sector Write Buffer Write DMA Write Long Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com Code E5h, 98h C0h 90h E7h 50h ECh E3h, 97h E1h, 95h 91h DEh DFh 00h E4h C8h, C9h C4h 22h, 23h F8h 20h, 21h 40h, 41h 1Xh 03h F6h F3h F4h F5h F1h F2h 7Xh EFh F9h C6h E6h, 99h B0h E2h, 96h E0h, 94h 87h E8h CAh, CBh 32h, 33h FR ---------------------------Y ----Y ------- SC -Y --Y -Y -Y ----Y Y --Y Y ---------Y Y Y -Y Y -Y -Y -- SN -Y -----------Y Y Y -Y Y ---------Y Y -----Y -Y Y CY -Y --Y --------Y Y Y -Y Y ---------Y Y --Y --Y -Y Y DR Y Y -Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y HD -Y --Y ---Y ----Y Y Y -Y Y ---------Y Y -----Y -Y Y LBA -Y --Y --------Y Y Y -Y Y ---------Y Y -----Y -Y Y 06/26/2013 Viking Technology Page 23 of 39 No. 40 41 42 43 44 Command Write Multiple Write Multiple w/o Erase Write Sector(s) Write Sector(s) w/o Erase Write Verify Code C5h CDh 30h, 31h 38h 3Ch FR ------ SC Y Y Y Y Y SN Y Y Y Y Y CY Y Y Y Y Y DR Y Y Y Y Y HD Y Y Y Y Y LBA Y Y Y Y Y Notes: Abbreviations in this table:  FR: Features Register  SC: Sector Count Register (00h – FFh; 00h means 256 sectors  SN: Sector Number Register  CY: Cylinder Low/ High Register  DR: Drive bit of Drive/Head Register  HD: Head Number (0-15) of Drive/ Head Register  LBA: Logic Block Address Mode Support  --: Not used for this command  Y: Used for this command 3.7 Capacity Information 3.7.1 True IDE Mode Table 3-13: True IDE Mode Card Size Cylinders (Note 1) Head Sector Total Sectors (Note 2, 3) 128MB 256MB 512MB 1GB 2GB 486 972 1029 2027 3961 16 16 16 16 16 32 32 63 63 63 248,832 497,664 1,037,232 2,043,216 3,992,688 Notes: 1. 2. Usable Capacity (bytes) 127,401,984 254,803,968 531,062,784 1,046,126,592 2,044,256,256 Total sectors remaining after deducting firmware and spare block overhead. Available data capacity is dependent on format and partition type. 3.7.2 PCMCIA Mode (I/O and Memory Modes) Table 3-14: PCMCIA Mode (I/O and Memory Modes) Card Size 128MB 256MB 512MB 1GB 2GB Notes: 1. 2. Cylinders (Note 1) 486 972 1029 2027 3961 Head Sector 16 16 16 16 16 32 32 63 63 63 Total Sectors (Note 2, 3) 248,832 497,664 1,037,232 2,043,216 3,992,688 Usable Capacity (bytes) 127,401,984 254,803,968 531,062,784 1,046,126,592 2,044,256,256 Total sectors remaining after deducting firmware and spare block overhead. Available data capacity is dependent on format and partition type. Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 24 of 39 3.8 Identify Drive Parameter An example of the parameter information received from the DFC when invoking the Identify Drive command (ECh) is listed in table below: Table 3-15: Identify Drive Parameter Word Address 0 1 2 3 4 5 6 7-8 9 10 - 19 20 21 22 23 - 26 27 - 46 47 48 49 50 51 52 53 54 55 56 57 - 58 59 60 - 61 62 63 64 65 66 67 68 69 - 79 Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com Default Value 045AH XXXXH 0000H 00XXH 0000H 0200H XXXXH XXXXH 0000H XXXXH 0002H 0001H 0004H XXXXH XXXXH 8001H 0000H 0F00H 4001H 0200H 0000H 0007H XXXXH XXXXH XXXXH XXXXH 010XH XXXXH 0000H 0X0XH 0003H 0078H 0078H 0078H 0078H 0000H Bytes 2 2 2 2 2 2 2 4 2 20 2 2 2 8 40 2 2 2 2 2 2 2 2 2 2 4 2 4 2 2 2 2 2 2 2 22 Data Field Type Information General configuration bit-significant information Default number of cylinders Reserved Default number of heads Number of unformatted bytes per track Number of unformatted bytes per sector Default number of sectors per track Number of sectors per DFC Reserved Serial Number in ASCII (20 characters) Buffer type (dual-ported multi-sector) Buffer size in 512 byte increments # of ECC bytes passed on Read/Write Long commands Firmware revision (8 ASCII characters) Model Number in ASCII (40 characters) Maximum 1 sector on Read/Write Multiple command Double Word not supported Capabilities: DMA, LBA, IORDY supported Capabilities: device specific standby timer minimum PIO data transfer cycle timing mode 2 DMA data transfer cycle timing mode not supported Data Fields 54 – 58, 64 – 70, and 88 are valid Number of Current Logical Cylinders Number of Current Logical Heads Number of Current Logical Sectors Per Track Current Capacity in Sectors Multiple sector setting is valid Total number of sectors addressable in LBA Mode Single word DMA transfer not implemented Multiword DMA transfer mode Advanced PIO modes supported (modes 3 and 4) Minimum multiword DMA cycle time, 0 if no MDMA Recommended multiword DMA cycle time, 0 if no MDMA Minimum PIO cycle time without flow control Minimum PIO cycle time with flow control Reserved 06/26/2013 Viking Technology Page 25 of 39 Word Address 80 81 Default Value 0020H 0000H 82 740BH 2 83 84 5004H 4000H 2 2 85 740XH 2 86 87 88 89 90 91 92 93 94 – 127 128 1004H 4000H XXXXH 0000H 0000H 0000H XXXXH XXXXH 0000H 0XXXH 2 2 2 2 2 2 2 2 72 2 129 XX00H 2 XXXXH 8 848AH 045AH 2 2 XXXXH 12 XXXXH 12 XXXXH 12 0000H 12 A064H 0000H 0000H XXXXH 001BH 2 2 2 2 2 0000H 180 XXA5H 2 130 – 133 134 135 136 – 141 142 – 147 148 – 153 154 – 159 160 161 162 163 164 165 – 254 255 Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com Bytes Data Field Type Information 2 2 Major version number, ATA-5 support Minor version number, not reported Command set: NOP, READ BUFFER, WRITE BUFFER, host protected area, power management feature set, Security Mode feature set, SMART feature set Command set: FLUSH CACHE, CFA feature set Command set/feature supported extension Command set enabled: NOP, READ BUFFER, WRITE BUFFER, host protected area, power management feature set, Security Mode feature set enabled/disabled, SMART feature set enabled/disabled Command set enabled: FLUSH CACHE, CFA feature set Command set/feature default UDMA mode Time for Security Erase Unit not specified Time for Enhanced Security Erase Unit not specified Reserved Master Password Revision Code Hardware Reset Result Reserved Security Status Write Protect Status. Bit 15 = permanent write protect, no more spare blocks available Firmware date string General Configuration word for PCMCIA mode General Configuration word for True-IDE mode Firmware file name Preformat file name Anchor program file name Reserved CFA Power Mode: no power level 1, max 100mA Reserved Key Management Schemes: CPRM not supported CFA advanced modes: supported and enabled bits CFA advanced modes: 80ns I/O and Memory supported Reserved Integrity Word 06/26/2013 Viking Technology Page 26 of 39 Table 3-16: Identify Drive Parameter Table in PCMCIA mode showing word differences Word Address 0 49 63 65 66 93 163 164 Default Value 848AH 0E00H 0000H 0000H 0000H 0000H 0000H Bytes 2 2 2 2 2 2 4 Data Field Type Information General configuration bit-significant information Capabilities: LBA, IORDY supported Multi Word DMA transfer mode not supported Minimum Multi Word DMA cycle time Recommended Multi Word DMA cycle time Hardware Reset Result not supported CFA advanced modes: not supported Table 3-17: Identify Drive Parameter Table in PCMCIA mode showing word differences Word Address Default Value Bytes 83 86 160-164 5000H 1000H 0000H 2 2 10 Data Field Type Information Command set: FLUSH CACHE Command set enabled: FLUSH CACHE Reserved 3.9 SMART Support The Viking Firmware supports the following SMART commands, determined by the Feature Register value. Table 3-18: Supported SMART Commands determined by Feature Register value Value D0h D1h D2h D8h D9h DAh E0h E1h Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com Command SMART Read Data SMART Read Attribute Thresholds SMART Enable/Disable Attribute Autosave SMART Enable Operations SMART Disable Operations SMART Return Status SMART Read Remap Data SMART Read Wear Level Data 06/26/2013 Viking Technology Page 27 of 39 SMART commands with Feature Register values not mentioned in the above table are not supported, and will be aborted. 3.9.1 SMART Enable Operations COMMAND CODE | B0h with a Feature Register value of D8h PROTOCOL | Non-data. INPUTS | Register Features Sector Count Sector Number Cylinder Low Cylinder High Device/Head Command 7 6 5 4 3 2 1 0 D8h 4Fh C2h 1 1 1 D B0h NORMAL OUTPUTS | None required. ERROR OUTPUTS | Aborted if the signature in the Cylinder registers is invalid. DESCRIPTION | This command enables access to the SMART capabilities of the firmware. The state of SMART (enabled or disabled) is preserved across power cycles. 3.9.2 SMART Disable Operations COMMAND CODE | B0h with a Feature Register value of D9h PROTOCOL | Non-data. INPUTS | Register Features Sector Count Sector Number Cylinder Low Cylinder High Device/Head Command 7 6 5 4 3 2 1 0 D9h 4Fh C2h 1 1 1 D B0h NORMAL OUTPUTS | None required. ERROR OUTPUTS | Aborted if either the signature in the Cylinder registers is invalid, or if SMART is not enabled. Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 28 of 39 DESCRIPTION | This command disables access to the SMART capabilities of the firmware. The state of SMART (enabled or disabled) is preserved across power cycles. 3.9.3 SMART Enable/Disable Attribute Autosave COMMAND CODE | B0h with a Feature Register value of D2h PROTOCOL | Non-data. INPUTS | Register Features Sector Count Sector Number Cylinder Low Cylinder High Device/Head Command 7 6 5 4 3 D2h 00h or F1h 2 1 0 4Fh C2h 1 1 1 D B0h NORMAL OUTPUTS | None required. ERROR OUTPUTS | Aborted if either the signature in the Cylinder registers is invalid, or if SMART is not enabled. DESCRIPTION | This command is effectively a no-operation as the data for the SMART functionality is always available and kept current in the firmware. Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 29 of 39 3.9.4 SMART Read Data COMMAND CODE | B0h with a Feature Register value of D0h PROTOCOL | PIO data in. INPUTS | Register Features Sector Count Sector Number Cylinder Low Cylinder High Device/Head Command 7 6 5 4 3 2 1 0 D0h 4Fh C2h 1 1 1 D B0h NORMAL OUTPUTS | None required. ERROR OUTPUTS | Aborted if either the signature in the Cylinder registers is invalid, or if SMART is not enabled. DESCRIPTION | This command returns one sector of SMART data. The data structure returned is: Offset 0..1 2..361 362 363 364..365 366 367 368..369 370 371 372 373 374..385 386..387 388..391 392..395 396 397 398..510 511 Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com Value 0004h 00h 00h 0000h 00h 00h 0003h 00h 00h 00h 00h 00h 0002h 00h Description SMART structure version Attribute entries 1 to 30 (12 bytes each) Off-line data collection status (no off-line data collection) Self-test execution status byte (self-test completed) Total time to complete off-line data collection  Off-line data collection capability (no off-line data collection) SMART capabilities Error logging capability (no error logging)  Short self-test routine recommended polling time Extended self-test routine recommended polling time Reserved SMART Version Firmware “Commit” counter Firmware Wear Level Threshold Global Wear Leveling active Global Bad Block Management active  Data structure checksum 06/26/2013 Viking Technology Page 30 of 39 There are six attributes that are defined for the firmware. These return their data in the attribute section of the SMART data, using a 12 byte data field. The field at offset 386 gives a version number for the contents of the SMART data structure. For the controller, only version 2 is defined. The byte at offset 396 is 0 if the wear leveling has not yet started its global operation and 1 if the global wear leveling has started. This happens when the most used chip has reached the erase count threshold defined in the Erase Count Attribute. The byte at offset 397 is 0 if the bad block management is still working chip local, and 1 if the global bad block management has started. This happens when one of the flash chips runs out of spare blocks, in this case spare blocks from different flash chips are used. 3.9.4.1 Spare Block Count Attribute This attribute gives information about the amount of available spare blocks. Offset 0 1..2 3 Value 196 0003h 4..5 6..7 8..9 10..11 Description Attribute ID – Reallocation Count Flags – Pre-fail type, attribute value is updated during normal operation Attribute value. The value returned here is the percentage of remaining spare blocks summed over all flash chips, i.e. (100 x current spare blocks / initial spare blocks) Initial number of spare blocks of the flash chip with the lowest current number of spare blocks Current number of spare blocks of the flash chip with the lowest current number of spare blocks Sum of the initial number of spare blocks for all flash chips Sum of the current number of spare blocks for all flash chips 3.9.4.2 Erase Count Attribute This attribute gives information about the amount of flash block erases that have been performed. Offset 0 1..2 3 Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com Value 229 000Xh Description Attribute ID – Erase Count Usage (vendor specific) Flags – Pre-fail or Advisory type, attribute value is updated during normal operation Attribute value. The value returned here is an estimation of the remaining card life, in percent, based on the number of flash block 06/26/2013 Viking Technology Page 31 of 39 erases compared to the target number of erase cycles per block. Estimated total number of block erases 4..11 This attribute is used for the SMART Return Status command. If the attribute value field is less than the erase count threshold, the SMART Return Status command will indicate a threshold exceeded condition. 3.9.4.3 Total ECC Errors Attribute This attribute gives information about the total number of ECC errors that have occurred on flash read commands. This attribute is not used for the SMART Return Status command. Offset 0 1..2 Value 203 0002h 3 4..7 8..11 64h Description Attribute ID – Number of ECC errors Flags – Advisory type, attribute value is updated during normal operation Attribute value. This value is fixed at 100. Total number of ECC errors (correctable and uncorrectable)  3.9.4.4 Correctable ECC Errors Attribute This attribute gives information about the total number of correctable ECC errors that have occurred on flash read commands. This attribute is not used for the SMART Return Status command. Offset 0 1..2 Value 204 0002h 3 4..7 8..11 64h Description Attribute ID – Number of corrected ECC errors Flags – Advisory type, attribute value is updated during normal operation Attribute value. This value is fixed at 100. Total number of ECC errors (correctable and uncorrectable)  3.9.4.5 Total Number of Reads Attribute This attribute gives information about the total number of flash read commands. This can be useful for the interpretation of the number of correctable or total ECC errors. This attribute is not used for the SMART Return Status command. Offset 0 Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com Value 232 Description Attribute ID – Number of Reads 06/26/2013 Viking Technology Page 32 of 39 1..2 0002h 3 4..11 64h Flags – Advisory type, attribute value is updated during normal operation Attribute value. This value is fixed at 100. Total number of flash read commands 3.9.4.6 UDMA CRC Errors Attribute This attribute gives information about the total number of UDMA CRC errors that have occurred on flash read commands. This attribute is not used for the SMART Return Status command. Offset 0 1..2 Value 199 0002h 3 4..7 8..11 64h Description Attribute ID – UDMA CRC error rate Flags – Advisory type, attribute value is updated during normal operation Attribute value. This value is fixed at 100. Total number of UDMA CRC errors  3.9.5 SMART Read Attribute Thresholds COMMAND CODE | B0h with a Feature Register value of D1h PROTOCOL | PIO data in. INPUTS | Register Features Sector Count Sector Number Cylinder Low Cylinder High Device/Head Command 7 6 5 4 3 2 1 0 D1h 4Fh C2h 1 1 1 D B0h NORMAL OUTPUTS | None required. ERROR OUTPUTS | Aborted if either the signature in the Cylinder registers is invalid, or if SMART is not enabled. DESCRIPTION | This command returns one sector of SMART attribute thresholds. The data structure returned is: Offset 0..1 2..361 362..379 380..510 Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com Value 0004h 0002h 00h 00h Description SMART structure version Attribute threshold entries 1 to 30 (12 bytes each) Reserved  06/26/2013 Viking Technology Page 33 of 39 511 Data structure checksum 3.9.5.1 Spare Block Count Attribute Threshold Offset 0 1 2..11 Value 196 00h Description Attribute ID – Reallocation Count Factory Programmed Spare Block Count Threshold Reserved 3.9.5.2 Erase Count Attribute Threshold Offset 0 1 2..11 Value 229 00h Description Attribute ID – Erase Count Usage Factory Programmed Erase Count Threshold Reserved 3.9.5.3 Total ECC Errors Attribute Threshold Offset 0 1 2..11 Value 203 00h 00h Description Attribute ID – Number of ECC errors No threshold for the Total ECC Errors Attribute Reserved 3.9.5.4 Correctable ECC Errors Attribute Offset 0 1 2..11 Value 204 00h 00h Description Attribute ID – Number of corrected ECC errors No threshold for the Correctable ECC Errors Attribute Reserved 3.9.5.5 Total Number of Reads Attribute Offset 0 1 2..11 Value 232 00h 00h Description Attribute ID – Number of Reads No threshold for the Total Number of Reads Attribute Reserved 3.9.5.6 UDMA CRC Errors Attribute Offset 0 Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com Value 199 Description Attribute ID – UDMA CRC error rate 06/26/2013 Viking Technology Page 34 of 39 1 2..11 00h 00h No threshold for the UDMA CRC Errors Attribute Reserved 3.9.6 SMART Return Status COMMAND CODE | B0h with a Feature Register value of DAh PROTOCOL | Non-data. INPUTS | Register Features Sector Count Sector Number Cylinder Low Cylinder High Device/Head Command 7 6 5 4 3 2 1 0 DAh 4Fh C2h 1 1 1 D B0h NORMAL OUTPUTS | Returns a status indication as described below. ERROR OUTPUTS | Aborted if either the signature in the Cylinder registers is invalid, or if SMART is not enabled. DESCRIPTION | This command checks the device reliability status. If a threshold exceeded condition exists for either the Spare Block Count attribute or the Erase Count attribute, the device will set the Cylinder Low register to F4h and the Cylinder High register to 2Ch. If no threshold exceeded condition exists, the device will set the Cylinder Low register to 4Fh and the Cylinder High register to C2h. 3.9.7 SMART Read Remap Data COMMAND CODE | B0h with a Feature Register value of E0h PROTOCOL | PIO data in. INPUTS | Register Features Sector Count Sector Number Cylinder Low Cylinder High Device/Head Command 7 6 5 4 3 2 1 0 E0h 01h 4Fh C2h 1 1 1 D B0h NORMAL OUTPUTS | None required. ERROR OUTPUTS | Aborted if either the signature in the Cylinder registers is invalid, if the Sector Count is not 1, or if SMART is not enabled. Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 35 of 39 DESCRIPTION | This command returns one sector of spare block information. The information is the initial number of blocks per flash chip available for bad block remap, and the current number of blocks per flash chip available for bad block remap. The layout of the returned sector is: Offset 0..31 32..63 64..511 Description Initial number of replacement blocks for chips 0..15, 2 bytes per entry Current number of replacement blocks for chips 0..15, 2 bytes per entry  3.9.8 SMART Read Wear Level Data COMMAND CODE | B0h with a Feature Register value of E1h PROTOCOL | PIO data in. INPUTS | Register Features Sector Count Sector Number Cylinder Low Cylinder High Device/Head Command 7 6 5 4 3 2 1 0 E1h 04h 4Fh C2h 1 1 1 D B0h NORMAL OUTPUTS | None required. ERROR OUTPUTS | Aborted if either the signature in the Cylinder registers is invalid, if the Sector Count is not 4, or if SMART is not enabled. DESCRIPTION | This command will return four sectors of information regarding the status of the wear leveling. The information returned is the distribution of the blocks into the 1024 possible wear level classes. For each of the wear level classes, the number of blocks that have this class is returned in the data sectors. The layout of the returned sectors is, with n the sector number from 0 to 3: Offset 0..1 2..3 … 508..509 510..511 Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com Description Number of flash blocks that have wear level class 256*n+0 Number of flash blocks that have wear level class 256*n+1 … Number of flash blocks that have wear level class 256*n+254 Number of flash blocks that have wear level class 256*n+255 06/26/2013 Viking Technology Page 36 of 39 i.e. the first sector returns the information for wear level classes 0 to 255, the second sector returns the information for wear level classes 256 to 511, and so on. A block moves from one wear level class into the next when it reaches the number of erases that is specified as the factory programmed “Wear Level Threshold”. A common threshold number is 4095, this means that blocks in wear level class 0 have seen 0 to 4095 erases, blocks in wear level class 1 have seen 4096 to 8191 erases, and so on. Using this information, statements about the wear of the card, and of the estimated remaining life can be made. The useful range of wear level classes is 0 to 1022, class 1023 has blocks that are not subject to wear leveling, like the Anchor block. Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 37 of 39 4 Certifications and Compliance Table 4-1: Device Certifications Certification/Compliance RoHS China RoHS Description Restriction of Hazardous Substance Directive Restriction of Hazardous Substance Directive, China 5 References CF+ and Compact Flash Card Specification Revision 4.1 (for command set only) Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 38 of 39 6 Part Number Decoder Datasheet PSFDFC4XXXXEXX Revision A2 www.vikingtechnology.com 06/26/2013 Viking Technology Page 39 of 39