User`s manual

ATA/ATAPI Firmware Status Codes
F-6
F
ATA/ATAPI Firmware Status Codes
Note The marketing terms IDE and EIDE are often used
when describing the ATA and ATAPI interface and
protocol. The underlying technologies behind these are
defined by the ATA and ATAPI standards proposed by
the Accredited Standards Committee (ASC) and the
Small Form Factor Committee (SFFC) respectively.
ATA falls under the X3T10 umbrella of the ASC, while
the proposed ATAPI specification is described by the
SFF-8020 document set forth by the SFFC. SFFC has
also proposed a number of other ATA-related
documents. This PPCBug userÕs manual uses either the
IDE/EIDE or the ATA/ATAPI nomenclature, as seems
appropriate.
The debugger returns a single 16-bit word for an error code unless
additional status is available. For ATA commands, the additional
status comprises one 16-bit word; for ATAPI, up to two 16-bit
works are returned.
The first 16-bit word contains the ATA/ATAPI command and the
contents of the error register. In response to ATAPI commands, it
also contains the sense key code. For non-zero sense key values, an
additional 16-bit word is returned, concatenated to the second 16-
bit word. This third status word indicates the ASC and ASQ values
returned by the device in response to an ATAPI packet command.
Below is a list of controller dependent error codes and a short
description of each for the IDE and EIDE controllers. For definition
of the error register and the sense codes, refer to the appropriate
ATA and/or ATAPI documents:
ATA - AT Attachment Interface with Extensions (ATA-2)
-X3T10-948D
ATAPI - ATA Packet Interface for CD-ROMs
- SFF-8020i.