ATA Packet Interface
ATA Packet Interface (ATAPI) is a protocol that has been added to Parallel ATA and Serial ATA so that a greater variety of devices can be connected to a computer than with the ATA command set alone.
ATA was originally designed for, and worked only with hard disks and devices that could emulate them. A group called the Small Form Factor committee (SFF) introduced ATAPI (ATA Packet Interface) ATA to be used for a variety of other devices that require functions beyond those necessary for hard disks. For example, any removable media device needs a "media eject" command, and a way for the host to determine whether the media is present, and these were not provided in the ATA protocol.
The Small Form Factor committee approached this problem by defining ATAPI, the "ATA Packet Interface," as part of the fourth generation of ATA. ATAPI is a protocol that carries SCSI commands and responses through the ATA interface; therefore, all ATAPI devices are "speaking SCSI" other than at the electrical interface. In fact, some early ATAPI devices were simply SCSI devices with an ATA/ATAPI to SCSI protocol converter added on. The SCSI commands and responses are embedded in "packets" (hence "ATA Packet Interface") for transmission on the ATA cable. This interfaces ATA with any device class for which a SCSI command set has been defined.
ATAPI devices are also "speaking ATA" because the ATA physical interface and protocol are still being used to send the packets. On the other hand, ATA hard drives and solid-state drives do not use ATAPI.
The SCSI commands and responses used by each class of ATAPI device (CD-ROM, tape, etc.) are described in other documents or specifications specific to those device classes and are not within ATA/ATAPI or the T13 committee's purview. One commonly used set is defined in the MMC SCSI command set.
- SCSI / ATA Translation (SAT)
- Serial ATA: High Speed Serialized AT Attachment, Revision 1.0a. Serial ATA Work Group. 7 Jan 2003.
- Charles M. Kozierok (2001-04-17). "The PC Guide: SFF-8020 / ATA Packet Interface (ATAPI)". Retrieved 2008-08-23.
- Charles M. Kozierok (2001-04-17). "The PC Guide: ATA/ATAPI-4". Retrieved 2008-08-23.
- Technical Committee T13 AT Attachment (1998). AT Attachment with Packet Interface Extension (ATA/ATAPI-4). Global Engineering Documents.