IBM DDRS-39130 Hard Drive Specifications - Page 138

Read Data Mode 010b, Descriptor Mode 011b

Page 138 highlights

76 BYTE 0 BYTE 1 (MSB) BYTE 2 BYTE 3 BIT 5432 RSVD = 0 Buffer Capacity 10 (LSB) Figure 98. READ BUFFER Header The buffer capacity specifies the total number of data bytes that are available in the file's data buffer. This number is not reduced to reflect the allocation length nor is it reduced to reflect the actual number of bytes written using the WRITE BUFFER command. Following the READ B U F F E R header, the file will transfer data from its data buffer. 7.18.2 Read Data (Mode 010b) In this mode, the DATA IN phase contains buffer data. Buffer ID field must be set to zero, indicating the data transfer buffer. If another value is specified, the command is terminated with CHECK CONDITION status. File shall set sense key to ILLEGAL REQUEST and additional sense code to ILLEGAL FIELD IN CDB. Buffer Offset specifies the offset of the memory space specified by the Buffer ID. The initiator should conform to the offset boundary requirements returned in the READ B U F F E R descriptor. If the value exceeds the buffer specified, the command is terminated with CHECK CONDITION status. File shall set sense key to ILLEGAL REQUEST and additional sense code to ILLEGAL FIELD IN CDB. Allocation Length The file terminates the DATA IN phase when allocation length bytes of data have been transferred or when the header and all available data have been transferred to the initiator, whichever is less. 7.18.3 Descriptor (Mode 011b) In this mode, a maximum of four bytes of R E A D B U F F E R descriptor information are returned. The file returns the descriptor information for the buffer specified by the Buffer ID. Buffer ID field should normally be set to zero indicating the file data transfer buffer. If any other value is specified the file returns all zeros in the R EAD B U F F E R descriptor. Buffer Offset field is reserved. Allocation Length must be set to four or greater. The file transfers the lesser of the allocation length or four bytes of READ B U F F E R descriptor. The READ B U F F E R descriptor is defined in Figure 99 on page 129. 128 OEM Spec. of DDRS-3xxxx

  • 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

BIT
7
6
5
4
3
2
1
0
BYTE 0
RSVD = 0
BYTE 1 (MSB)
Buffer Capacity
BYTE 2
BYTE 3
(LSB)
Figure 98. READ BUFFER Header
The buffer capacity specifies the total number of data bytes that are available in the file's data buffer. This
number is not reduced to reflect the allocation length nor is it reduced to reflect the actual number of bytes
written using the WRITE BUFFER command.
Following the READ BUFFER header, the file will transfer data from its data buffer.
7.18.2
Read Data (Mode 010b)
In this mode, the DATA IN phase contains buffer data.
Buffer ID
field must be set to zero, indicating the data transfer buffer.
If another value is specified, the
command
is terminated
with
CHECK
CONDITION
status.
File
shall
set
sense
key
to
ILLEGAL
REQUEST and additional sense code to ILLEGAL FIELD IN CDB.
Buffer Offset
specifies the offset of the memory space specified by the Buffer ID.
The initiator should
conform to the offset boundary requirements returned in the READ BUFFER descriptor.
If the value
exceeds the buffer specified, the command is terminated with CHECK CONDITION status.
File shall set
sense key to ILLEGAL REQUEST and additional sense code to ILLEGAL FIELD IN CDB.
Allocation Length
The file terminates the DATA IN phase when allocation length bytes of data have been
transferred or when the header and all available data have been transferred to the initiator, whichever is less.
7.18.3
Descriptor (Mode 011b)
In this mode, a maximum of four bytes of READ BUFFER descriptor information are returned.
The file
returns the descriptor information for the buffer specified by the Buffer ID.
Buffer ID
field should normally be set to zero indicating the file data transfer buffer. If any other value is
specified the file returns all zeros in the READ BUFFER descriptor.
Buffer Offset
field is reserved.
Allocation Length
must be set to four or greater.
The file transfers the lesser of the allocation length or four
bytes
of
READ
BUFFER
descriptor.
The
READ
BUFFER
descriptor
is
defined
in
Figure 99
on
page 129.
128
OEM Spec. of DDRS-3xxxx