4.3 SCSI Commands
4.3.3 READ CAPACITY command
Table 4.7 READ CAPACITY command
Bit | 7 | 6 | 5 |
| 4 |
| 3 |
| 2 | 1 | 0 |
Byte |
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
| |
0 |
|
|
| Operation Code (25h) |
|
|
| ||||
1 |
| LUN |
|
|
|
|
|
| Reserved |
|
|
|
|
|
| Reserved |
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
| |
8 |
|
|
|
| Reserved |
|
|
|
| PMI | |
9 |
|
|
|
| Reserved |
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
The READ CAPACITY command transfers data related to the media capacity to INIT. Any value specified for the Partial Medium Indicator (PMI) bit is ignored.
The transfer data is listed in Table 4.8.
Table 4.8 READ CAPACITY data
Bit | 7 | 6 | 5 |
| 4 | 3 |
| 2 | 1 | 0 |
Byte |
|
| ||||||||
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Last Logical Block Address |
|
|
| ||||
|
|
|
|
|
|
|
| |||
|
|
| Block Length in Bytes |
|
|
|
Last Logical Block Address indicates the address of the last block that can be accessed.
Block Length in Bytes indicates the number of bytes per block.
4.3.4 MODE SELECT command
Table 4.9 MODE SELECT command
Bit | 7 | 6 | 5 |
| 4 |
| 3 |
| 2 | 1 | 0 |
Byte |
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
| |
0 |
|
|
| Operation Code (15h) |
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
| |
1 |
| LUN |
|
| PF |
|
|
| Reserved |
| SP |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Reserved |
|
|
|
|
| ||
4 |
|
|
| Parameter List Length |
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
| |
5 |
|
|
|
| Reserved |
|
|
|
|
|
The MODE SELECT command sets various device operating modes.
The Page Format (PF) bit must be 1. If the PF bit is 0, the command responds with Check Condition. If the Save Pages (SP) bit is 1, the ODD saves all parameter values transferred to flash ROM. Parameter List Length specifies the number of bytes in the mode parameter to be transferred. If the value is 0, the command ends normally without transferring any data. If the transferred mode