Command Descriptor Block; Typical (6-Byte) Command Descriptor Block-Data Format; Command Descriptor Block-Field Descriptions - Maxtor Atlas 10K V Product Manual

Table of Contents

Advertisement

5.2

Command Descriptor Block

An initiator communicates with the drive by sending a 6-, 10-, or 12-byte Command
Descriptor Block (CDB) that contains the parameters for the specific command. The
SCSI command's operation code is always the first byte in the CDB and a control field
is the last byte. For some commands, the CDB is accompanied by a list of parameters
sent during the data-out buffer transfer. Table 5-2 shows the format of a typical six-
byte CDB.
Table 5-2
Bit
Byte
0
1
2 - 3
4
5
Note:
Table 5-3 contains a description of the CDB fields.
Table 5-4 describes the data format for a typical CDB.
Table 5-3
Field
Operation Code
5-4
Maxtor Atlas 10K V

Typical (6-Byte) Command Descriptor Block-Data Format

7
6
5
Reserved
Transfer Length, Parameter List Length, or Allocation Length
Reserved fields in CDBs and Parameters have a value of 0; Re-
served fields in states and other parameters sent to an initiator are
set to 0.

Command Descriptor Block-Field Descriptions

The first byte of a SCSI CDB contains an operation code. The operation code of the CDB has
a Group Code field (bits 7-5) and a Command Code field (bits 4-0). The 3-bit Group Code field
provides for eight groups of command codes. The 5-bit Command Code field provides for 32
command codes in each group. A total, therefore, of 256 possible operation codes exist. Oper-
ation codes are defined in the SCSI command standards. The group code for CDBs specified
therein correspond to the length of the command descriptor as below:
Group Code
0
1
2
3
4
5
6
7
The operation code specifies the command being requested. The list of supported SCSI com-
mands and their operation codes are contained in Table 5-1.
4
3
Operation Code
(MSB)
Logical Block Address
Logical Block Address
(LBA)
Control
Description
6-byte commands
10-byte commands
10-byte commands
16-byte commands
12-byte commands
2
1
0
(LBA)
Meaning
Reserved
Vendor specific
Vendor specific

Advertisement

Table of Contents
loading

Table of Contents