
5.3 Host Commands
(3)READ LONG (X’22’ or X’23’)
This command operates similarly to the READ SECTOR(S) command except that the device transfers the data in the requested sector and the ECC bytes to the host system. The ECC error correction is not performed for this command. This command is used for checking ECC function by combining with the WRITE LONG command. The READ LONG command supports only single sector operation.
Number of ECC bytes to be transferred is fixed to 4 bytes and cannot be changed by the SET FEATURES command.
•Error reporting conditions
(1)A specified address exceeds the range where read operations are allowed (ST = 51h, ER = 10h).
(2)A value other than 01h is specified in the SC field (ST = 51h, ER = 04h).
(3)The sync byte indicating the beginning of a sector was not found (ST = 51h, ER = 01h).
(4)A SATA communication error occurred (ST = 51h, ER = 0Ch).
(5)An error other than the above errors occurred (ST = 51h, ER = 04h).
At command issuance (Shadow Block Registers setting contents)
CM | 0 | 0 | 1 |
| 0 | 0 | 0 | 1 | R | ||
|
|
|
|
|
|
|
|
|
|
| |
DH | x | L |
| x |
| x |
|
| HD No. /LBA |
| |
|
|
|
|
|
|
|
|
| |||
CH |
|
| Cylinder No. [MSB] / LBA |
|
| ||||||
CL |
|
| Cylinder No. [LSB] | / LBA |
|
| |||||
SN |
|
| Sector No. |
|
|
| / LBA [LSB] |
| |||
SC |
|
|
|
|
|
| 01 |
|
|
| |
FR |
|
|
|
|
|
| xx |
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
(R: Retry)
At command completion (Shadow Block Registers contents to be read)
ST |
|
|
|
| Status information | |||
|
|
|
|
|
|
|
|
|
DH | x | L |
| x |
| x |
| HD No. /LBA |
|
|
|
|
|
|
| ||
CH |
|
| Cylinder No. [MSB] / LBA | |||||
CL |
|
| Cylinder No. [LSB] | / LBA | ||||
SN |
|
| Sector No. | / LBA [LSB] | ||||
SC |
|
|
|
|
| xx |
| |
ER |
|
|
|
| Error information | |||
|
|
|
|
|
|
|
|
|