K6610170
Rev.2
Dec 22, 2004
- 62 -
7.5.6. Execute Device Diagnostic [90h]
Task
File
Registers
7 6 5 4 3 2 1 0
Command 90h
LBA High
XX
LBA Mid
XX
LBA Low
XX
Device/Head
X X X
DRV
X X X X
Sector Count
XX
Features
XXh
This command allows the device to perform a self-diagnostics. When Device 0 and Device 1 are connected
in the daisy chain mode, this command is executed for both of the devices. When the device receives this
command, it sets BSY=1 and executes the self-diagnostic operation. Then the device registers the
diagnostic result in the Error Register, clears BSY, and generates an interrupt.
Table 7.7 Diagnostic Codes
Code Contents
01
No
Error
02
Controller
error
03
Sector buffer error
05
CPU
error
8X
DRV1
error