Write Buffer Command
August 2016 Commands 239
Write Buffer Command
The Write Buffer command updates the functional microcode for the drive. The
process of updating microcode is called a download.
A change in the initiator from one Write Buffer command to another during a
download is interpreted as a new download process request and terminates the
active process. This allows another initiator to download microcode if the first
initiator goes down before completing its download request.
A successful download writes new microcode to memory and resets the tape drive
after the final Write Buffer command completes.
A failure of the writing process causes the drive to retain the current version of the
microcode.
A CRC check is performed over the entire microcode after the last command.
A Unit Attention condition is set for all initiators other than the initiator that
requested the download with the additional sense code set to Microcode Has Been
Changed.
Any buffered write data and filemarks are written on the tape before this operation
starts.
TABLE 3-178 Write Buffer Command
Byte
Bit
76543210
0 Operation Code (3Bh)
1 Reserved Mode
2 Buffer ID
3
thru
5
(MSB)
Buffer Offset
(LSB)
6
thru
8
(MSB)
Parameter List Length
(LSB)
9 Control Byte