![](/images/backgrounds/146247/146247-253154x1.png)
5.21READ CAPACITY Command (25h)
The READ CAPACITY command reports formatted capacity and
Table
Bit | 7 | 6 | 5 | 4 |
| 3 | 2 | 1 | 0 |
Byte |
| ||||||||
|
|
|
|
|
|
|
|
| |
0 |
|
|
| Operation | Code (25h) |
|
|
| |
|
|
|
|
|
|
|
|
| |
1 |
|
|
| Reserved |
|
|
| RelAdr | |
|
|
|
|
|
|
|
| ||
2 - 5 |
|
|
| Logical Block Address |
|
|
| ||
|
|
|
|
|
|
|
|
| |
6 - 7 |
|
|
| Reserved |
|
|
|
| |
|
|
|
|
|
|
|
|
| |
8 |
|
|
| Reserved |
|
|
| PMI | |
|
|
|
|
|
|
|
|
| |
9 |
|
|
| Control |
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
Table
Field | Description |
|
|
RelAdr | Relative Addressing is not supported by the drive; the field must be 0. |
Logical Block Address | Used in conjunction with the PMI bit. Must be 0 when the PMI bit is 0. |
|
|
| Partial Media Indicator. When the value in the field is 0, the Returned Log- |
| ical Block Address (Table |
| ical unit. |
| When the value is 1, the Returned Logical Block Address is that of the last |
PMI | sector on the same cylinder as the Logical Block Address supplied in the |
Command Descriptor Block's LBA field. That is, the Returned Logical | |
| Block Address is that of the Logical Block Address before a substantial de- |
| lay in data transfer will be encountered). |
| In either case, Block Length in Bytes (Table |
| tor size, as determined by the Block Length field in the Mode parameter |
| Block Descriptor. |
Table
Table
Bit | 7 | 6 | 5 |
| 4 | 3 |
| 2 | 1 | 0 |
Byte |
|
| ||||||||
|
|
|
|
|
|
|
|
|
| |
0 - 3 |
|
|
| Returned Logical Block Address |
|
|
| |||
|
|
|
|
|
|
|
|
| ||
4 - 7 |
|
|
|
| Block Length in Bytes |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|