The status byte and status byte code are defined in Table 3.80, 3.81. A status byte shall be sent from the target to the initiator during the STATUS phase at the completion of each command unless the command is terminated by one of the following events:
a) an ABORT message;
b) an ABORT TAG message; (ABORT TAG is not supported by
this scanner)
INTERFACE
c)a BUS DEVICE RESET message;
d)a CLEAR QUEUE message;(CLEAR QUEUE is not supported by this scanner)
e)a hard reset condition;
f)an unexpected disconnect.
The STATUS phase normally occurs at the end of a command but in some case may occur prior to transferring the command descriptor block.
Table 3.80 | Status Byte |
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Bit |
|
| 7 |
|
| 6 |
|
| 5 |
| 4 |
| 3 | 2 | 1 |
| 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
| Reserved |
|
|
|
| Status Byte Code |
|
| Reserved | ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
Table 3.81 | Status Byte Code |
|
|
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
| |||||||
| Bits of Status Byte |
|
| Status |
|
|
|
|
|
|
| |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|
|
|
|
|
|
|
|
|
| |
R R | 0 | 0 | 0 | 0 | 0 | R |
| GOOD |
|
|
|
|
| Supported | ||||
R R 0 | 0 | 0 | 0 | 1 | R |
| CHECK CONDITION |
|
| Supported | ||||||||
R R 0 | 0 | 0 | 1 | 0 | R |
| CONDITION MET |
|
|
|
| |||||||
R R | 0 | 0 | 1 | 0 | 0 | R |
| BUSY |
|
|
|
|
| Supported | ||||
R R 0 | 1 | 0 | 0 | 0 | R |
| INTERMEDIATE |
|
|
|
|
| ||||||
R R 0 | 1 | 0 | 1 | 0 | R |
|
|
| ||||||||||
R R 0 | 1 | 1 | 0 | 0 | R |
| RESERVATION CONFLICT |
| Supported | |||||||||
R R 1 0 0 0 1 R |
| COMMAND TERMINATED |
|
|
| |||||||||||||
R R 1 | 0 | 1 | 0 | 0 | R | QUEUE FULL |
|
|
|
|
| |||||||
| All Other Code |
|
| Reserved |
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
| ||||||||
Key: R = Reserved bit |
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
M3099GX/GH OEM Manual |