Command Processing
108 C141-C013
2.2 Status Byte
The format of the status byte and the types of status which the HDD supports are
shown in Table 2.6.
The status byte is 1 byte of information in the RESP (response) frame which
notifies the INIT from the TARG after a command is completed, and which shows
the results of executing the command. Also, when an Input/Output operation
request has been received, even if the TARG cannot execute the command, the
status byte is reported. However, by forcibly interrupting execution by an
abnormal state such as ABORT TASK, ABORT TASK SET, CLEAR TASK
SET, LOGICAL UNIT RESET, HARD RESET, or SAS PORT, if the command is
cleared, the status byte for that command is not reported.
Table 2.6 Status
Status code
Status
00h GOOD Status
02h CHECK CONDITION Status
04h CONDITION MET Status (Not supported)
08h BUSY Status
10h INTERMEDIATE Status (Not supported)
14h INTERMEDIATE CONDITION MET Status (Not supported)
18h RESERVATION CONFLICT Status
22h COMMAND TERMINATED Status (Not supported)
28h TASK SET FULL Status
(1) GOOD status
This status indicates that execution of the command ended normally.
(2) CHECK CONDITION status
This status is reported in the case of a)~c) below. The HDD generates sense data when
this status is reported and displays the detailed cause. The HDD transfers the generated
sense data together with this status report in the same RESP frame. Therefore, it is
unnecessary to gather sense data using the REQUEST SENSE command.
a) If the sense key in the sense data shows RECOVERED ERROR [= 1], it shows
that the last command, which resulted in the CHECK CONDITION status,
ended normally in conjunction with error recovery processing by the HDD.
b) If the sense key in the sense data shows UNIT ATTENTION [= 6], it shows
that the HDD is being kept in the Unit Attention state. For details of the Unit
Attention state, see item 2.4.