Specifications
4.9 Error register
CS1FX– = 1 DA2 = 0
CS3FX– = 0 DA1 = 0
DA0 = 1 Mode = Read Only
PC-AT I/O port address: 1F1
H
This register contains the status from the last command executed by the
drive, or it may contain a diagnostic code. At the completion of any
command except Execute Drive Diagnostic, the contents of this register
are valid when ERR=1 in the Status register. Following a power on, reset,
or completion of an Execute Drive Diagnostic command, this register
contains a diagnostic code, as described in Section 5.4.1.
The error bits in the Error register are defined below:
Bit 7 6 5 4 3 2 1 0
Name BBK UNC MC IDNF MCR ABRT TK0NF AMNF
BBK indicates a bad block mark was detected in the ID field of the
requested sector.
UNC indicates an uncorrectable data error has been encountered.
IDNF indicates the requested sector’s ID field could not be found.
ABRT indicates the requested command has been aborted due to a
drive status error (such as not ready or write fault) or because
the command is invalid.
TK0NF indicates track 0 has not been found during the command.
AMNF indicates the data address mark has not been found after finding
the correct ID field.
MC /
MCR
These bits are reserved for removable-media drives.
ATA Interface Reference Manual, Rev. C 19










