135
Chapter 8 SCSI Commands
8.22.3. Data mode (0010b)
The DATA OUT phase is Buffer Data in the Data Mode. The data is written to
the autoloader buffer from the start position specified by Buffer Offset. The host
sets the Offset to comply with the autoloader boundary specifications. If the
autoloader Buffer Offset specifications are not met, the command is terminated
with a CHECK CONDITION status. The sense key is ILLEGAL REQUREST
and ASC/ASCQ is INVALID FIELD IN CDB.
Data transferred in this mode may be overwritten by another command or the
like, and is not guaranteed data. To guarantee the data, the autoloader must first
be reserved, be issued a WriteBuffer command, and then a ReadBuffer
command.
8.22.4. Write data to echo buffer (1010b)
In this mode, data transferred from the host is stored in the Echo Buffer, and the
Buffer ID and Buffer Offset are ignored.
When this command is executed successfully, the data is held until a command
directing a change is received. The Parameter List Length area defines the
number of bytes of data transferred to the Echo Buffer. The application must set
the Parameter List Length so that is does not exceed the capacity of the Echo
Buffer. This capacity can be found in the Echo buffer descriptor of the Read
Buffer command.
8.22.5. Buffer ID
The autoloader only supports 0. If an unsupported Buffer ID Code is set, the
autoloader terminates the command with a CHECK CONDITION status. The
sense key is ILLEGAL REQUEST.
8.22.6. Buffer Offset
The Buffer Offset field contains the buffer offset where the transferred data is
to be written. The host sets the Offset Boundary to meet the autoloader
specifications. If an Offset not supported by the autoloader is set, the command
is terminated with a CHECK CONDITION status. The sense key is ILLEGAL
REQUEST and ASC/ASCQ is ILLEGAL FIELD IN CDB.
8.22.7. Parameter List Length
The Parameter List Length is the number of bytes transferred in the DATA OUT
phase. The host cannot set a value that exceeds the Parameter List autoloader
buffer capacity. If a value exceeding the buffer capacity is set, the autoloader
terminates the command with a CHECK CONDITION status. The sense key is
ILLEGAL REQUEST.