Tandberg Data
SCSI Commands
______________________________________________________________________
Tandberg SLR Autoloader SCSI Functional Specifications
2-53
2.18
WRITE BUFFER 3Bh
Bit
Byte
7
6
5
4
3
2
1
0
0
Operation Code (3Bh)
1
Logical Unit Number
Reserved
Mode
2
Buffer ID
3
(MSB)
4
Buffer Offset
5
(LSB)
6
(MSB)
7
Transfer Length
8
(LSB)
9
Vendor Unique
Reserved
Flag
Link
The WRITE BUFFER command is used to download firmware to the
medium changer device. This command should only be used by qualified
service personnel.
NOTE:
Prior to issuing this command, the medium changer device must be placed in
Flash Update Mode by entering the front panel Menu and selecting Flash Update.
If the WRITE BUFFER command is not received within thirty seconds, the device
will exit Flash Update Mode. If the device is not in Flash Update Mode when the
WRITE BUFFER command is issued, the target shall terminate the command
with CHECK CONDITION status. The sense key shall be set to ILLEGAL
REQUEST with an additional sense code and additional sense code qualifier set to
CANNOT EXECUTE FLASH UPDATE.
Mode
The library only supports the following values in the mode field. If any other
value is set, the target shall return CHECK CONDITION status and a sense
key of ILLEGAL REQUEST
Mode
Description
101h
Download Microcode and Save
111h
Download Microcode with offsets and Save
Buffer ID
The Buffer ID field must be set to 00h. If any other value is set, the target
shall return CHECK CONDITION status and a sense key of ILLEGAL
REQUEST
Buffer Offset
The Buffer Offset field must be set to 000000h for the first WRITE BUFFER
command and must progress by the transfer size for each subsequent
WRITE BUFFER command.
Transfer Length
The transfer length field specifies the number of bytes to transfer. The total
size of the transfer (1MB) is determined by the value reported in the
INQUIRY data Firmware Download Size (byte 53). The transfer length
must be a multiple of 65536 bytes (for example, 8192, 16384, 32768, etc). If
an incorrect transfer length is specified, the target shall return CHECK
CONDITION status and a sense key of ILLEGAL REQUEST.