![background image](http://html1.mh-extra.com/html/ibm/ic35l020-deskstar-20-gb-hard-drive/ic35l020-deskstar-20-gb-hard-drive_specifications_3938692109.webp)
14.0 Command Protocol
The commands are grouped into different classes according to the protocols followed for command
execution. The command classes with their associated protocols are defined below.
For all commands, the host must first check if BSY=1, and should proceed no further unless and until
BSY=0. For all commands, the host must also wait for RDY=1 before proceeding.
A device must maintain either BSY=1 or DRQ=1 at all times until the command is completed. The INTRQ
signal is used by the device to signal most, but not all, times when the BSY bit is changed from one to
zero during command execution.
A command shall only be interrupted with a hardware or software reset. The result of writing to the
Command register while BSY=1 or DRQ=1 is unpredictable and may result in data corruption. A
command should only be interrupted by a reset at times when the host thinks there may be a problem—
such as a device that is no longer responding.
Interrupts are cleared when the host reads the Status Register, issues a reset, or writes to the Command
Register.
14.1 PIO Data In commands
These commands are:
y
Identify Device
y
Read Buffer
y
Read Long
y
Read Multiple
y
Read Sectors
y
S.M.A.R.T. Read Attribute Values
y
S.M.A.R.T. Read Attribute Thresholds
y
S.M.A.R.T. Read Log Sector
Execution includes the transfer of one or more 512 byte (>512 bytes on Read Long) sectors of data from
the device to the host.
1. The host writes any required parameters to the Features, Sector Count, Sector Number, Cylinder,
and Device/Head Registers.
2. The host writes the command code to the Command Register.
3. For each sector—or block—of data to be transferred
a. The device sets BSY=1 and prepares for data transfer.
b. When a sector—or block—of data is available for transfer to the host, the device sets BSY=0,
sets DRQ=1, and interrupts the host.
c. In response to the interrupt the host reads the Status Register.
d. The device clears the interrupt in response to the Status Register being read.
e. The host reads one sector—or block—of data via the Data Register.
f. The device sets DRQ=0 after the sector—or block—has been transferred to the host.
Deskstar 60 GXP Hard disk drive specification
95
Содержание IC35L020 - Deskstar 20 GB Hard Drive
Страница 2: ...IBM storage products official published specification...
Страница 10: ...This page intentionally left blank...
Страница 14: ...This page intentionally left blank...
Страница 16: ...This page intentionally left blank...
Страница 18: ...This page intentionally left blank...
Страница 19: ...Part 1 Functional specification Deskstar 60 GXP Hard disk drive specification 5...
Страница 20: ...This page intentionally left blank...
Страница 22: ...This page intentionally left blank...
Страница 30: ...This page intentionally left blank...
Страница 32: ...This page intentionally left blank...
Страница 34: ...This page intentionally left blank...
Страница 36: ...This page intentionally left blank...
Страница 38: ...This page intentionally left blank...
Страница 74: ...This page intentionally left blank...
Страница 75: ...Part 2 Interface specification Deskstar 60 GXP Hard disk drive specification 61...
Страница 76: ...This page intentionally left blank...
Страница 78: ...This page intentionally left blank...
Страница 80: ...This page intentionally left blank...
Страница 88: ...This page intentionally left blank...
Страница 206: ...This page intentionally left blank...