Hitachi DK23EA Specifications - Page 67

Command data structure

Page 67 highlights

Byte n thru n+11 n+12 thru n+23 n+24 thru n+35 n+36 thru n+47 n+48 thru n+59 n+60 thru n+89 Table 6.14 Error log data structure Descriptions First command data structure Second command data structure Third command data structure Fourth command data structure Fifth command data structure Error data structure 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 shall be 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 n+1 n+2 n+3 n+4 n+5 n+6 n+7 n+8 ~ n+11 Descriptions Content of Device Control register when the Command register was written. Content of Features register when the Command register was written. Content of Sector Count register when the Command register was written. Content of Sector Number register when the Command register was written. Content of Cylinder Low register when the Command register was written. Content of Cylinder High register when the Command register was written. Content of Device/Head register when the Command register was written. Content written to the Command register. Timestamp Timestamp is the time since power-on in milliseconds when command acceptance occurred. K6602637 Rev.3 02.27.01 - 67 -

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104

K6602637
Rev.3
02.27.01
- 67 -
Table 6.14
Error log data structure
Byte
Descriptions
n thru n+11
First command data structure
n+12 thru n+23
Second command data structure
n+24 thru n+35
Third command data structure
n+36 thru n+47
Fourth command data structure
n+48 thru n+59
Fifth command data structure
n+60 thru n+89
Error data structure
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 shall be 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
Descriptions
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 Sector Number register when the Command register was written.
n+4
Content of Cylinder Low register when the Command register was written.
n+5
Content of 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
Timestamp is the time since power-on in milliseconds when command acceptance
occurred.