Hitachi HDT725025VLA380 Specifications - Page 121

Key Sector Format

Page 121 highlights

Command Block Input Registers (Success) Command Block Input Registers (Error) Register 7 6 5 4 3 2 1 0 Register 76543210 Error 00h Error 04h Sector Count HOB=0 Depends on command Sector (LSB) Count HOB=0 Extended Status Code (LSB) HOB=1 Reserved HOB=1 Reserved LBA Low HOB=0 Depends on command LBA Low (MSB) HOB=0 Extended Status Code (MSB) HOB=1 Reserved HOB=1 Reserved LBA Mid HOB=0 Number of sectors (LSB) LBA Mid HOB=0 Number of sectors (LSB) HOB=1 Reserved HOB=1 Reserved LBA High HOB=0 Number of sectors (MSB) LBA High HOB=0 Number of sectors (MSB) HOB=1 Reserved HOB=1 Reserved Device/Head Device/Head -------- Status 50h Status 51h 10.18.1.3 Key Sector Format An SCT command (Key Sector) is always 512 bytes long. Table below shows the generic format of an SCT command. Byte 1:0 Field Action Code Words 1 3:2 Function Code 1 X:4 Y:x+1 ... Parameter1 Parameter2 ... Total Words Depends on command Depends on command ... 256 Description This field defines the command type and generally specifies the type of data being accessed, such as sector, long sector, etc. or physical action being performed, such as seek. This field specifies the type of access, and varies by command. For example, this can specify read, write, verify, etc. Depends on command Depends on command ... The action codes are defined in Table below. Deskstar T7K500 Hard Disk Drive Specification 107

  • 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
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291

Deskstar T7K500 Hard Disk Drive Specification
107
10.18.1.3
Key Sector Format
An SCT command (Key Sector) is always 512 bytes long. Table below shows the generic format of an SCT
command.
The action codes are defined in Table below.
Command Block Input Registers (Success)
Command Block Input Registers (Error)
Register
7 6 5 4 3 2 1
0
Register
7
6
5
4
3 2 1 0
Error
00h
Error
04h
HOB=0 Depends on command
(LSB)
HOB=0
Extended Status Code
(LSB)
Sector
Count
HOB=1
Reserved
Sector
Count
HOB=1
Reserved
HOB=0 Depends on command
(MSB)
HOB=0
Extended Status Code
(MSB)
LBA Low
HOB=1
Reserved
LBA Low
HOB=1
Reserved
HOB=0
Number of sectors
(LSB)
HOB=0
Number of sectors
(LSB)
LBA Mid
HOB=1
Reserved
LBA Mid
HOB=1
Reserved
HOB=0
Number of sectors
(MSB)
HOB=0
Number of sectors
(MSB)
LBA High
HOB=1
Reserved
LBA High
HOB=1
Reserved
Device/Head
- - - - - - -
-
Device/Head
-
-
-
-
- - -
-
Status
50h
Status
51h
Byte
Field
Words
Description
1:0
Action Code
1
This field defines the command type and
generally specifies the type of data being
accessed, such as sector, long sector, etc.
or physical action being performed, such
as seek.
3:2
Function Code
1
This field specifies the type of access, and
varies by command. For example, this can
specify read, write, verify, etc.
X:4
Parameter1
Depends on
command
Depends on command
Y:x+1
Parameter2
Depends on
command
Depends on command
Total Words
256