Toshiba 3006GAL Computer Drive User Manual


 
Toshiba Corporation Digital Media Network Company
Page 115 of 157
© 2005, Copyright TOSHIBA Corporation All Rights Reserved
10.8.42.6.2.4 Error data structure
The error data structure will contain the error description of the command for which an error was reported
as described in the following table.
Error data structure
Byte Descriptions
N Reserved
n+1 Content of the Error register after command completion occurred.
n+2 Content of the Sector Count register after command completion occurred.
n+3 Content of the Sector Number register after command completion occurred.
n+4 Content of the Cylinder Low register after command completion occurred.
n+5 Content of the Cylinder High register after command completion occurred.
n+6 Content of the Device/Head register after command completion occurred.
n+7 Content written to the Status register after command completion occurred.
n+8 - n+26 Extended error information
n+27 State
n+28 Life timestamp (least significant byte)
n+29 Life timestamp (most significant byte)
Extended error information will be vendor specific.
State will contain a value indicating the state of the device when command was written to the Command
register or the reset occurred as described in the following Table.
State field values
Value State
x0h Unknown
x1h Sleep
x2h Standby
x3h Active/Idle with BSY cleared to zero
x4h Executing SMART off-line or self-test
x5h-xAh Reserved
xBh-xFh Vendor unique
The value of x is vendor specific and may be different for each state.
Sleep indicates the reset for which the error is being reported was received when the device was in the
Sleep mode.
Standby indicates the command or reset for which the error is being reported was received when the
device was in the Standby mode.
Active/Idle with BSY cleared to zero indicates the command or reset for which the error is being reported
was received when the device was in the Active or Idle mode and BSY was cleared to zero.
Executing SMART off-line or self-test indicates the command or reset for which the error is being reported
was received when the device was in the process of executing a SMART off-line or self-test.
Life timestamp will contain the power-on lifetime of the device in hours when command completion
occurred.