
Host Interface
Table 4.25 Self-diagnosis detailed code
Detailed code | Meaning |
|
|
01h | Normally end |
|
|
Hardware error | |
| (For |
|
|
8xh | Device 1 ended abnormally. (For device 0 only) |
|
|
4.5.6 GET MEDIA STATUS (DAh)
|
| Table 4.26 GET MEDIA STATUS command |
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Bit |
|
|
| |
|
|
|
|
|
|
|
|
|
|
| 7 | 6 | 5 | 4 |
| 3 | 2 | 1 | 0 |
|
|
|
|
|
|
|
|
|
|
CM | 1 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | |
|
|
|
|
|
|
|
|
|
|
DH | X | X | X | DRV |
| X | X | X | X |
|
|
|
|
|
|
|
|
|
|
CH | X | X | X | X |
| X | X | X | X |
|
|
|
|
|
|
|
|
|
|
CL | X | X | X | X |
| X | X | X | X |
|
|
|
|
|
|
|
|
|
|
SN | X | X | X | X |
| X | X | X | X |
|
|
|
|
|
|
|
|
|
|
SC | X | X | X | X |
| X | X | X | X |
|
|
|
|
|
|
|
|
|
|
FR | X | X | X | X |
| X | X | X | X |
|
|
|
|
|
|
|
|
|
|
The GET MEDIA STATUS command respond with the ODD status.
The command ends abnormally in either of the conditions given below and sets the value shown in Table 4.27 in the Error register.
•
•
•
•
When no media is inserted
When media is exchanged
When the Eject switch is pressed
When media is
Otherwise, the command ends normally. If a hardware error by which the command cannot be executed occurs, as is the case with other commands, the command ends with Aborted Command.