Deskstar 7K500 and Deskstar E7K500 Hard Disk Drive Specification
119
12.5 Execute Device Diagnostic (90h)
Table 83: Execute Device Diagnostic command (90h)
The Execute Device Diagnostic command performs the internal diagnostic tests implemented by the device. The
results of the test are stored in the Error Register.
The normal Error Register bit definitions do not apply to this command. Instead, the register contains a diagnostic
code. See Table 66: “Default Register Values” on page 76 for the definition.
Command Block Output Registers Command Block Input Registers
Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0
Data - - - - - - - - Data - - - - - - - -
Feature - - - - - - - Error see below
Sector Count - - - - - - - - Sector Count - - - - - - - -
Sector Number - - - - - - - - Sector Number - - - - - - - -
Cylinder Low - - - - - - - - Cylinder Low - - - - - - - -
Cylinder High - - - - - - - - Cylinder High - - - - - - - -
Device/Head 1 - 1 - - - - - Device/Head - - - - - - - -
Command 1 0 0 1 0 0 0 0 Status see below
Error Register Status Register
7654321 0 76543 21 0
CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR
VVVVVVV V 0V0-- 0- 0