Chapter 5 | ATAPI Interface |
ATAPI interface
The following table lists the ATAPI interface commands for the drive. In this table, DSC restrictive means that the host should wait for DSC to be set before issuing the command for minimum IDE bus overhead. Note that all ATAPI commands are 12 bytes in length. The command descriptions show only the first 6 or 10 bytes of these commands, even though the commands are actually 12 bytes long.
Note. Unless otherwise stated, all reserved and unsupported fields are not verified when the drive accepts a command. These fields are filled with 00s for future compatibility.
Code | DSC | Command | Comments |
| Restrictive |
|
|
|
|
|
|
00h | Y | TEST UNIT | Not DSC restrictive on some other drives. |
|
| READY |
|
|
|
|
|
01h | Y | REWIND |
|
|
|
|
|
03h | N | REQUEST | Null status if DSC not set. |
|
| SENSE |
|
|
|
|
|
08h | buffer | READ | Delay occurs if first READ is not READ 0 blocks. |
|
|
|
|
0Ah | buffer | WRITE | Write 0 not required to initialize DSC. |
|
|
|
|
10h | Y | WRITE | Flush always. WFM 0 to flush. |
|
| FILEMARK |
|
|
|
|
|
11h | Y | SPACE | Space forward/reverse Filemarks and space to |
|
|
| EOD only. |
|
|
|
|
12h | N | INQUIRY | DSC not affected. |
|
|
|
|
15h | — | MODE | Select speed, FDP, page 2B updates only. |
|
| SELECT |
|
|
|
|
|
19h | Y | ERASE | Constitutes a logical erase; accepted at BOP0/1 |
|
|
| or EOD only. |
|
|
|
|
1Ah | — | MODE |
|
|
| SENSE |
|
|
|
|
|
1Bh | Y | LOAD/UNL | UNLOAD to make not ready; LOAD to return to |
|
| OAD | Ready. LOAD w/Retension any time. (All LOADS |
|
|
| imply REWIND and select partition 0.) |
|
|
|
|
2Bh | Y | LOCATE | Locates logically only; can also select partition. |
|
|
|
|
34h | Y | READ | Also used to wait for previous command done. |
|
| POSITION |
|
|
|
|
|
3Bh | — | WRITE | Use for download only. Drive must be "unloaded". |
|
| BUFFER |
|
|
|
|
|
4Ch | — | LOG | Resets Error Counts. |
|
| SELECT |
|
|
|
|
|
4Dh | — | LOG | Contains Error Counts (WRITE and READ) and |
|
| SENSE | tape capacity. |
|
|
|
|
Page 38 | STT8000A Product Manual |