Industrial Trading chervon right Manufacturers chervon right M chervon right M-SYSTEMS chervon right DiskOnChip IDE Pro
About product Features Datasheet FAQ

M-SYSTEMS DiskOnChip IDE Pro

Image of M-SYSTEMS DiskOnChip IDE Pro

Description

M-Systems DiskOnChip IDE Pro Series Flash Disk with IDE Interface

Part Number

DiskOnChip IDE Pro

Price

Request Quote

Manufacturer

M-SYSTEMS

Lead Time

Request Quote

Category

Flash Disk Module

Features

Datasheet

pdf file

M-Systems-DiskOnChip-IDE-Pro-Flash-Disk-with-IDE-Interface-datasheet1-1594107422.pdf

437 KiB

Extracted Text

Data Sheet ® DiskOnChip IDE Pro Flash Disk with IDE Interface Highlights DiskOnChip IDE Pro is a flash disk with an IDE interface. It combines advanced and proven DiskOnChip technology with a standard IDE interface to complement the DiskOnChip product line. DiskOnChip IDE Pro provides: � NAND flash-based technology � High performance � Platform independence � Fast time to market - no driver required � 40-pin or 44-pin IDE connector � Hamming code-based EDC/ECC � 16-bit internal and external operation for 32Mbyte Operating Temperature (MB) capacity and higher � Temperature Range: 0ºC to +70ºC � 16-bit external and 8-bit internal operation for 16MB capacity Environmental Conditions � IDE Master/Slave modes of operation � Storage Temperature: -55°C to + 80°C IDE Modes � Vibration: 1G, each axis � PIO modes 0-4 � Shock: 10G, 3 axis Performance System Compatibility � Host Data Transfer Rate (Max): 16.6MB/sec � Compatible with devices that support the ATA-4 Attachment (without DMA support) for Disk Power Requirements Drives Standard. � Single power supply: 5V (± 10%) Capacity and Packaging � Current � Available in 16 to 256MB capacity o Active Mode (Max.): 55 mA � Vertical alignment o Sleep/Idle Mode (Max): 0.18 mA � 40-pin IDE connector (mm): 56.3 x 30.6 x 6.0 (LxWxH) � 44-pin IDE connector (mm): 53.0 x 31.2 x 6.0 (LxWxH) 1 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet Table of Contents 1. Introduction..........................................................................................................................4 2. Product Overview ................................................................................................................5 2.1 Product Description ...................................................................................................................... 5 2.2 Pin Assignment............................................................................................................................. 6 2.3 Pin Description.............................................................................................................................. 7 2.4 Capacities and CHS (Cylinder, Head, Sector) ............................................................................. 8 3. Theory of Operation ............................................................................................................9 3.1 Overview....................................................................................................................................... 9 4. Description of Command Block Registers......................................................................10 4.1 Status Register (Read) ............................................................................................................... 10 4.2 Command Register (Write)......................................................................................................... 10 4.3 Error Register (Read) ................................................................................................................. 11 4.4 Feature Register (Write) ............................................................................................................. 11 4.5 Sector Number Register (LBA 0-7) (Read/Write) ....................................................................... 11 4.6 Cylinder Low Register (LBA 8-15) (Read/Write) ........................................................................ 12 4.7 Cylinder High Register (LBA 16-23) (Read/Write)...................................................................... 12 4.8 Device/Head Register (Read/Write) ........................................................................................... 13 4.9 Sector Count Register (Read/Write)........................................................................................... 13 4.10 Data Register (Read/Write) ........................................................................................................ 13 4.11 Alternate Status Register (Read)................................................................................................14 4.12 Device Control Register (Write).................................................................................................. 14 5. Supported ATA Command Set .........................................................................................15 5.1 Command Set Description.......................................................................................................... 16 5.1.1 Check Power Mode – 98h, E5h ......................................................................................... 16 5.1.2 Execute Drive Diagnostics – 90h ....................................................................................... 16 5.1.3 Identify Drive – ECh ........................................................................................................... 17 5.1.4 Idle – 97h, E3h................................................................................................................... 19 5.1.5 Idle Immediate – 95h, E1h ................................................................................................. 19 5.1.6 Initialize Drive Parameters – 91h ....................................................................................... 20 5.1.7 Read Buffer – E4h.............................................................................................................. 20 5.1.8 Read Multiple – C4h........................................................................................................... 21 5.1.9 Read Sector(s) – 20h, 21h................................................................................................. 22 5.1.10 Read Long Sector – 22H, 23h ..................................................................................... 23 5.1.11 Read Verify Sector(s) – 40h, 41h................................................................................. 24 5.1.12 Recalibrate – 1Xh ........................................................................................................ 25 5.1.13 Seek – 7Xh................................................................................................................... 26 5.1.14 Set Features – EFh...................................................................................................... 26 5.1.15 Set Multiple Mode – C6h.............................................................................................. 27 5.1.16 Set Sleep Mode – 99h, E6h......................................................................................... 28 5.1.17 Standby – 96h, E2h ..................................................................................................... 28 5.1.18 Standby Immediate – 94h, E0h.................................................................................... 29 5.1.19 Write Buffer – E8h........................................................................................................ 29 5.1.20 Write Long Sector – 32h, 33h ...................................................................................... 30 5.1.21 Write Multiple Command – C5h................................................................................... 31 2 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 5.1.22 Write Sector(s) – 30h, 31h........................................................................................... 32 5.1.23 Write Verify Sector(s) – 3Ch ........................................................................................ 33 5.2 Valid Error and Status Register Values...................................................................................... 34 6. Installation Requirements.................................................................................................35 6.1 Connecting DiskOnChip IDE Pro Electrically ............................................................................. 35 6.2 Installing DiskOnChip IDE Pro in a Two-Drive Configuration (Master/Slave) ............................ 36 7. Power Management...........................................................................................................37 8. Specifications ....................................................................................................................38 8.1 Environmental Specifications ..................................................................................................... 38 8.2 Mechanical Dimensions.............................................................................................................. 38 8.3 Physical Characteristics.............................................................................................................. 39 8.3.1 Weight ................................................................................................................................ 39 8.4 Absolute Maximum Ratings........................................................................................................40 8.5 Electrical Specifications.............................................................................................................. 40 8.5.1 DC Characteristics ............................................................................................................. 40 8.5.2 AC Characteristics ............................................................................................................. 41 9. Ordering Information.........................................................................................................42 3 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 1. Introduction This data sheet includes the following sections: Section 1: Overview of data sheet contents Section 2: Product overview, including brief product description, pin assignment and description Section 3: Theory of operation Section 4: Descriptions of Command Block registers Section 5: Modes of operation and supported ATA command set Section 6: Installation requirements Section 7: Power Management Section 8: Environmental, mechanical, electrical and production specifications Section 9: Product ordering information For additional information on M-Systems’ flash disk products, please contact one of the offices listed on the back page. 4 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 2. Product Overview 2.1 Product Description DiskOnChip IDE Pro complements the DiskOnChip product line, offering full IDE capabilities, high performance, a built-in ECC system and flexible design options. It can be used in any system with an IDE bus and can work with any operating system, since the driver is handled at the BIOS level. DiskOnChip IDE Pro offers both internal and external 16-bit operation. This provides for superior performance over other IDE alternatives. DiskOnChip IDE Pro is based on NAND flash technology. This technology is superior in its data storage characteristics, featuring the industry’s highest write and erase performance, as well as the highest burst read/write transfer rate. Additionally, NAND flash technology is known for its high density and small die size, with the related cost and real estate benefits. Data integrity is guaranteed through embedded error detection and error correction code (EDC/ECC) that automatically detects and corrects data errors. The EDC/ECC algorithm is based on Hamming code and can detect up to 2 bits and correct 1 bit per 512 bytes. DiskOnChip IDE Pro is ergonomically designed for easy installation and ready-to-run operation. Available in 40-pin and 44-pin connector packages, DiskOnChip IDE Pro fits easily into any platform with an IDE connector. A LED provides activity indication, while a specially designed case enables easy insertion. A screw hole can be used to secure DiskOnChip IDE Pro firmly in place. DiskOnChip IDE Pro is available in capacities ranging from 16MB to 256MB, making the upgrade path simple and fast. 5 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 2.2 Pin Assignment See Table 1 for the pin assignment of DiskOnChip IDE Pro. Table 1: Pin Assignment Pin No. Signal Function Pin No. Signal Function 1 Host reset 2 GND Ground RESET# 3 Host Data bit 7 4 HD8 Host Data bit 8 HD7 5 Host Data bit 6 6 HD9 Host Data bit 9 HD6 7 HD5 Host Data bit 5 8 HD10 Host Data bit 10 9 Host Data bit 4 10 HD11 Host Data bit 11 HD4 11 Host Data bit 3 12 HD12 Host Data bit 12 HD3 13 Host Data bit 1 14 HD13 Host Data bit 13 HD2 15 HD1 Host Data bit 1 16 HD14 Host Data bit 14 17 Host Data bit 0 18 HD15 Host Data bit 15 HD0 1 19 Ground 20 40-pin VCC Supply Voltage GND 44-pin KEY Cut pin 21 Not Connected 22 GND Ground NC 23 HIOW# Host I/O Write 24 GND Ground 25 Host I/O Read 26 GND Ground HIOR# 27 I/O Ready 28 CSEL Master/Slave IORDY Select 29 Not Connected 30 GND Ground NC 31 Interrupt Request 32 IOIS16# CS I/O 16-bit INTRQ 33 Host Address bit 1 34 PDIAG# Passed Diagnostics HA1 35 Host Address bit 0 36 HA2 Host Address bit 2 HA0 37 Chip Select 0 38 CS1# Chip Select 1 CS0# 39 Drive Active/ 40 GND Ground DASP# Drive 1 Present 2 2 41 Supply Voltage 42 VCC Supply Voltage VCC 2 2 43 Ground 44 RESERVED Reserved GND 1) In the 40-pin version, this pin is defined as VCC to reduce the need for an external power connector. In the 44-pin version, this pin is defined as KEY, according to the ATA standard. 2) DiskOnChip IDE Pro 40-pin version does not contain pins 41-44. NC = These pins are not connected internally. RESERVED = All reserved signals must be left floating. 6 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 2.3 Pin Description Table 2 contains the pin description of DiskOnChip IDE Pro. Table 2: Pin Description Signal Signal Pin No. Description Type RESET# 1 Host reset: Active low. Input HD15-HD0 3-18 Host Data bus [15:0]. 16-bit bi-directional data input/output bus. HD15 is I/O the most significant bit, while HD0 is the least significant bit. This bus carries data, commands and status information between the host and DiskOnChip IDE Pro. The lower 8 bits are used for 8-bit register transfers. Data transfers are 16-bits wide. DIOW# 23 Device I/O Write: Active low. Gates the data from the bus into Input DiskOnChip IDE Pro. The clocking occurs on the rising edge of the signal. DIOR# 25 Device I/O Read: Active low. Gates the data onto the bus from Input DiskOnChip IDE Pro. The clocking occurs on the falling edge of the signal. IORDY 27 I/O Ready: Negated by DiskOnChip IDE Pro to extend the host transfer Output cycle (Read or Write) when the device is not ready to respond to a data transfer request. CSEL 28 Configuration Select: Determines the device configuration as either Input Master or Slave. If CSEL is negated, then the device address is Master; if CSEL is asserted, then the device address is Slave. INTRQ 31 Interrupt Request: Interrupt request from DiskOnChip IDE Pro to the Output host. The output of this signal is tri-stated if the host disables the interrupt. When asserted, this signal is negated by the device within 400 nsec of the negation of DIOR# that reads the Status register. When asserted, this signal is negated by the device within 400 nsec of the negation of DIOW# that writes the Command register. IOIS16# 32 I/O IS I6-Bit: Active low. Asserted (low) by DiskOnChip IDE Pro to Output indicate to the host that the current cycle is a 16-bit (word) data transfer. When the signal is negated (high), an 8-bit data transfer is performed. HA2-HA0 33,35,36 Host Address bus HA[2:0]: Select the registers in the DiskOnChip IDE Input Pro controller. PDIAG# 34 Passed Diagnostics: Active low. Informs the Master drive that the self- I/O diagnostic of the Slave drive has ended. CS0# 37 Host Chip Select 0: Active low. Selects the Command Block registers. Input CS1# 38 Host Chip Select 1: Active low. Selects the Command Block registers. Input DASP# 39 Drive Active/Drive1 Present: Active low. This is a time-multiplexed I/O signal that indicates that a device is active, or that Device 1 is present. GND 2,19,22,24,26,Ground Ground 30,40,43 VCC 41, 42 Power supply Supply 7 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 2.4 Capacities and CHS (Cylinder, Head, Sector) Table 3 shows the various capacities available for DiskOnChip IDE Pro, as well as the CHS (Cylinder, Head and Sector) for each capacity. If DiskOnChip IDE Pro is not identified or your platform does not support auto-detection, use the following parameters to complete the Drive Parameter Table. Table 3: Drive Parameters Unformatted Formatted Disk Cylinders Heads Sectors/Heads Bytes/Sector Disk Capacity Capacity (MB) (# of Sectors) 16 31744 496 2 32 512 32 63488 992 2 32 512 64 126976 248 16 32 512 128 253952 496 16 32 512 256 507904 992 16 32 512 8 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 3. Theory of Operation 3.1 Overview Figure 1 shows DiskOnChip IDE Pro operation from the system level, including the major hardware blocks. Controller CPU Data Signals 8-bit Flash Control & Bus Control Status RAM EPROM 8bit Flash Control & Address Address Signals EDC/ECC Decoder Figure 1: DiskOnChip IDE Pro Block Diagram DiskOnChip IDE Pro integrates an IDE controller and flash devices. Communication with the host occurs through the host interface, using the standard ATA protocol. Communication with the flash device(s) occurs through the flash interface. The IDE controller incorporates a Control & Status block that consists of the Command Block registers. The ATA commands that instruct the IDE controller which operation needs to be executed are written/read from the Command Block registers. The data blocks are also transferred via the Command Block Registers. A description of the Command Block registers can be found in Section 4. The embedded EDC/ECC mechanism is based on the Hamming code algorithm, and can detect up to 2 bits and correct 1 bit per 512 bytes. 9 Data Sheet, Rev. 1.1 91-SR-012-01-8L Host Interface Flash Interface DiskOnChip IDE Pro Data Sheet 4. Description of Command Block Registers The Command Block registers are used for sending commands to the device or posting status from the device. These registers include the Cylinder High, Cylinder Low, Device/Head, Sector Count, Sector Number, Command, Status, Features, Error, and Data registers. The Control Block registers are used for device control and to post alternate status. These registers include the Device Control and Alternate Status registers. 4.1 Status Register (Read) This register contains the device status. The contents of this register are updated to reflect the current state of the device and the progress of any command being executed by the device. When BSY=0, the other bits in this register are valid. When BSY=1, other bits in this register are not valid. The contents of this register and all other Command Block Registers are not valid when the device is in Sleep mode. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 BSY DRDY DF DSC DRQ CORR IDX ERR Bit No. Description ERR. When set, indicates that an error has occurred during the previous command execution. The bits 0 in the Error register indicate the cause. See Section 5.2 for an overview of error codes. IDX (Index). Index is vendor specific. 1 CORR (Corrected Data). Indicates a correctable data error. The definition of what constitutes a 2 correctable error is vendor specific. DRQ (Data Request). When set, indicates that the device is ready to transfer a word or byte of data 3 between the host and the device. DSC (Drive Seek Complete). When set, indicates that the requested sector was found. 4 DF (Device Fault). Indicates that a device fault error has been detected. 5 DRDY (Device Ready). Indicates whether the device is capable of performing drive operations 6 (commands). This bit is cleared at power up and remains cleared until the drive is ready to accept a command. BSY (Busy). Set whenever the device has control of the Command Block registers. When BSY=1, the 7 commands written to this register will be ignored by the device. 4.2 Command Register (Write) This register contains the ATA command code that the host sends to the device. Command execution begins immediately after this register is written. This register is write-only when BSY=0 and DRQ=0. The contents of this register and all other Command Block registers are not valid when the device is in Sleep mode. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Command Code 10 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 4.3 Error Register (Read) The Error register contains additional information about the source of an error. The content of this register is only valid when BSY=0 and DRQ=0 in the Status register and the ERR bit is asserted. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Reserved UNC MC IDNF MCR ABRT TKONF AMNF Bit No. Description AMNF (Address Mark Not Found). Indicates that the data address mark has not been found after 0 finding the correct ID field. TKONF (Track 0 Not Found). Indicates that track 0 has not been found during a RECALIBRATE 1 command. ABRT (Abort). Indicates that the requested command has been aborted because the command code or 2 a command parameter is invalid or some other error has occurred. MCR (Media Change Request). Not supported. 3 IDNF (ID-field Not Found). Requested sector ID-field Not Found. 4 MC (Media Changed). Not supported. 5 6 UNC (Uncorrected). Non-correctable data error encountered. Reserved. 7 4.4 Feature Register (Write) This register is command specific, and is write-only when BSY=0 and DRQ=0. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Command Specific 4.5 Sector Number Register (LBA 0-7) (Read/Write) The content of this register depends on the selected mode of address translation: CHS (Cylinder, Head, Sector) or LBA (Logical Block Address) mode. In CHS mode (LBA=0 in Device/Head register), this register contains the subsequent command’s starting sector number, which can be from 1 to the maximum number of sectors per track. In LBA mode (LBA=1 in Device/Head register), this register contains LBA bits 0-7, which are updated upon command completion. This register is write-only when BSY=0 and DRQ=0. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CHS Mode SN7 SN6 SN5 SN4 SN3 SN2 SN1 SN0 LBA Mode LBA7 LBA6 LBA5 LBA5 LBA3 LBA2 LBA1 LBA0 Bit No. Description CHS Mode SN[0:7] (Sector Numbers 0-7) 0-7 LBA Mode 11 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet LBA[0:7] (Logical Block Addresses 0-7) 0-7 4.6 Cylinder Low Register (LBA 8-15) (Read/Write) The contents of this register depend on the value of LBA bits 8-15 in the Device/Head register. If LBA=0, this register contains the 8 least significant bits of the starting cylinder address (CL bits 0-7). If LBA=1, this register contains LBA bits 8-15. This register is write-only when BSY=0 and DRQ=0. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CHS Mode CL7 CL6 CL5 CL4 CL3 CL2 CL1 CL0 LBA Mode LBA15 LBA14 LBA13 LBA12 LBA11 LBA10 LBA9 LBA8 Bit No. Description CHS Mode CL[0:7] (Cylinder Low Bits 0-7) 0-7 LBA Mode LBA[8:15] (Logical Block Addresses 8-15) 0-7 4.7 Cylinder High Register (LBA 16-23) (Read/Write) In CHS mode, the Cylinder High register contains the 8 high bits of the cylinder numbers, and reflects their status at command completion. In LBA mode, this register contains LBA bits 16-23 and reflects their status at command completion. This register is write-only when BSY=0 and DRQ=0. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CHS Mode CH7 CH6 CH5 CH4 CH3 Ch2 CH1 CH0 LBA Mode LBA23 LBA22 LBA21 LBA20 LBA19 LBA18 LBA17 LBA16 Bit No. Description CHS Mode CH[0:7] (Cylinder High Bits 0-7) 0-7 LBA Mode LBA[16:23] (Logical Block Addresses 16-23) 0-7 12 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 4.8 Device/Head Register (Read/Write) This register selects the device and defines address translation mode as CHS or LBA. In CHS mode it provides the head address. In LBA mode, it provides the assignment for LBA[27:24]. This register is write-only when BSY=0 and DRQ=0. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CHS Mode 1 LBA 1 DEV HS3 HS2 HS1 HS0 LBA Mode Reserved LBA27 LBA26 LBA25 LBA24 Bit No. Description CHS Mode HS[0:3] (Head Starting Address Bits 0-3). When LBA=0 (CHS), these bits contain the head address of 0-3 the starting CHS address. Bit HS3 is the most significant bit. DEV (Device Address). 4 0 = Master drive selected. 1 = Slave drive selected. 6 LBA (Address Mode Select). 0 = CHS (Cylinder, Head, Sector) mode. 1 = LBA (Logical Block Address) mode. LBA Mode LBA[24:27] (Logical Block Addresses 24-27). When LBA=1 (LBA mode), these bits represent LBA bits 0-3 24-27. Reserved. 4-7 4.9 Sector Count Register (Read/Write) The Sector Count register contains the number of data sectors requested to be transferred during a read or write operation between the host and the device. A zero value specifies 256 sectors. The command is successful if this register is zero on command completion. This register is write-only when BSY=0 and DRQ=0. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Sector Count 4.10 Data Register (Read/Write) The Data register is a 16-bit register used to transfer data blocks between the device’s data buffer and the host. This register can be written or the content is valid on read when DRQ=1. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 D7 D6 D5 D4 D3 D2 D1 D0 Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 D15 D14 D13 D12 D11 D10 D9 D8 13 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 4.11 Alternate Status Register (Read) This register contains the device status. The contents of this register are updated to reflect the current state of the device and the progress of any command being executed by the device. The contents of this register, except for BSY, is ignored when BSY=1. BSY is valid at all times. The contents of the register and all other Command Block registers are not valid while a device is in Sleep mode. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 BSY DRDY DF DSC DRQ CORR IDX ERR See Section 4.1 for the bit descriptions. 4.12 Device Control Register (Write) This register allows a host to software reset attached devices and to enable or disable the assertion of the INTRQ signal by a selected device. This register can only be written when DMACK# is not asserted. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Reserved SRST #IEN Reserved Bit No. Description Reserved. Clear this bit to 0. 0 1 #IEN (Interrupt Enable). 0 = Enables interrupts to the host (using the #IREQ tri-state pin). 1 = Disables all pending interrupts (#IREQ in high-Z). SRST (Soft Reset). This is the host software reset bit. 2 3-7 Reserved. 14 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 5. Supported ATA Command Set This section defines the format of the commands the host sends to DiskOnChip IDE Pro. The commands are issued to the device by loading the required registers in the command block with the supplied parameters, and then writing the command code to the register. DiskOnChip IDE Pro supports the IDE commands listed in Table 4. Table 4: Supported IDE Commands Register Command Code Command Name FR SC SN CY D/H CHECK POWER MODE 98h E5h - - - - D EXECUTIVE DEVICE 90h - - - - D DIAGNOSTIC IDENTIFY DEVICE ECh - - - - D IDLE 3 97h E3h - - - D IDLE IMMEDIATE 95h E1h - - - - D INITIALIZE DEVICE 3 91h - - - D+H PARAMETERS READ BUFFER E4h - - - - D READ MULTIPLE 3 3 3 C4h - D+H 20h 21h READ SECTOR(S) - 3 3 3 D+H READ LONG SECTOR(S) 3 3 22h 23h - - D+H READ VERIFY 3 3 3 40h 41h - D+H SECTOR(S) RECALIBRATE 10h - - - - D SEEK 3 3 70h - - D+H SET FEATURES 3 EFh - - - D SET MULTIPLE MODE 3 C6h - - - D SET SLEEP MODE 99h E6h - - - - D STANDBY 96h E2h - - - - D STANDBY IMMEDIATE 94h E0h - - - - D WRITE BUFFER E8h - - - - D WRITE VERIFY 3Ch - 3 3 3 3 WRITE MULTIPLE 3 3 3 C5h - D+H WRITE SECTOR(S) 3 3 3 30h 31h - D+H WRITE LONG SECTOR(S) 3 3 3 32h 33h - D+H NOP 00h - - - - D Definition of Abbreviations: Registers − FR: Feature register, SC: Sector Count register, SN: Sector Number register, CY: Cylinder registers, DH: Drive/Head register Symbols − 3: The register is valid, D: Only drive parameters are valid, H: Only head parameters are valid 15 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 5.1 Command Set Description 5.1.1 Check Power Mode – 98h, E5h This command checks the current power mode of DiskOnChip IDE Pro. When this command is issued in Sleep mode, or is being set to/recovering from Sleep mode, DiskOnChip IDE Pro sets the BSY bit in the Status register and the Sector Count register to 00h. Then the BSY bit is cleared, and an interrupt is generated. When DiskOnChip IDE Pro is in Idle mode, it sets the BSY bit in the Status register and the Sector Count register to FFh. Then the BSY bit in the Status register is cleared, and an interrupt is generated. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Sector Number Cylinder Low Cylinder High Device/Head 1 1 D Command 98h or E5h OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 0 1 0 1 0 0 0 0 Sector Count Power Mode Code (00h or FFh) Error R UNC MC IDNF MCR ABRT TKONF AMNF 0 0 0 0 0 0 0 5.1.2 Execute Drive Diagnostics – 90h This command performs self-diagnostics on various internal components of DiskOnChip IDE Pro. Results of the diagnostics are reported in the Error register. Note that the bit definitions for the Error register do not apply to this command. Instead, the value in the Error register is a diagnostic code. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Sector Number Cylinder Low Cylinder High Device/Head D Command 90h 16 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 3 3 3 3 0 0 0 Error Diagnostic code (see below) Code Description 01H No error detected 02H Formatter device error 03H Sector buffer error 04H ECC logic error 05H Slave failed 5.1.3 Identify Drive – ECh The Identify Drive command enables the host to receive parameter information from DiskOnChip IDE Pro. When the command is issued, the device performs the following sequence: sets the BSY bit, prepares to transfer the 256 words of device identification data to the host, sets the DRQ bit, clears the BSY bit, and generates an interrupt. The host can then transfer the data by reading the Data register. All reserved bits or words are set to 0. See Table 5 to identify drive information for this device. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Sector Number Cylinder Low Cylinder High Device/Head D Command ECh OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 3 3 0 0 1 0 0 Error R UNC MC IDNF MCR ABRT TKONF AMNF 3 0 0 0 0 0 0 17 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet Table 5: Identify Drive Descriptions Word Data Description General configuration bit-significant information 0 040AH Number of cylinders 1 XXXX Reserved 2 0000H Number of heads 3 XXXX Number of unformatted bytes per track 4 0000H Number of unformatted bytes per sector 5 0200H Number of sectors per track 6 XXXX Number of sectors per device (Word7= MSW, Word 8= LSW) 7-8 XXXX Reserved 9 0000H 10-19 XXXX Serial Number in ASCII Buffer type: dual ported, multi-sector, with read cache 20 0002H Buffer size in 512 byte increments 21 0002H # of ECC bytes passed on Read/Write Long Commands 22 0004H Firmware revision in ASCII 23-26 XXXX Model number in ASCII 27-46 XXXX Maximum of 1 sector on Read/Write Multiple command 47 0001H Cannot perform double word I/O (32 bits) 48 0000H Capabilities: DMA not Supported (bit 8), LBA supported (bit 9) 49 0200H Reserved 50 0000H PIO data transfer cycle timing mode 2 51 0200H DMA data transfer cycle timing mode not supported 52 0000H Word 54-58 are valid 53 0001H Current numbers of cylinders 54 XXXX Current numbers of heads 55 XXXX Current sectors per track 56 XXXX Current capacity in sectors (LBA)(Word 57= LSW, Word 58= MSW) 57-58 XXXX Multiple sector setting is valid 59 010XH Total number of sectors addressable in LBA Mode 60-61 XXXX Reserved 62-127 0000H Reserved vendor unique bytes 128-159 0000H Reserved 160-255 0000H 18 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 5.1.4 Idle – 97h, E3h This command causes DiskOnChip IDE Pro to set BSY, enter Idle mode, clear BSY and generate an interrupt. If the sector count is not 0, it is intercepted as a timer count (with a time base of 5 milliseconds, which differs from the ATA specification) and automatic Power-Down mode is enabled. If the sector count is 0, automatic Power-Down mode is disabled. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Timer Count (5 msec increments) Sector Number Cylinder Low Cylinder High Device/Head D Command E3h or 97h OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 3 0 0 1 0 0 0 Error R UNC MC IDNF MCR ABRT TKONF AMNF 3 0 0 0 0 0 0 5.1.5 Idle Immediate – 95h, E1h This command causes DiskOnChip IDE Pro to set BSY, enter Idle mode, clear BSY and generate an interrupt. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Sector Number Cylinder Low Cylinder High Device/Head D Command E1h or 95h OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 3 0 0 1 0 0 0 19 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet Error R UNC MC IDNF MCR ABRT TKONF AMNF 3 0 0 0 0 0 0 5.1.6 Initialize Drive Parameters – 91h Initialize Drive Parameters allows the host to alter the number of sectors per track and the number of heads per cylinder. This command does not check the validity of counts of sectors and heads. If an invalid value is set, an error is reported when another command attempts an invalid access. The Sector Count register specifies the number of logical sectors per logical track, and the Device/Head register specifies the maximum head number. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Number of sectors per track. Sector Number Cylinder Low Cylinder High Device/Head X 0 X D Head counts per cylinder Command 91h OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 3 3 3 0 0 1 0 Error R UNC MC IDNF MCR ABRT TKONF AMNF 3 0 0 0 0 0 0 5.1.7 Read Buffer – E4h This command enables the host to read the current contents of the device’s sector buffer. When this command is issued, the device sets the BSY bit, enables the sector buffer for a read operation, sets the DRQ bit, clears the BSY bit, and generates an interrupt. The host then reads the data from the buffer. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Sector Number Cylinder Low Cylinder High Device/Head D Command E4h OUTPUT Register 7 6 5 4 3 2 1 0 20 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 3 0 0 1 1 0 0 Error R UNC MC IDNF MCR ABRT TKONF AMNF 3 0 0 0 0 0 0 5.1.8 Read Multiple – C4h This command functions like the Read Sector(s) command, but instead of issuing interrupts for each sector, it issues interrupts when a block is transferred that contains the counts of sectors defined by the Set Multiple command. The DRQ required for the transfer should be set only at the start of the data block and does not affect other sectors. When the Read Multiple command is issued, the requested sectors (not the block counts or the sector counts in a block) are written into the Sector Count register. Errors occurring during command execution are reported at the start of a complete or partial block transfer. The transfer continues even if DRQ is set and the data is corrupted. After the data transfer, the task file content (with the block data containing the sectors where the error occurred) is undefined. To obtain valid error information the host must request a re-transmission. The next block or part of a block is transferred only if the error is correctable. For all other errors, the command is aborted after transferring a block containing an error. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count The number of sectors/logical blocks to transfer Sector Number Sector[7:0] or LBA[7:0] of the sector/LBA to transfer Cylinder Low Cylinder[7:0] or LBA[15:8] of the sector/LBA to transfer Cylinder High Cylinder[15:8] or LBA[23:16] of the sector/LBA to transfer Device/Head 1 LBA 1 D Head (LBA 27-24) Command C4h OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 3 3 3 0 0 1 0 Sector Count Sector Number Cylinder Low Cylinder High Device/Head Error R UNC MC IDNF MCR ABRT TKONF AMNF 3 3 3 0 0 0 0 21 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 5.1.9 Read Sector(s) – 20h, 21h This command allows the host to read up to 256 sectors as specified in the Sector Count register. A sector count of 0 indicates a transfer request of 256 sectors. The transfer starts from the sector specified in the Sector Number register. DRQ is set prior to the transfer, regardless of the error state. The command ends by placing the cylinder, head and sector number of the last read sector in the task file. If an error occurs, the read operation aborts in the sector with the error. The Cylinder, Head and Sector number of the sector with the error is placed in the task file. The error data remains in the data buffer. The Cylinder Low, Cylinder High, Device/Head and Sector Number or LBA registers specify the starting sector address to be read. The Sector Count register specifies the number of sectors to be transferred. 22 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count The number of sectors/logical blocks to transfer Sector Number Sector[7:0] or LBA[7:0] of the sector/LBA to transfer Cylinder Low Cylinder[7:0] or LBA[15:8] of the sector/LBA to transfer Cylinder High Cylinder[15:8] or LBA[23:16] of the sector/LBA to transfer Device/Head 1 LBA 1 D H[3:0] or LBA[27:24] of the sector/LBA to transfer Command 20h (with retry) and 21h (without retry) OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 3 3 0 1 0 1 0 Sector Count Sector Number Cylinder Low Cylinder High Device/Head Error R UNC MC IDNF MCR ABRT TKONF AMNF 0 3 0 3 0 3 0 0 5.1.10 Read Long Sector – 22H, 23h Read Long Sector (with and without retry) is similar to the Read Sectors command, except that it returns 516 bytes of data instead of 512 bytes. During a Read Long Sector command, DiskOnChip IDE Pro does not check the ECC bytes to determine if there has been a data error. Only single sector read long operations are supported. The transfer consists of 512 bytes of data transferred in word mode, followed by 4 bytes of random data transferred in byte mode. Random data is returned instead of ECC bytes because of the nature of the ECC system used. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count The number of sectors/logical blocks to transfer. This should be set to 01 for compatibility Sector Number Sector[7:0] or LBA[7:0] of the sector/LBA to transfer Cylinder Low Cylinder[7:0] or LBA[15:8] of the sector/LBA to transfer Cylinder High Cylinder[15:8] or LBA[23:16] of the sector/LBA to transfer 23 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet H[3:0] or LBA[27:24] of the sector/LBA Device/Head 1 LBA 1 D to transfer Command 22h (with retry) and 23h (without retry) OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 3 3 3 0 0 1 0 Sector Count Sector Number Cylinder Low Cylinder High Device/Head Error R UNC MC IDNF MCR ABRT TKONF AMNF 3 3 0 0 0 0 0 5.1.11 Read Verify Sector(s) – 40h, 41h The Read Verify Sectors command verifies one or more sectors on DiskOnChip IDE Pro by transferring data from the flash media to the data buffer in the controller and verifying that the ECC is correct. This command is performed identically to the Read Sector(s) command, except that DRQ is not asserted, and no data is transferred to the host. When the command is accepted, DiskOnChip IDE Pro sets BSY. When the requested sectors have been verified, DiskOnChip IDE Pro clears BSY and generates an interrupt. Upon command completion, the Command Block registers contain the cylinder, head, and sector number of the last sector verified. If an error occurs, the command terminates at the sector where the error occurs. The Command Block registers contain the cylinder, head and sector number of the sector where the error occurred. The Sector Count register contains the number of sectors not yet verified. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count The number of sectors/logical blocks to verify Sector Number Sector[7:0] or LBA[7:0] of the sector/LBA to verify Cylinder Low Cylinder[7:0] or LBA[15:8] of the sector/LBA to verify Cylinder High Cylinder[15:8] or LBA[23:16] of the sector/LBA to verify Device/Head 1 LBA 1 D H[3:0] or LBA[27:24] of the sector/LBA to transfer Command 40h (with retry) and 41h (without retry) 24 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 3 3 0 1 0 1 0 Sector Count Sector Number Cylinder Low Cylinder High Device/Head Error R UNC MC IDNF MCR ABRT TKONF AMNF 3 3 3 0 0 0 0 5.1.12 Recalibrate – 1Xh When this command is executed in CHS addressing mode, the registers Cylinder High, Cylinder Low, and the head portion of Device/Head are set to 0. The Sector Number register is set to 1. If the command is executed in LBA addressing mode, the registers Cylinder High, Cylinder Low, the head portion of the Device/Head, and the Sector Number register are set to zero. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Sector Number Cylinder Low Cylinder High Device/Head 1 1 D Command 1Xh OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 0 1 0 1 0 0 0 Error R UNC MC IDNF MCR ABRT TKONF AMNF 3 0 0 0 0 0 0 25 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 5.1.13 Seek – 7Xh This command seeks and picks up the head to the track specified in the Command Block registers. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Sector count Sector Number Sector[7:0] or LBA[7:0] of the sector/LBA to verify Cylinder Low Cylinder[7:0] or LBA[15:8] of the sector/LBA to verify Cylinder High Cylinder[15:8] or LBA[23:16] of the sector/LBA to verify Device/Head 1 LBA 1 D H[3:0] or LBA[27:24] of the sector/LBA to transfer Command 7Xh OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 3 0 0 1 0 0 0 Error R UNC MC IDNF MCR ABRT TKONF AMNF 3 3 0 0 0 0 0 5.1.14 Set Features – EFh The host uses this command to establish or select certain features, described in Table 6. INPUT Register 7 6 5 4 3 2 1 0 Features Feature number according to the table below Sector Count Configuration required Sector Number Cylinder Low Cylinder High Device/Head D Command EFh OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 0 3 0 1 0 0 0 3 Error R UNC MC IDNF MCR ABRT TKONF AMNF 3 0 0 0 0 0 0 26 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet Table 6: Supported Features Feature Description 01H Enable 8 bit data transfer 81H Disable 8-bit data transfer. 5.1.15 Set Multiple Mode – C6h This command enables DiskOnChip IDE Pro to perform multiple Read and Write operations and establishes the block count (counts of sectors making up a block) for these commands. The Sector Count register is loaded with the number of sectors per block. If the Sector Count register contains a valid value and the block count is supported, this value is loaded for all subsequent Read Multiple and Write Multiple commands and execution of these commands is enabled. If a block count is not supported, an Aborted command error is posted, and Read Multiple and Write Multiple commands are disabled. If the Sector Count register contains 0 when the command is issued, multiple Read and Write commands are disabled. At power on, or after a hardware or (unless disabled by a Set Feature command) software reset, the default mode is Read and Write Multiple disabled. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Sector Count per Block Sector Number Cylinder Low Cylinder High Device/Head D Command C6h OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 0 3 0 1 0 0 0 3 Error R UNC MC IDNF MCR ABRT TKONF AMNF 3 0 0 0 0 0 0 27 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 5.1.16 Set Sleep Mode – 99h, E6h This command causes DiskOnChip IDE Pro to set BSY, enter Sleep mode, clear BSY and generate an interrupt. Recovery from Sleep mode is accomplished by issuing another command, soft reset or hard reset. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Sector Number Cylinder Low Cylinder High Device/Head D Command 99h or E6h OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 0 1 0 1 0 0 0 Error R UNC MC IDNF MCR ABRT TKONF AMNF 3 0 0 0 0 0 0 5.1.17 Standby – 96h, E2h This command causes the device to set BSY, enter Sleep mode (which corresponds to ATA Standby mode), clear the BSY bit, and assert INTRQ. If the Sector Count register is not 0, the Standby timer is enabled. The value in the Sector Count register determines the time programmed into the Standby timer. If the Sector Count register is 0, the Standby timer is disabled. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Time period value Sector Number Cylinder Low Cylinder High Device/Head D Command 96h or E2h OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 0 0 1 0 0 0 0 Error R UNC MC IDNF MCR ABRT TKONF AMNF 28 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 3 0 0 0 0 0 0 5.1.18 Standby Immediate – 94h, E0h This command causes the device to immediately enter Standby mode. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Sector Number Cylinder Low Cylinder High Device/Head D Command 94h or E0h OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 0 0 1 0 0 0 1 Error R UNC MC IDNF MCR ABRT TKONF AMNF 3 0 0 0 0 0 0 5.1.19 Write Buffer – E8h The Write Buffer command enables the host to rewrite the contents of the DiskOnChip IDE Pro sector buffer with the desired data string. This data buffer can be accessed and read by the Read Buffer command. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Sector Number Cylinder Low Cylinder High Device/Head D Command E8h OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 3 0 1 0 0 0 0 Error R UNC MC IDNF MCR ABRT TKONF AMNF 29 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 3 0 0 0 0 0 0 5.1.20 Write Long Sector – 32h, 33h This command is similar to the Write Sector(s) command, except that it writes 516 bytes instead of 512 bytes. This command can write only one sector at a time. The transfer consists of 512 bytes of data transferred in word mode, followed by four bytes of ECC transferred in byte mode. The four ECC bytes transferred by the host cannot be used by DiskOnChip IDE Pro. The device discards these four bytes and writes the sector with valid ECC fields. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Sector count Sector Number Sector[7:0] or LBA[7:0] of the first sector/LBA to transfer Cylinder Low Cylinder[7:0] or LBA[15:8] of the first sector/LBA to transfer Cylinder High Cylinder[15:8] or LBA[23:16] of the first sector/LBA to transfer Device/Head 1 LBA 1 D H[3:0] or LBA[27:24] of the starting sector/LBA Command 32h (with retry) or 33h (without retry) OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 3 3 3 0 1 0 0 Sector Count Sector Number Cylinder Low Cylinder High Error R UNC MC IDNF MCR ABRT TKONF AMNF 3 3 3 0 0 0 0 30 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 5.1.21 Write Multiple Command – C5h This command is similar to the Write Sectors command. DiskOnChip IDE Pro sets BSY within 400 nsec of accepting the command. Interrupts are not issued for every sector, but rather on the transfer of a block that contains the number of sectors defined by the Set Multiple command. Command execution is identical to the Write Sectors operation, except that the number of sectors defined by the Set Multiple command is transferred without intervening interrupts. DRQ qualification of the transfer is required only at the start of the data block, not on each sector. The block count of sectors to be transferred without intervening interrupts is programmed by the Set Multiple Mode command, which must be executed prior to the Write Multiple command. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Sector count Sector Number Sector[7:0] or LBA[7:0] of the first sector/LBA to transfer Cylinder Low Cylinder[7:0] or LBA[15:8] of the first sector/LBA to transfer Cylinder High Cylinder[15:8] or LBA[23:16] of the first sector/LBA to transfer Device/Head LBA D H[3:0] or LBA[27:24] of the starting sector/LBA Command C5h OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 3 3 3 3 0 1 0 Sector Count Sector Number Cylinder Low Cylinder High Error R UNC MC IDNF MCR ABRT TKONF AMNF 0 0 3 0 3 0 0 31 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 5.1.22 Write Sector(s) – 30h, 31h This command writes from 1 to 256 sectors as specified in the Sector Count register. A sector count of 0 requests 256 sectors. The transfer begins at the sector specified in the Sector Number register. When this command is accepted, DiskOnChip IDE Pro sets BSY, then sets DRQ and clears BSY, and then waits for the host to fill the sector buffer with the data to be written. No interrupt is generated to start the first buffer fill operation. No data should be transferred by the host until it clears BSY. For multiple sectors, after the first sector of data is in the buffer, BSY is set and DRQ is cleared. After the next buffer is ready for data, BSY is cleared, DRQ is set and an interrupt is generated. When the final sector of data is transferred, BSY is set and DRQ is cleared. It remains in this state until the command is completed, at which time BSY is cleared and an interrupt is generated. If an error occurs during a write of more than one sector, writing terminates at the sector where the error occurs. The Command Block registers contain the cylinder, head and sector number of the sector where the error occurred. The host may then read the command block to determine what error has occurred, and in which sector. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Sector count Sector Number Sector[7:0] or LBA[7:0] of the first sector/LBA to transfer Cylinder Low Cylinder[7:0] or LBA[15:8] of the first sector/LBA to transfer Cylinder High Cylinder[15:8] or LBA[23:16] of the first sector/LBA to transfer Device/Head LBA D H[3:0] or LBA[27:24] of the starting sector/LBA Command 30h (with retry) or 31h (without retry) OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 3 3 3 3 0 1 0 Sector Count Sector Number Cylinder Low Cylinder High Error R UNC MC IDNF MCR ABRT TKONF AMNF 3 3 0 0 0 0 0 32 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 5.1.23 Write Verify Sector(s) – 3Ch This command writes from 1 to 256 sectors as specified in the Sector Count register. A sector count of 0 requests 256 sectors. The transfer begins at the sector specified in the Sector Number register. When this command is accepted, DiskOnChip IDE Pro sets BSY, then sets DRQ and clears BSY, then waits for the host to fill the sector buffer with the data to be written. No interrupt is generated to start the first buffer fill operation. No data should be transferred by the host until BSY has been cleared by the host. For multiple sectors, after the first sector of data is in the buffer, BSY is set and DRQ is cleared. After the next buffer is ready for data, BSY is cleared, DRQ is set and an interrupt is generated. When the final sector of data is transferred, BSY is set and DRQ is cleared. It remains in this state until the command is completed, at which time BSY is cleared and an interrupt is generated. If an error occurs during a write of more than one sector, writing terminates at the sector where the error occurs. The Command Block registers contain the cylinder, head and sector number of the sector where the error occurred. The host may them read the command block to determine what error has occurred, and in which sector. INPUT Register 7 6 5 4 3 2 1 0 Features Sector Count Sector count Sector Number Sector[7:0] or LBA[7:0] of the first sector/LBA to transfer Cylinder Low Cylinder[7:0] or LBA[15:8] of the first sector/LBA to transfer Cylinder High Cylinder[15:8] or LBA[23:16] of the first sector/LBA to transfer Device/Head 1 LBA 1 D H[3:0] or LBA[27:24] of the starting sector/LBA Command 3Ch OUTPUT Register 7 6 5 4 3 2 1 0 Status BSY DRDY DF DSC DRQ CORR IDX ERR 3 3 3 3 3 0 1 0 Sector Count Sector Number Cylinder Low Cylinder High Error R UNC MC IDNF MCR ABRT TKONF AMNF 3 3 0 0 0 0 0 33 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 5.2 Valid Error and Status Register Values Command Error Register Status Register UNC IDNF ABRT AMNF DRDYDF DSC CORRERR Check Power Mode 3 3 3 3 3 Execute Drive Diagnostic 3 3 3 Format Track 3 3 3 3 3 3 Identify Drive 3 3 3 3 3 Idle 3 3 3 3 3 Idle Immediate 3 3 3 3 3 Initialize Drive Parameters 3 3 3 Read Buffer 3 3 3 3 3 Read Multiple 3 3 3 3 3 3 3 3 Read Long Sector 3 3 3 3 3 3 Read Sector(s) 3 3 3 3 3 3 3 3 Read Verify Sectors 3 3 3 3 3 3 3 3 Recalibrate 3 3 3 3 3 Seek 3 3 3 3 3 3 Set Features 3 3 3 3 3 Set Multiple Mode 3 3 3 3 3 Set Sleep Mode 3 3 3 3 3 Standby 3 3 3 3 3 Standby Immediate 3 3 3 3 3 Write Buffer 3 3 3 3 3 Write Long Sector 3 3 3 3 3 3 Write Multiple 3 3 3 3 3 3 Write Sector(s) 3 3 3 3 3 3 Write Verify Sector(s) 3 3 3 3 3 3 Invalid Command Code 3 3 3 3 3 Definition of Abbreviations: 3= Valid on this command AMNF: Address Mark Not Found; ABRT: Aborted command; IDNF: Requested sector ID-field NOT found; UNC: Uncorrectable data error; DRDY: Device Ready; DF: Device Fault; DSC: Drive Seek Complete; CORR: Corrected Data; ERR: Error occurred 34 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 6. Installation Requirements 6.1 Connecting DiskOnChip IDE Pro Electrically To connect the 44-pin DiskOnChip IDE Pro to the host, a standard 44-pin cable is required. The cable should not be longer than 18 inches, and should be aligned as follows: � Pin 1 of the cable must be aligned with pin 1 (see Figure 2) of the header on the drive. � Pin 44 of the cable must be aligned with pin 44 of the header on the drive. To connect the 40-pin DiskOnChip IDE Pro to the host, a standard 40-pin cable is required. The cable should not be longer than 18 inches, and should be aligned as follows: � Pin 1 of the cable must be aligned with pin 1 (see Figure 2) of the header on the drive. � Pin 40 of the cable must be aligned with pin 40 of the header on the drive. The 40-pin DiskOnChip IDE Pro has a separate connector for the power supply, to which a power supply cable can be connected. In addition, pin 20 can also be used for power supply connections. Please refer to the pin description for further details.. Figure 2: IDE Pro 44-pin (left) and 40-Pin (right) Connector Layouts 35 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 6.2 Installing DiskOnChip IDE Pro in a Two-Drive Configuration (Master/Slave) If DiskOnChip IDE Pro is being installed as an additional IDE drive using the same IDE I/O port, jumper J1 must be set to indicate that this drive is a slave. The default is master with no jumpers. Table 7, Figure 3 and Figure 4 show the J1 jumper settings for DiskOnChip IDE Pro operation in Master and Slave mode. Table 7: Jumper Settings for Master/Slave Mode J1 Jumper Settings Operation Mode Open Master Short pins A to B or C to D Slave Figure 3: Slave Settings, 44-pin (left) and 40-pin (right) Connectors Figure 4: Master Settings, 44-pin (left) and 40-pin (right) Connectors 36 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 7. Power Management DiskOnChip IDE Pro provides automatic power saving mode. There are three operation modes: 1. Active: If the DiskOnChip IDE Pro controller receives any Command In or Soft Reset, it enters Active mode. In Active mode, DiskOnChip IDE Pro can execute any supported ATA command. The power consumption level is the highest in this mode. 2. Idle: After the DiskOnChip IDE Pro controller executes any ATA command or Soft Reset, it enters Idle mode. Power consumption is reduced as compared with Active mode. 3. Sleep: The DiskOnChip IDE Pro controller transfers from Idle into Sleep mode if there is no Command In or Soft Reset from the host for about 16ms. This time interval can be modified by firmware if necessary. In Sleep mode, the power consumption of DiskOnChip IDE Pro is at its lowest level. During Sleep mode, the system main clock is stopped. This mode can be released through a hardware reset, software reset or when any ATA command is asserted. 37 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 8. Specifications 8.1 CE and FCC Compatibility The DiskOnChip IDE Pro conforms to CE requirements and FCC standards. 8.2 Environmental Specifications 8.2.1 Temperature Ranges Temperature Range 0°C to +70°C Storage Temperature: −55°C to +80°C 8.2.2 Humidity Relative Humidity: 10-95%, non-condensing 8.2.3 Shock & Vibration Reliability Tests Test conditions Reference Standard Vibration 10 Hz to 500 Hz, 1G, 23 min each axis IEC 68-2-6 Mechanical Shock Duration: 11ms, 10G, 3 axis IEC 68-2-27 Drop Unit 1 meter IEC 68-2-32 8.3 Mechanical Dimensions See Figure 5 and Figure 6. Note: Dimensions are in mm. Figure 5: Dimensions of 44-Pin DiskOnChip IDE Pro 38 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet Note: Dimensions are in mm. Figure 6: Dimensions of 40-Pin DiskOnChip IDE Pro 8.4 Physical Characteristics 8.4.1 Weight The weight of DiskOnChip IDE Pro depends on the connector type, as shown in Table 8. Table 8: DiskOnChip IDE Pro Weight Connector Type Weight (g) 11.0 ± 0.5 40-pin 9.3 ± 0.5 44-pin 39 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 8.5 Absolute Maximum Ratings Symbol Parameter Min Max Unit DC Power Supply V -V -0.3 +5.5 V DD SS V Input Voltage V-0.3 V +0.3 V IN SS DD T Operating Temperature 0 +70 ºC a Storage Temperature T -55 +80 ºC st 8.6 Electrical Specifications 8.6.1 DC Characteristics Symbol Parameter Min Typ Max Unit V Input voltage (CMOS level) 0.5xVcc - Vcc+0.3 V IH V Input voltage (CMOS level) -0.3 - 0.2xVcc V IL Input voltage (Schmitt trigger) V 0.7xVcc - Vcc+0.3 V IH V Input voltage (Schmitt trigger) -0.3 - 0.3xVcc V IL I Source current - 11.2 - mA source I Sink current - 8.7 - mA sin k Input leakage current I - - 0.1 µA LI I Output leakage current - - 0.1 µA LI I Operating current (*) - 35 55 mA OP Power-down current (*) I - - 0.18 mA PD Reset resistance R - 100 - KΩ RESET Note: Ta=0ºC to +70ºC, Vcc=5.0V ± 10 *Measured with flash memory and host interface 40 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 8.6.2 AC Characteristics Figure 7: Timing Diagram, PIO Mode 4 Table 9: Timing Specifications, PIO Mode 4 Symbol Parameter Min Max Unit Cycle Time Tc 120 - ns Address Setup before DIOR#, DIOW# TsA 25 - ns ThA Address Hold following DIOR#, DIOW# 10 - ns DIOR#, DIOW# Pulse Width Tpw 60 - ns Data Setup before DIOW# TDsIOWR 20 - ns Data Hold following DIOW# TDhIOWR 10 - ns TDdIORD Data Delay after DIOR# - 20 ns Data Hold following DIOR# TDhIORD 5 - ns IOIS16# Delay Falling from Address TAaIOIS16 - 15 ns IOIS16# Delay Rising from Address TAnIOIS16 - 15 ns TsIORDY IORDY Setup Time - 35 ns IORDY Pulse Time TpIORDY - 1250 ns 41 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet 9. Ordering Information MD105X-DXXX where: MD M-Systems’ DiskOnChip family 10 DiskOnChip IDE Pro 5X Vertical alignment, IDE connector 0: 40-pin IDE connector 1: 44-pin IDE connector DXXX Capacity (MB): 16, 32, 64, 128, 256 Refer to Table 10 for the combinations currently available and the associated order numbers. Table 10: Available Combinations Mechanical Ordering Information Capacity (MB) Connector Alignment MD1050-D16 Vertical 40-pin 16 MD1050-D32 Vertical 40-pin 32 MD1050-D64 Vertical 40-pin 64 MD1050-D128 Vertical 40-pin 128 MD1050-D256 Vertical 40-pin 256 MD1051-D16 Vertical 44-pin 16 MD1051-D32 Vertical 44-pin 32 MD1051-D64 Vertical 44-pin 64 MD1051-D128 Vertical 44-pin 128 MD1051-D256 Vertical 44-pin 256 Note: The ordering information for the IDE Pro 40-pin power cable is: DOC-IDE40-CABLE. 42 Data Sheet, Rev. 1.1 91-SR-012-01-8L DiskOnChip IDE Pro Data Sheet How to Contact Us http://www.m-sys.com Website: info@m-sys.com General Information: Technical Information: techsupport@m-sys.com USA China M-Systems Inc. M-Systems China Ltd. 8371 Central Ave, Suite A 25A International Business Commercial Bldg. Newark CA 94560 Nanhu Rd., Lou Hu District Phone: +1-510-494-2090 Shenzhen, China 518001 Fax: +1-510-494-5545 Phone: +86-755-2519-4732 Fax: +86-755-2519-4729 Taiwan M-Systems Asia, Ltd. Europe and Israel Room B, 13 F, No. 133 Sec. 3 M-Systems Ltd. Min Sheng East Road 7 Atir Yeda St. Taipei, Taiwan R.O.C. Kfar Saba 44425, Israel Phone: +886-2-8770-6226 Phone: +972-9-764-5000 Fax: +886-2-8770-6295 Fax: +972-3-548-8666 Japan M-Systems Japan Inc. Arakyu Bldg., 5F 2-19-2 Nishi-Gotanda Shinagawa-ku Tokyo 141-0031 Phone: +81-3-5437-5739 Fax: +81-3-5437-5759 © 2002 M-Systems Flash Disk Pioneers, Ltd. All rights reserved. This document is for information use only and is subject to change without prior notice. M-Systems Flash Disk Pioneers Ltd. assumes no responsibility for any errors that may appear in this document. No part of this document may be reproduced, transmitted, transcribed, stored in a retrievable manner or translated into any language or computer language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual or otherwise, without prior written consent of M-Systems. M-Systems products are not warranted to operate without failure. Accordingly, in any use of the Product in life support systems or other applications where failure could cause injury or loss of life, the Product should only be incorporated in systems designed with appropriate and sufficient redundancy or backup features. Contact your local M-Systems sales office or distributor, or visit our website at www.m-sys.com to obtain the latest specifications before placing your order. ® ® ® DiskOnChip , DiskOnChip Millennium and TrueFFS are registered trademarks of M-Systems. DiskOnKey™, FFD™ and SuperMAP™ are trademarks of M-Systems. Other product names mentioned in this document may be trademarks or registered trademarks of their respective owners and are hereby acknowledged. 43 Data Sheet, Rev. 1.1 91-SR-012-01-8L

Frequently asked questions

How does Industrial Trading differ from its competitors?

chervon down
Industrial Trading' parent company, GID Industrial, specializes in procuring industrial parts. We know where to find the rare and obsolete equipment that our customers need in order to get back to business. There are other companies who claim to do what we do, but we're confident that our commitment to quality and value is unparalleled in our field.

Is there a warranty for the DiskOnChip IDE Pro?

chervon down
The warranty we offer will be based on what we negotiate with our suppliers. Sometimes, a part will be sold as-is and without a warranty. Our specialty, single board computers, tend to receive a one-year warranty.

Which carrier will Industrial Trading use to ship my parts?

chervon down
We use FedEx, UPS, DHL, and USPS. We have accounts with each of them and generally ship using one of those, but we can also ship using your account if you would prefer. However, we can use other carriers if it will be more convenient for you.

Can I buy parts from Industrial Trading if I am outside the USA?

chervon down
Industrial Trading will definitely serve you. We work with international clients all the time, and we are familiar with shipping to destinations all across the globe.

Which payment methods does Industrial Trading accept?

chervon down
Visa, MasterCard, Discover, and American Express are all accepted by Industrial Trading. We will also accept payment made with wire transfer or PayPal. Checks will only be accepted from customers in the USA. Terms may available for larger orders, upon approval.

Why buy from GID?

quality

Quality

We are industry veterans who take pride in our work

protection

Protection

Avoid the dangers of risky trading in the gray market

access

Access

Our network of suppliers is ready and at your disposal

savings

Savings

Maintain legacy systems to prevent costly downtime

speed

Speed

Time is of the essence, and we are respectful of yours

What they say about us

FANTASTIC RESOURCE

star star star star star

One of our top priorities is maintaining our business with precision, and we are constantly looking for affiliates that can help us achieve our goal. With the aid of GID Industrial, our obsolete product management has never been more efficient. They have been a great resource to our company, and have quickly become a go-to supplier on our list!

Bucher Emhart Glass

EXCELLENT SERVICE

star star star star star

With our strict fundamentals and high expectations, we were surprised when we came across GID Industrial and their competitive pricing. When we approached them with our issue, they were incredibly confident in being able to provide us with a seamless solution at the best price for us. GID Industrial quickly understood our needs and provided us with excellent service, as well as fully tested product to ensure what we received would be the right fit for our company.

Fuji

HARD TO FIND A BETTER PROVIDER

star star star star star

Our company provides services to aid in the manufacture of technological products, such as semiconductors and flat panel displays, and often searching for distributors of obsolete product we require can waste time and money. Finding GID Industrial proved to be a great asset to our company, with cost effective solutions and superior knowledge on all of their materials, it’d be hard to find a better provider of obsolete or hard to find products.

Applied Materials

CONSISTENTLY DELIVERS QUALITY SOLUTIONS

star star star star star

Over the years, the equipment used in our company becomes discontinued, but they’re still of great use to us and our customers. Once these products are no longer available through the manufacturer, finding a reliable, quick supplier is a necessity, and luckily for us, GID Industrial has provided the most trustworthy, quality solutions to our obsolete component needs.

Nidec Vamco

TERRIFIC RESOURCE

star star star star star

This company has been a terrific help to us (I work for Trican Well Service) in sourcing the Micron Ram Memory we needed for our Siemens computers. Great service! And great pricing! I know when the product is shipping and when it will arrive, all the way through the ordering process.

Trican Well Service

GO TO SOURCE

star star star star star

When I can't find an obsolete part, I first call GID and they'll come up with my parts every time. Great customer service and follow up as well. Scott emails me from time to time to touch base and see if we're having trouble finding something.....which is often with our 25 yr old equipment.

ConAgra Foods

Related Products

product

M-Systems DIMM Plus Flash Disk with Protection and Security-Enabling Features

product

M-Systems DOC-PCMCIA-EVB-R1 Flash Disk Module - M-Systems DOC-PCMCIA-EVB-R1 Memory Flash Card

product

M-Systems IDE 3000 2.5” Flash Disk Solid State IDE Drive

product

M-Systems IDE-4K-25-3584 - IDE 4000 2.5" Flash Drive, 3.5GB

product

M-Systems IDE-4K-25-4096 Flash Disk - Mbyte IDE 4000 2.5" 7.4mm Height Flash Disk

product

M-SYSTEMS IDE-FD18-160 160MB 1.8" IDE2000 Flash Disk Module