Toshiba MK4006GAH User Manual

Page 112

Advertising
background image

Toshiba Corporation Digital Media Network Company

Page 112 of 153

© 2003, Copyright TOSHIBA Corporation All Rights Reserved

11.8.42.6.2.3 Command data structure

The fifth command data structure will contain the command or reset for which the error is being reported. The
fourth command data structure should contain the command or reset that preceded the command or reset for
which the error is being reported, the third command data structure should contain the command or reset
preceding the one in the fourth command data structure, etc. If fewer than four commands and resets preceded
the command or reset for which the error is being reported, the unused command data structures will be zero
filled, for example, if only three commands and resets preceded the command or reset for which the error is
being reported, the first command data structure will be zero filled. In some devices, the hardware
implementation may preclude the device from reporting the commands that preceded the command for which
the error is being reported or that preceded a reset. In this case, the command data structures are zero filled.

If the command data structure represents a command or software reset, the content of the command data
structure will be as shown in the following Table.

Command data structure

Byte Descriptions

n

Content of the Device Control register when the Command register was written.

n+1

Content of the Features register when the Command register was written.

n+2

Content of the Sector Count register when the Command register was written.

n+3

Content of the Sector Number register when the Command register was written.

n+4

Content of the Cylinder Low register when the Command register was written.

n+5

Content of the Cylinder High register when the Command register was written.

n+6

Content of the Device/Head register when the Command register was written.

n+7

Content written to the Command register.

n+8 Timestamp
n+9 Timestamp

n+10 Timestamp
n+11 Timestamp


Timestamp shall be the time since power-on in milliseconds when command acceptance occurred. This
timestamp may wrap around.

11.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.

Advertising
This manual is related to the following products: