Deskstar 7K160 Hard Disk Drive Specification
127
11.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 to see 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 sig-
nal is used by the device to signal most, but not all, times when the BSY bit is changed from 1 to 0 during com-
mand execution.
A command shall only be interrupted with a hardware or software reset. The result of writing to the Command reg-
ister 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.
See Section 13.0, “Timings” on page 275 for the device time-out values.
11.1 PIO Data In commands
The following are Data In commands:
•
Device Configuration Identity
•
Identify Device
•
Read Buffer
•
Read Log Ext
•
Read Long
•
Read Multiple
•
Read Multiple Ext
•
Read Sector(s)
•
Read Sector(s) Ext
•
S.M.A.R.T. Read Attribute Values
•
S.M.A.R.T. Read Attribute Thresholds
•
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.
Содержание Deskstar 7K160
Страница 2: ......
Страница 18: ...Deskstar 7K160 Hard Disk Drive Specification 4 ...
Страница 20: ...Deskstar 7K160 Hard Disk Drive Specification 6 ...
Страница 21: ...Deskstar 7K160 Hard Disk Drive specification 7 Part 1 Functional specification ...
Страница 22: ...Deskstar 7K160 Hard Disk Drive Specification 8 ...
Страница 24: ...Deskstar 7K160 Hard Disk Drive Specification 10 ...
Страница 34: ...Deskstar 7K160 Hard Disk Drive Specification 20 ...
Страница 55: ...Deskstar 7K160 Hard Disk Drive Specification 41 Part 2 Interface specification ...
Страница 56: ...Deskstar 7K160 Hard Disk Drive Specification 42 ...
Страница 78: ...Deskstar 7K160 Hard Disk Drive Specification 64 ...
Страница 80: ...Deskstar 7K160 Hard Disk Drive Specification 66 ...
Страница 88: ...Deskstar 7K160 Hard Disk Drive Specification 74 ...
Страница 140: ...Deskstar 7K160 Hard Disk Drive Specification 126 ...
Страница 146: ...Deskstar 7K160 Hard Disk Drive Specification 132 ...
Страница 288: ...Deskstar 7K160 Hard Disk Drive Specification 274 ...
Страница 297: ...Write Buffer 249 Write cache function 93 Write Continuous bit 102 Write DRQ interval time 30 ...