5.3 Host Commands
C141-E192-01EN
5-55
At command completion (I/O registers contents to be read)
1F7
H
(ST)
Status information
1F6
H
(DH)
x
x
x
DV
Max head/LBA [MSB]
1F5
H
(CH)
1F4
H
(CL)
1F3
H
(SN)
1F2
H
(SC)
1F1
H
(ER)
Max. cylinder [MSB]/Max. LBA
Max. cylinder [LSB]/Max. LBA
Max. sector/Max. LBA [LSB]
xx
Error information
(18) EXECUTE DEVICE DIAGNOSTIC (X’90’)
This command performs an internal diagnostic test (self-diagnosis) of the device.
This command usually sets the DRV bit of the Drive/Head register is to 0
(however, the DV bit is not checked). If two devices are present, both devices
execute self-diagnosis.
If device 1 is present:
•
Both devices shall execute self-diagnosis.
•
The device 0 waits for up to 6 seconds until device 1 asserts the PDIAG-
signal.
•
If the device 1 does not assert the PDIAG- signal but indicates an error, the
device 0 shall append X’80’ to its own diagnostic status.
•
The device 0 clears the BSY bit of the Status register and generates an
interrupt. (The device 1 does not generate an interrupt.)
•
A diagnostic status of the device 0 is read by the host system. When a
diagnostic failure of the device 1 is detected, the host system can read a status
of the device 1 by setting the DV bit (selecting the device 1).
When device 1 is not present:
•
The device 0 posts only the results of its own self-diagnosis.
•
The device 0 clears the BSY bit of the Status register, and generates an
interrupt.
Table 5.6 lists the diagnostic code written in the Error register which is 8-bit code.
If the device 1 fails the self-diagnosis, the device 0 “ORs” X’80’ with its own
status and sets that code to the Error register.
Содержание MHT2020AT
Страница 1: ...C141 E192 01EN MHT2080AT MHT2060AT MHT2040AT MHT2030AT MHT2020AT DISK DRIVES PRODUCT MANUAL ...
Страница 4: ...This page is intentionally left blank ...
Страница 8: ...This page is intentionally left blank ...
Страница 10: ...This page is intentionally left blank ...
Страница 12: ...This page is intentionally left blank ...
Страница 34: ...This page is intentionally left blank ...
Страница 62: ...Theory of Device Operation 4 10 C141 E192 01EN Figure 4 4 Read write circuit block diagram ...
Страница 74: ...This page is intentionally left blank ...
Страница 191: ...5 4 Command Protocol C141 E192 01EN 5 117 g d f f d e Figure 5 7 Normal DMA data transfer ...
Страница 220: ...This page is intentionally left blank ...
Страница 242: ...This page is intentionally left blank ...
Страница 246: ...This page is intentionally left blank ...
Страница 248: ...This page is intentionally left blank ...
Страница 252: ...This page is intentionally left blank ...
Страница 254: ...This page is intentionally left blank ...
Страница 255: ......
Страница 256: ......