SH7286 Group
USB Function Module: USB Mass Storage Class
Figure 8 to Figure 10 show flow charts of error on data transfer.
Start
Number of data host expects = 0
and
Number of data function intends = 0
CBW data is
valid?
Receive CBW
Detect the direction of Data
transport by the CBW
Set H'02 to the
bCSWStatus
Stall EP2
Bulk IN transfer
on Data transport
Bulk OUT transfer
on Data transport
Receive CSW
End
Command transport
Data transport
Status transport
Figure 8 Flow Chart for Error Handling on Data Transfer (1/3)
R01AN0063EJ0100 Rev. 1.00
Page 27 of 32
Oct. 22, 2010