Read Buffer; Command Descriptor Block - Seagate Viper 200 Scsi Interface Manual

Lto tape drive
Table of Contents

Advertisement

SCSI Commands

READ BUFFER

Command Descriptor Block

Field Descriptions
The Read Buffer command reads data from the memory on the drive and sends it to
the initiator. This command is used in conjunction with the Write Buffer command as
a diagnostic function for testing the drive buffer memory and confirming the SCSI bus
integrity. The tape is not accessed during execution of this command.
Bits
Byte
7
6
0
1
Ignored LUN
2
3
4
5
6
7
8
9
Field
Bytes
Operation
0
Code
Ignored Logi-
1
cal Unit
Mode
1
Buffer ID
2
Buffer Offset
3-5
Allocation
6-8
length
Reserved
Control
9
A Mode of 0000b requests that the data returned consist of a 4-byte descriptor
header followed by the data from the buffer. The 4-byte header is included in the
number of bytes specified by the Allocation Length. The Buffer ID and Buffer Offset
fields are reserved.
5
4
3
Operation Code (3Ch)
Reserved
Buffer ID
Buffer Offset (MSB)
Buffer Offset
Buffer Offset (LSB)
Allocation Length (MSB)
Allocation Length
Allocation Length (LSB)
Control
Bits
Description
The operation code for Read Buffer is 3Ch.
5-7
The LUN field is residual from the SCSI-1 days and is ignored.
0-3
0000b = Return descriptor and data.
0001b = Return Medium Auxiliary Memory(MAM)
0010b = Return data only.
0011b = Return descriptor only.
0100b = Return Trace Buffer data.
00h = normal access (default)
54h = specifies access to MAM
For Mode not equal 0001b: The offset from the beginning of the
specified buffer in bytes.
For Mode equal 0001b: Set to the MAM page code as described
in the tables or FFFFFFh to specify the entire 4KB MAM.
Specifies the amount of data bytes to be returned. A value of 0 is
a valid entry and returns no data.
The drive stops sending data when the number of bytes specified
has been transferred or when all available data has been sent.
All reserved bits must be 0.
See Control Byte Format on page 18.
Page 81
2
1
0
Mode

Advertisement

Table of Contents
loading

Table of Contents