![](/images/backgrounds/146247/146247-253164x1.png)
5.27RECEIVE DIAGNOSTIC RESULTS Command (1Ch)
The RECEIVE DIAGNOSTIC RESULTS command fetches the results of the last SEND DIAGNOSTIC command sent to the drive. The drives support the diagnostic pages listed in Table
Table
Page | Description | Size In Bytes | |
Code | |||
|
| ||
|
|
| |
00h | Supported Diagnostic Pages | 6 | |
40h | Translate Address Page (SEND DIAG) | 14 | |
|
|
| |
40h | Translate Address Page (RECEIVE DIAG) | 14 or more | |
|
|
|
The RECEIVE DIAGNOSTIC RESULTS Command Descriptor Block is shown in Table
To receive one or both of the two diagnostic pages that are available, the initiator first sends the desired page code(s) to the drive using a SEND DIAGNOSTICS command. The SEND DIAGNOSTICS command tells the drive which page it should return in response to the next RECEIVE DIAGNOSTICS RESULTS command. The page specified in the most recent SEND DIAGNOSTICS command is always the page returned in response to the RECEIVE DIAGNOSTICS RESULTS command.
Table
Bit | 7 |
| 6 | 5 | 4 | 3 |
| 2 | 1 | 0 |
Byte |
|
| ||||||||
|
|
|
|
|
|
|
|
|
| |
0 |
|
|
|
| Operation | Code (1Ch) |
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
| Reserved |
|
|
|
| PCV |
|
|
|
|
|
|
|
|
| ||
2 |
|
|
|
| Page Code Value |
|
|
| ||
|
|
|
|
|
|
|
|
| ||
3 - 4 |
|
|
|
| Allocation Length |
|
|
| ||
|
|
|
|
|
|
|
|
|
| |
5 |
| Reserved |
|
| Control |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
Table
Field | Description | |
|
| |
Allocation | Specifies the number of bytes of | |
initiator. A CHECK CONDITION is not returned if this value truncates the information | ||
Length | ||
available. | ||
| ||
|
|