Travelstar 4K120 Hard Disk Drive Specification
91
12.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 14.0, “Timings” on page 211 for the device time-out values.
12.1 Data In commands
The following are Data In commands:
•
Device Configuration Identify
•
Identify Device
•
Read Buffer
•
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, LBA, Cylinder, and Device Regis-
ters.
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.
Summary of Contents for HTS421210H9AT00
Page 2: ......
Page 20: ...Travelstar 4K120 Hard Disk Drive Specification 6 ...
Page 21: ...Travelstar 4K120 Hard Disk Drive Specification 7 Part 1 Functional specification ...
Page 22: ...Travelstar 4K120 Hard Disk Drive Specification 8 ...
Page 24: ...Travelstar 4K120 Hard Disk Drive Specification 10 ...
Page 38: ...Travelstar 4K120 Hard Disk Drive Specification 24 ...
Page 71: ...Travelstar 4K120 Hard Disk Drive Specification 57 Part 2 Interface specification ...
Page 72: ...Travelstar 4K120 Hard Disk Drive Specification 58 ...
Page 74: ...Travelstar 4K120 Hard Disk Drive Specification 60 ...
Page 76: ...Travelstar 4K120 Hard Disk Drive Specification 62 ...
Page 104: ...Travelstar 4K120 Hard Disk Drive Specification 90 ...
Page 110: ...Travelstar 4K120 Hard Disk Drive Specification 96 ...
Page 200: ...Travelstar 4K120 Hard Disk Drive Specification 186 Table 131 Selective self test log ...
Page 212: ...Travelstar 4K120 Hard Disk Drive Specification 198 ...
Page 224: ...Travelstar 4K120 Hard Disk Drive Specification 210 ...
Page 232: ...Travelstar 4K120 Hard Disk Drive Specification 218 ...
Page 238: ......