Electronic Components Datasheet Search
  English  ▼

X  

SH7216 Datasheet(PDF) 19 Page - Renesas Technology Corp

Part # SH7216
Description  USB Mass Storage Class
PDF  32 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

SH7216 Datasheet(HTML) 19 Page - Renesas Technology Corp

Back Button SH7216 Datasheet HTML 15Page - Renesas Technology Corp SH7216 Datasheet HTML 16Page - Renesas Technology Corp SH7216 Datasheet HTML 17Page - Renesas Technology Corp SH7216 Datasheet HTML 18Page - Renesas Technology Corp SH7216 Datasheet HTML 19Page - Renesas Technology Corp SH7216 Datasheet HTML 20Page - Renesas Technology Corp SH7216 Datasheet HTML 21Page - Renesas Technology Corp SH7216 Datasheet HTML 22Page - Renesas Technology Corp SH7216 Datasheet HTML 23Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 32 page
background image
SH7216 Group
USB Function Module: USB Mass Storage Class
REJ06B0897-0100/Rev.1.00
July 2009
Page 19 of 32
• DoBOTMSClass.c
With DoBOTMSClass.c, control of the two or three stages of the USB Mass Storage Class (Bulk-Only Transport) is
carried out, and operation is carried out in accordance with the specifications.
Table 15 DoBOTMSClass.c
File in which
Stored
Function Name
Purpose
ActBulkOnly
Divides Bulk-Only Transport into separate stages
ActBulkOnlyCommand
Controls CBW for Bulk-Only Transport
ActBulkOnlyIn
Controls data transport and status transport (when the data
stage is in the IN direction)
DoBOTMSClass.c
ActBulkOnlyOut
Controls data transport and status transport (when the data
stage is in the OUT direction)
• DoSCSICommand.c
The DoSCSICommand.c function is used to analyze SCSI commands sent from the host PC and prepare for the next
data transport or status transport.
Table 16 DoSCSICommand.c
File in which
Stored
Function Name
Purpose
DecBotCmd
Processes SCSI commands sent from the host using Bulk-
Only Transport
DoSCSICommand.c
SetBotCmdErr
Processes SCSI command errors
5.5
RAM Disk
In the sample program provided here, the SD-RAM in the SH7216 CPU Board is selected as the disk device, and the
host PC is notified that the SH7216 CPU Board (function) is the disk.
As shown in figure 7, the disk device of the function has a master boot block and a partition boot block. When the
system is booted, an initialization routine is used to write the master boot block and the partition boot block to the RAM
disk area on the SDRAM.
Master boot block
Partition boot block
Sector 0
Sector 20
Figure 7 Disk Construction
SCSI commands are used to allow function access from the host PC (saving and loading data). In order to work with
SCSI commands, the user needs to understand the construction shown in figure 7 and then write the operation.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com