
Host Interface
4.6.15 RECEIVE DIAGNOSTIC RESULTS command
Table 4.98 RECEIVE DIAGNOSTIC RESULTS command
Bit | 7 | 6 | 5 |
| 4 |
| 3 |
| 2 | 1 | 0 |
Byte |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
0 |
|
|
| Operation Code (1Ch) |
|
|
| ||||
|
|
|
|
|
|
|
|
|
| ||
1 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
|
| ||
2 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
| |||
|
|
|
| Allocation Length |
|
|
| ||||
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
| Reserved |
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
The RECEIVE DIAGNOSTIC RESULTS command transfers the diagnostic results indicated by the SEND DIAGNOSTIC command to the host. The RECEIVE DIAGNOSTC RESULT command must be issued following the SEND DIAGNOSTIC command. If not issued continuously or if there is no data to be transferred, the command transfers no data and ends normally.
4.6.16 REQUEST SENSE command
Table 4.99 REQUEST SENSE command
Bit | 7 | 6 | 5 |
| 4 |
| 3 |
| 2 | 1 | 0 |
Byte |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
0 |
|
|
| Operation Code (03h) |
|
|
| ||||
|
|
|
|
|
|
|
|
|
| ||
1 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
| Reserved |
|
|
| |||
|
|
|
|
|
|
|
|
| |||
4 |
|
|
|
| Allocation Length |
|
|
| |||
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
| Reserved |
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
The REQUEST SENSE command transfers sense data to the host. Sense data indicates detailed error information on the command whose error was reported previously. If no error command was reported, SENSE KEY indicates NO SENSE.
When issuing the REQUEST SENSE command to detect the device status, first issue the TEST UNIT READY command, then issue REQUEST SENSE.
Allocation Length indicates the length of sense data to be transferred in bytes. If Allocation Length is 0, the command transfers no data and ends normally.