Hitachi 7K320 Specifications - Page 111

Description, Bytes, Offset

Page 111 highlights

7K320 (SATA) OEM Specification Command data structure: Data format of each command data structure is shown below. Description Bytes Offset Device Control register 1 00h Features register (7:0) (see Note) 1 01h Features register (15:8) 1 02h Sector count register (7:0) 1 03h Sector count register (15:8) 1 04h Sector number register (7:0) 1 05h Sector number register (15:8) 1 06h Cylinder Low register (7:0) 1 07h Cylinder Low register (15:8) 1 08h Cylinder High register (7:0) 1 09h Cylinder High register (15:8) 1 0Ah Device register 1 0Bh Command register 1 0Ch Reserved 1 0Dh Timestamp (milliseconds from Power-on) 4 0Eh 18 Note: bits (7:0) refer to the most recently written contents of the register. Bits (15:8) refer to the contents of the register prior to the most recent write to the register. Table 78 Command data structure 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 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 79 Error data structure Page 111 of 176

  • 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
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176

7K320 (SATA) OEM Specification
Page 111 of 176
Command data structure:
Data format of each command data structure is shown below.
Description
Bytes
Offset
Device Control register
1
00h
Features register (7:0)
(see Note)
1
01h
Features register (15:8)
1
02h
Sector count register (7:0)
1
03h
Sector count register (15:8)
1
04h
Sector number register (7:0)
1
05h
Sector number register (15:8)
1
06h
Cylinder Low register (7:0)
1
07h
Cylinder Low register (15:8)
1
08h
Cylinder High register (7:0)
1
09h
Cylinder High register (15:8)
1
0Ah
Device register
1
0Bh
Command register
1
0Ch
Reserved
1
0Dh
Timestamp (milliseconds from Power-on)
4
0Eh
18
Note: bits (7:0) refer to the most recently written contents of the register. Bits (15:8) refer to the
contents of the register prior to the most recent write to the register.
Table 78 Command data structure
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 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 79 Error data structure