English
Language : 

SH7216 Datasheet, PDF (20/32 Pages) Renesas Technology Corp – USB Mass Storage Class
SH7216 Group
USB Function Module: USB Mass Storage Class
5.6 Operation of SCSI Commands That Are Supported
Table 17 shows the SCSI commands that are supported by the sample program.
Table 17 SCSI Command Operations
Command Name
INQUIRY
READ CAPACITY
READ (10)
Transport
Name
CBW
Data
CSW
CBW
Data
CSW
CBW
Data
CSW
Operation Content
This decodes a command and recognizes it as an INQUIRY
command. It then prepares to send the INQUIRY information
(96 bytes) stored in the ROM.
This sends the INQUIRY information to the host PC using
bulk-in transport.
This sends the results of executing a command to the PC. If
the data being sent is 96 bytes or less, the transmission will
end successfully.
This decodes a command and recognizes it as a READ
CAPACITY command. It then prepares to send the 8-byte
READ CAPACITY information (consisting of byte count per
sector and total sector count) of the disk on the SDRAM. If
media access is disabled (LSB of unit_state[0] is 1), the
function treats this as no data transfer and follows (4) in
section 5.7, Processing If an Error Occurs. It also sets a value
to be returned in REQUEST SENSE for NOT READY (not
prepared).
This sends the READ CAPACITY information to the host PC
using bulk-in transport.
If media access is disabled, it returns data as much as data
requested by the host (H'00).
This sends the results of the command execution to the host
PC.
If media access is disabled, it returns a command fail (CSW
status H'01).
This decodes the command and recognizes it as the READ
(10) command. It then prepares to send the data for a
specified read sector volume from the Disk device open on
the SDRAM.
If media access is disabled (LSB of unit_state[0] is 1), the
function treats this as no data transfer and follows (4) in
section 5.7, Processing If an Error Occurs. It also sets a value
to be returned in REQUEST SENSE for NOT READY (not
prepared).
This sends the data from the read sectors to the host PC
using bulk-in transport.
If media access is disabled, it returns data as much as data
requested by the host (H'00).
This sends the results of executing the READ (10) command
to the host PC.
If media access is disabled, it returns a command fail (CSW
status H'01).
REJ06B0897-0100/Rev.1.00
July 2009
Page 20 of 32