DEVELOPMENT QIC-157 Revision B 16 Dec 94 STANDARD ATA PACKET INTERFACE (ATAPI) FOR STREAMING TAPE 311 East Carrillo Street Santa Barbara, Californi
ATAPI For Streaming Tape QIC-157 Rev B 3 Write DMA (wo/retry) N CB V V Write long (w/retry) N* 32 V V
ATAPI For Streaming Tape QIC-157 Rev B 93 6.8.12. REWIND Command The REWIND command causes the Device to position to the beginning-of-partition in t
ATAPI For Streaming Tape QIC-157 Rev B 94 6.8.13. SPACE Command The SPACE command is used to position to a relative filemark or to end of data depen
ATAPI For Streaming Tape QIC-157 Rev B 95 If beginning-of-partition is encountered while spacing over filemarks in the reverse direction, “Check Cond
ATAPI For Streaming Tape QIC-157 Rev B 96 6.8.14. TEST UNIT READY Command The TEST UNIT READY command provides a means to check if the Device is read
ATAPI For Streaming Tape QIC-157 Rev B 97 6.8.15. WRITE Command The WRITE command requests that the Device write the data that is transferred from th
ATAPI For Streaming Tape QIC-157 Rev B 98 Table 6-77 Recommended Sense Key, ASC and ASCQ for WRITE Errors Sense Key ASC ASCQ Description of Error
ATAPI For Streaming Tape QIC-157 Rev B 99 6.8.16. WRITE FILEMARK Command The WRITE FILEMARK command requests that the Device write a filemark to the
ATAPI For Streaming Tape QIC-157 Rev B 100 6.9. Glossary for ATAPI Device Beginning-of-partition. The position at the beginning of the permissible
ATAPI For Streaming Tape QIC-157 Rev B 101 6.10. Vendor Identification List Vendor Identification List ID Organization 3M 3M Company ADAPTEC Adaptec
ATAPI For Streaming Tape QIC-157 Rev B 102 JVC JVC Information Products Co. KODAK Eastman Kodak KONAN Konan KONICA Konica Japan LAPINE Lapine Techno
ATAPI For Streaming Tape QIC-157 Rev B 4 1.6.1. Redundant Command Functionality (Task File vs. Packet) The SCSI Standard has provided some commands
ATAPI For Streaming Tape QIC-157 Rev B 103 WDIGTL Western Digital XEBEC Xebec Corporation i ii
ATAPI For Streaming Tape QIC-157 Rev B 5 2. ATAPI Protocol The ATAPI Device is commanded by two methods, the original ATA Command protocol utilizing
ATAPI For Streaming Tape QIC-157 Rev B 6 Data transfers may be accomplished in more ways than are described by this specification, but the sequences
ATAPI For Streaming Tape QIC-157 Rev B 7 Table 2-1 Byte Count Register Usage Operation Usage (PIO) Usage (DMA) Send Command Packet Is used as a pa
ATAPI For Streaming Tape QIC-157 Rev B 8 upon receipt of any new ATAPI command. (See 2.15 ATAPI Command Protocol and DSC Handling , page 5.) 3. If a
ATAPI For Streaming Tape QIC-157 Rev B 9 2.8. Flow of Packet Command with PIO Data Out from the Host This class includes commands such as Mode Sele
ATAPI For Streaming Tape QIC-157 Rev B 10 2. The Host writes the Packet Command code (A0h) to the Command Register. 3. The Device sets BSY and prep
ATAPI For Streaming Tape QIC-157 Rev B 11 2.11. Timing of Packet Command BSYI/OCoDDRQINTRQByte CountWrite CMDRead StatusRd/Wr DataOptional useof In
ATAPI For Streaming Tape QIC-157 Rev B 12 2.12. Timing of Data and Status Transfer BSYI/OCoDDRQINTRQByte CountRead StatusRd/Wr Data5µs MaximumFlowC
Technical Editor: Paul Boehler Arcada Software 708 Fiero Commerce Park 10 San Luis Obispo, CA 93401 Telephone: (805) 544-1496
ATAPI For Streaming Tape QIC-157 Rev B 13 the Device asserts INTRQ before testing DRQ following the transfer of the last data word in a command or da
ATAPI For Streaming Tape QIC-157 Rev B 14 present, the ATAPI Driver must issue the ATAPI Device an ATAPI command, re-enabling DRDY, before it can iss
ATAPI For Streaming Tape QIC-157 Rev B 15 Implementor's Note: Implementors of ATAPI drivers which are intended to share a single cable with a di
ATAPI For Streaming Tape QIC-157 Rev B 16 3. ATAPI Transport Mechanism The Transport Mechanism provides for the hardware support to connect the Host
ATAPI For Streaming Tape QIC-157 Rev B 17 3.2. ATAPI Soft Reset Command and Protocol ATA specifies a mandatory software reset capability because it
ATAPI For Streaming Tape QIC-157 Rev B 18 1. Host Sets and then clears SRST. 2. Master Device sets Busy, clears DASP & PDIAG and waits up to 3m
ATAPI For Streaming Tape QIC-157 Rev B 19 3.6. ATAPI Register Map (Packet Command) Logic conventions are: A = signal asserted, N = signal negate
ATAPI For Streaming Tape QIC-157 Rev B 20 D7 D6 D5 D4 D3 D2 D1 D0 BSY DRDY Reserved DSC DRQ CORR IDX CHECK Read Figure 3-1 ATAPI Status Register
ATAPI For Streaming Tape QIC-157 Rev B 21 Bit 6,5,4 Reserved Reserved for Tag Type. Bit 3,2,1 Reserved Reserved for future enhancement. Bit 0 DM
ATAPI For Streaming Tape QIC-157 Rev B 22 D7 D6 D5 D4 D3 D2 D1 D0 1 Reserved 1 DRV SAM LUN R/W Figure 3-6 ATAPI Drive Select Register (ATA Drive
ATAPI For Streaming Tape QIC-157 Rev B iii Table of Contents I. REVISION HISTORY ...
ATAPI For Streaming Tape QIC-157 Rev B 23 4. Streaming Tape (Task File) Commands 4.1. ATA (Task File) Command Implementation Requirements This sec
ATAPI For Streaming Tape QIC-157 Rev B 24 4.1.7. ATAPI Identify Device The ATAPI IDENTIFY DEVICE command enables the Host to receive parameter info
ATAPI For Streaming Tape QIC-157 Rev B 25 The ATAPI Identify Device command shall not delay the transfer of the Identify Device data by more than 200
ATAPI For Streaming Tape QIC-157 Rev B 26 Bits 1-0 Command Packet Size This field indicates the size of the command packets used by this Device.
ATAPI For Streaming Tape QIC-157 Rev B 27 Bit 10 IORDY can be disabled Is used to indicate a Device’s ability to enable or disable the use of IORDY.
ATAPI For Streaming Tape QIC-157 Rev B 28 be set in this field by the Device to indicate which Advanced PIO Modes that it is capable of supporting. O
ATAPI For Streaming Tape QIC-157 Rev B 29 Any Device that supports PIO Mode 3 or above shall support this field, and the value in word 68 shall not b
ATAPI For Streaming Tape QIC-157 Rev B 30 Table 4-6 Feature Number Description for Set Feature Command Feature Number Data Transfer Mode. Mode conta
ATAPI For Streaming Tape QIC-157 Rev B 31 5. Streaming Tape Device Model Streaming Tape Devices optimize their use in storing or retrieving user dat
ATAPI For Streaming Tape QIC-157 Rev B 32 Some multi-track Devices have only one track group, using a parallel storage format that supports the simul
ATAPI For Streaming Tape QIC-157 Rev B iv 4.1.6 Packet Command...
ATAPI For Streaming Tape QIC-157 Rev B 33 Implementation of QFA allows the Host to partition a tape into two partitions. Note that the default config
ATAPI For Streaming Tape QIC-157 Rev B 34 already retrieved the MODE data or determined the density and block size but shall not use this information
ATAPI For Streaming Tape QIC-157 Rev B 35 which the Host specifies the size of a logical block for transfer and not the method of recording physical
ATAPI For Streaming Tape QIC-157 Rev B 36 For some pre-formatted volumes, the identifiers are associated with physical blocks. In variable-block size
ATAPI For Streaming Tape QIC-157 Rev B 37 commands are issued. When a READ command for a single data block has been successfully executed, the logica
ATAPI For Streaming Tape QIC-157 Rev B 38 6. Streaming Tape Packet Commands 6.1. Packet Command Implementation Requirements The first byte of all
ATAPI For Streaming Tape QIC-157 Rev B 39 Table 6-2 Typical Command Packet for Read or Write Operations Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 1 R
ATAPI For Streaming Tape QIC-157 Rev B 40 parameters, diagnostic parameters, etc.). A parameter lengt
ATAPI For Streaming Tape QIC-157 Rev B 41 6.5. Unit Attention Condition The ATAPI Device shall generate a unit attention whenever the Device has be
ATAPI For Streaming Tape QIC-157 Rev B 42 6.8. ATAPI Packet Commands for Streaming Tape Devices Table 6-4 Packet Commands Supported by Streaming Ta
ATAPI For Streaming Tape QIC-157 Rev B v 6.10 VENDOR IDENTIFICATION LIST...
ATAPI For Streaming Tape QIC-157 Rev B 43 6.8.1. Erase Command The ERASE command causes part or all of the medium to be erased beginning at the curr
ATAPI For Streaming Tape QIC-157 Rev B 44 6.8.2. INQUIRY Command The INQUIRY command requests that information regarding parameters of the Device be
ATAPI For Streaming Tape QIC-157 Rev B 45 Table 6-8 INQUIRY Data Format Bit Byte 7 6 5 4 3 2 1 0 0 Reserved (Peripheral Qualifier) Peripheral Devic
ATAPI For Streaming Tape QIC-157 Rev B 46 A Response Data Format value of 02h indicates that the data shall be in the format specified in this Specif
ATAPI For Streaming Tape QIC-157 Rev B 47 6.8.3. LOAD UNLOAD Command The LOAD UNLOAD command requests that the Device enable or disable further medi
ATAPI For Streaming Tape QIC-157 Rev B 48 Table 6-12 Load, EOT, and Retension Bit Combinations Load EOT Re-Ten Meaning 0 0 0 unload 0 0 1 retension t
ATAPI For Streaming Tape QIC-157 Rev B 49 6.8.4. LOCATE Command LOCATE command causes the Device to position to the specified block address in a spe
ATAPI For Streaming Tape QIC-157 Rev B 50 6.8.5. LOG SELECT Command The LOG SELECT command provides a means to manage statistical information maint
ATAPI For Streaming Tape QIC-157 Rev B 51 Table 6-18 Recommended Sense Key, ASC and ASCQ for LOG SELECT Errors Sense Key ASC ASCQ Description of E
ATAPI For Streaming Tape QIC-157 Rev B 52 6.8.6. LOG SENSE Command The LOG SENSE command provides a means to retrieve statistical information mainta
ATAPI For Streaming Tape QIC-157 Rev B vi TABLE 6-37 MODE PARAMETER LIST...
ATAPI For Streaming Tape QIC-157 Rev B 53 Table 6-20 Recommended Sense Key, ASC and ASCQ for LOG SENSE Errors Sense Key ASC ASCQ Description of Er
ATAPI For Streaming Tape QIC-157 Rev B 54 6.8.6.12.Log Parameters This section defines the descriptors and pages for log parameters that may be used
ATAPI For Streaming Tape QIC-157 Rev B 55 Table 6-23 Log Parameter Bit Byte 7 6 5 4 3 2 1 0 0 (MSB) Parameter Code 1 (LSB)2 0 (DU) 1 (DS) 0 (
ATAPI For Streaming Tape QIC-157 Rev B 56 The page length field specifies the length in bytes of the following supported page list, The supported pag
ATAPI For Streaming Tape QIC-157 Rev B 57 6.8.6.38.2.Error Counter Page (Write) This section defines the parameter codes for the Error Counter Page (
ATAPI For Streaming Tape QIC-157 Rev B 58 6.8.6.39.Tape Capacity Page Code 31h Table 6-28 Tape Capacity Page Code 31h Bit Byte 7 6 5 4 3 2 1 0 0 Pag
ATAPI For Streaming Tape QIC-157 Rev B 59 6.8.7. MODE SELECT Command The MODE SELECT command provides a means to specify medium or Device parameters
ATAPI For Streaming Tape QIC-157 Rev B 60 Table 6-30 Recommended Sense Key, ASC and ASCQ for MODE SELECT Errors Sense Key ASC ASCQ Description of
ATAPI For Streaming Tape QIC-157 Rev B 61 6.8.8. MODE SENSE Command The MODE SENSE command provides a means for a Device to report parameters. It is
ATAPI For Streaming Tape QIC-157 Rev B 62 SENSE request of 3Fh in the page code field. The Sense Key shall be set to ILLEGAL REQUEST and the Addition
ATAPI For Streaming Tape QIC-157 Rev B vii I. Revision History Changes for Revision B: Many clarifications and simplifications were made throughout
ATAPI For Streaming Tape QIC-157 Rev B 63 6.8.8.13. Mode Parameters This section describes the block descriptors and the pages used with MODE SELECT
ATAPI For Streaming Tape QIC-157 Rev B 64 any, that may follow the last block descriptor. A block descriptor length of zero indicates that no block d
ATAPI For Streaming Tape QIC-157 Rev B 65 The Page Code field identifies the format and parameters defined for that mode page. Some page codes are de
ATAPI For Streaming Tape QIC-157 Rev B 66 a) report a medium-type value as described for item (2) if no preceding MODE SELECT command has been issue
ATAPI For Streaming Tape QIC-157 Rev B 67 Table 6-40 ATAPI Streaming Tape Device Medium Type Codes Code IPS Oe 3M Ref No. Form Length A B C
ATAPI For Streaming Tape QIC-157 Rev B 68 82h 120 TDB Reserved 3.5" TBD 02b‡ 84h 120 900 DC 3 GB 3.5" 295 12 27.5 24
ATAPI For Streaming Tape QIC-157 Rev B 69 Table 6-42 Key for 5.25" cartridges: Code Meaning A 2nd and 3rd EOT holes B 1st and 2nd EOT holes C
ATAPI For Streaming Tape QIC-157 Rev B 70 For the MODE SENSE command, the density code field reflects the current operating density of the Device. Fo
ATAPI For Streaming Tape QIC-157 Rev B 71 Table 6-46 ATAPI Streaming Tape Device Density Codes Code mm (Inch) Tracks bpmm bpi Code Type Reference Not
ATAPI For Streaming Tape QIC-157 Rev B 72 Table 6-47 Key for Density Codes Code Meaning NRZI Non Return to Zero, change on ones GCR Group Code Rec
ATAPI For Streaming Tape QIC-157 Rev B 1 1. ATAPI Overview The purpose of the ATAPI is to provide a more extensible and general purpose interface th
ATAPI For Streaming Tape QIC-157 Rev B 73 A Data Compression Enable (DCE) bit of one indicates that the data compression is to be enabled. When this
ATAPI For Streaming Tape QIC-157 Rev B 74 data most recently encountered during a prior read operation. This is the case in the boundaries shown in T
ATAPI For Streaming Tape QIC-157 Rev B 75 Implementor's Note: When compressed data is encountered on the medium that the Device cannot decompres
ATAPI For Streaming Tape QIC-157 Rev B 76 Table 6-53 Compression Algorithm Identifier Algorithm Identifier Description 00h No Algorithm Selected (I
ATAPI For Streaming Tape QIC-157 Rev B 77 The Medium Format Recognition field is a Device-defined value indicating the Device's capability to au
ATAPI For Streaming Tape QIC-157 Rev B 78 If the PREVENT bit is set, the Device defaults in the Prevent state after power up. If the LOCKED bit is se
ATAPI For Streaming Tape QIC-157 Rev B 79 6.8.9. READ Command The READ command requests that the Device transfer one or more block(s) of data to the
ATAPI For Streaming Tape QIC-157 Rev B 80 sense data. If end-of-data is encountered at or after early-warning, the EOM bit shall also be set to one.
ATAPI For Streaming Tape QIC-157 Rev B 81 6.8.10. READ POSITION Command The READ POSITION command reports the current logical position of the Device.
ATAPI For Streaming Tape QIC-157 Rev B 82 Table 6-60 Read Position Data Format Bit Byte 7 6 5 4 3 2 1 0 0 BOP EOP Reserved BPU Reserved 1 Partitio
ATAPI For Streaming Tape QIC-157 Rev B 2 1.4. Packet Types To allow for generic packet transfer and the connection of SCSI like peripherals, there
ATAPI For Streaming Tape QIC-157 Rev B 83 write operation, this field indicates the block number of blocks not written to the medium. Whereas, as an
ATAPI For Streaming Tape QIC-157 Rev B 84 6.8.11. REQUEST SENSE Command The REQUEST SENSE command requests that the Device transfer sense data to the
ATAPI For Streaming Tape QIC-157 Rev B 85 implementation of error code 71h is optional. Error code values of 00h to 6Fh are not defined by this Speci
ATAPI For Streaming Tape QIC-157 Rev B 86 The Sense Key field is mandatory and indicates generic information describing an error or exception conditi
ATAPI For Streaming Tape QIC-157 Rev B 87 Table 6-64 Field Pointer Bytes Bit Byte 7 6 5 4 3 2 1 0 15 SKSV C/D Reserved Reserved BPV Bit Pointer 16 (
ATAPI For Streaming Tape QIC-157 Rev B 88 cleared in the Status Register to free the bus. The actual Completion Status is unknown until the DSC bit i
ATAPI For Streaming Tape QIC-157 Rev B 89 6.8.11.27. Sense-key and Sense Code Definitions Table 6-66 Sense Key Descriptions Sense key Description 0h
ATAPI For Streaming Tape QIC-157 Rev B 90 Table 6-67 ASC and ASCQ Assignments ASC ASCQ Description 00 00 NO ADDITIONAL SENSE INFORMATION 00 01 FIL
ATAPI For Streaming Tape QIC-157 Rev B 91 2A 00 PARAMETERS CHANGED 2A 01 MODE PARAMETERS CHANGED 2D 00 OVERWRITE ERROR ON UPDATE IN PLACE 29 00
ATAPI For Streaming Tape QIC-157 Rev B 92 Table 6-68 Recommended Sense Key, ASC and ASCQ for REQUEST SENSE Errors Sense Key ASC ASCQ Description o
Kommentare zu diesen Handbüchern