...
The host sends SCSI commands to the device via the Command Descriptor Block (CDB). These commands set specific requests for transfer of blocks of data and status, and control information such as a device’s capacity and readiness to exchange data. The μC/USB MSC Device supports the following subset of SCSI Primary and Block Commands listed in Table - SCSI Commands.
Anchor |
---|
| Table - SCSI Commands |
---|
| Table - SCSI Commands |
---|
|
Panel |
---|
borderWidth | 0 |
---|
title | Table - SCSI Commands |
---|
|
SCSI Command | Function |
---|
INQUIRY | Requests the device to return a structure that contains information about itself. A structure shall be returned by the device despite of the media’s readiness to respond to other commands. Refer to SCSI Primary Commands documentation for the full command description. | TEST UNIT READY | Requests the device to return a status to know if the device is ready to use. Refer to SCSI Primary Commands documentation for the full command description. | READ CAPACITY (10) READ CAPACITY (16) | Requests the device to return how many bytes a device can store. Refer to SCSI Block Commands documentation for the full command description. | READ (10) READ (12) READ (16) | Requests to read a block of data from the device’s storage media. Please refer to SCSI Block Commands documentation for the full command description. | WRITE (10) WRITE (12) WRITE (16) | Requests to write a block of data to the device’s storage media. Refer to SCSI Block Commands documentation for the full command description. | VERIFY (10) VERIFY (12) VERIFY (16) | Requests the device to test one or more sectors. Refer to SCSI Block Commands documentation for the full command description. | MODE SENSE (6) MODE SENSE (10) | Requests parameters relating to the storage media, logical unit or the device itself. Refer to SCSI Primary Commands documentation for the full command description. | REQUEST SENSE | Requests a structure containing sense data. Refer to SCSI Primary Commands documentation for the full command description. | PREVENT ALLOW MEDIA REMOVAL | Requests the device to prevent or allow users to remove the storage media from the device. Refer to SCSI Primary Commands documentation for the full command description. | START STOP UNIT | Requests the device to load or eject the medium. Refer to SCSI Block Commands documentation for the full command description. |
|
Storage Layer and Storage Medium
...