User manual

Hitachi hard disk drive specifications
149
Error data structure: Data format of error data structure is shown below.
Description
Bytes
Offset
Reserved
1
00h
Error register
1
01h
Sector count register (7:0) (see Note)
1
02h
Sector count register (15:8) (see Note)
1
03h
Sector number register (7:0)
1
04h
Sector number register (15:8)
1
05h
Cylinder Low register (7:0)
1
06h
Cylinder Low register (15:8)
1
07h
Cylinder High register (7:0)
1
08h
Cylinder High register (15:8)
1
09h
Device/Head register
1
0Ah
Status register
1
0Bh
Extended error data (vendor specific)
19
0Ch
State
1
1Fh
Life timestamp (hours)
2
20h
34
Note: bits (7:0) refer to the contents if the register is read with bit 7 of the Device Control register
cleared to zero. Bits (15:8) refer to the contents if the register is read with bit 7 of the Device
Control register set to one.
Table 105 Error data structure
State shall contain a value indicating the state of the device when the command was issued to the device or the
reset occurred as described below.
Value
State
x0h
Unknown
x1h
Sleep
x2h
Standby
x3h
Active/Idle
x4h
SMART Off-line or Self-test
x5h-xAh
Reserved
xBh-xFh
Vendor specific
Note: The value of x is vendor specific.