SH7286 Group
USB Function Module: USB Mass Storage Class
R01AN0063EJ0100 Rev. 1.00
Page 24 of 32
Oct. 22, 2010
Table 19 SCSI Commands (3/3)
Command
Name
Transport
Name
Description
CBW
Decodes the command, acknowledges it is the READ FORMAT CAPACITY
command, and recognizes the disk which is executed on SDRAM is
formatted. Then, it prepares for sending the READ FORMAT CAPACITY
information (20-byte) which consists of the number of bytes per sector and
total number of sectors in a disk. When the media cannot be accessed (LSB
of unit_state[0] is 1), the function handles the transfer as with no data, and
handles it according to "5.7 Error Handling Case (4)". Also, it sets the sense
key of the REQUEST SENSE to "NOT READY".
Data
Sends the READ FORMAT CAPACITY information to the host computer.
When the media cannot be accessed, it returns the same number of bytes of
data (H'00) requested from the host.
READ
FORMAT
CAPACITY
CSW
Sends the command execution result to the host computer. When the media
cannot be accessed, it returns "Command failed (CSW status: H'01)".
CBW
Decodes the command. When the command is not supported, it sets the
sense key of the REQUEST SENSE to "INVALID FIELD IN CDB", and
prepares for the Data transport.
Data
When the host computer requests to send data using Bulk IN transfer, it
sends the same number of bytes of data (H'00) requested from the host.
When the host computer sends data using Bulk OUT transfer, it calculates
the number of bytes received. When the Data transport is not included, the
command does nothing.
Other
commands
(Not
supported)
CSW
Returns "Command failed (CSW status: H'01)" to the host computer