English
Language : 

SH7216 Datasheet, PDF (9/32 Pages) Renesas Technology Corp – USB Mass Storage Class
SH7216 Group
USB Function Module: USB Mass Storage Class
3.5 Sub-Class Code (SCSI Transparent Command Set)
The various commands must be processed in response to the sub-class commands in the CBW sent to the function by
the host PC.
In this sample program, the eleven SCSI commands shown in table 6 are supported. If a command is not supported, the
CSW will be used to inform the host PC that the command failed.
Table 6 Supported Commands
Operation Code Command Name
H'00
TEST UNIT READY
H'03
REQUEST SENSE
H'12
H'1A
H'1B
H'1E
H'23
H'25
H'28
H'2A
H'2F
INQUIRY
MODE SENSE (6)
STOP/START UNIT
PREVENT ALLOW MEDIUM REMOVAL
READ FORMAT CAPACITY
READ CAPACITY
READ (10)
WRITE (10)
VERIFY (10)
Command Operation
Checks whether or not a medium can be
used.
If an error occurred for the previous
command, this tells the host what kind of
error occurred.
Tells the host the drive information.
Tells the host the drive status.
Controls insertion/removal of media.
Inhibits/enables installing and removing
media.
Tells the host the media format information.
Tells the host the media sector information.
Reads the specified sector volume data from
a specified sector.
Writes the specified sector volume data to a
specified sector.
Confirms whether or not the data in a
medium can be accessed.
REJ06B0897-0100/Rev.1.00
July 2009
Page 9 of 32