Hitachi C4K60 - Travelstar Slim - Hard Drive Specifications page 114

Specifications
Hide thumbs Also See for C4K60 - Travelstar Slim - Hard Drive:
Table of Contents

Advertisement

(1) Error log data structure
An error log data structure is presented for each of the last five errors reported by the device. These error log
data structure entries are viewed as a circular buffer. That is, the first error creates the first error log data
structure; the second error, the second error log structure; etc. The sixth error creates an error log data
structure that replaces the first error log data structure; the seventh error replaces the second error log
structure, etc. The error log pointer indicates the most recent error log structure. If fewer than five errors
have occurred, the unused error log structure entries are zero filled. The following table describes the
content of a valid error log data structure.
Byte
First command data structure
n ~ n+11
Second command data structure
n+12 ~ n+23
Third command data structure
n+24 ~ n+35
n+36 ~ n+47
Fourth command data structure
n+48 ~ n+59
Fifth command data structure
n+60 ~ n+89
Error data structure
(2) Command data structure
The fifth command data structure contains the command or reset for which the error is being reported. The
fourth command data structure contains the command or reset that preceded the command or reset for
which the error is being reported, the third command data structure contains 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
are zero filled.
If the command data structure represents a command or software reset, the content of the command data
structure is as shown in following table. If the command data structure represents a hardware reset, the
content of byte n is FFh, the content of bytes n+1 through n+7 are not valid, and the content of bytes n+8
through n+11 contains the timestamp.
Byte
n
Content of Device Control register when the Command register was written.
n+1
Content of Features register when the Command register was written.
n+2
Content of Sector Count register when the Command register was written.
n+3
Content of LBA Low (Sector Number) register when the Command register was written.
n+4
Content of LBA Mid (Cylinder Low) register when the Command register was written.
n+5
Content of LBA High (Cylinder High) register when the Command register was written.
n+6
Content of Device/Head register when the Command register was written.
n+7
Content written to the Command register.
n+8 ~ n+11
Timestamp
This is the time since power-on in milliseconds when command acceptance occurred.
K6610170
Rev.2
Dec 22, 2004
Table 7.31 Error Log Data Structure
Description
Table 7.32 Command Data Structure
Description
- 114 -

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents