| Electronic Components Datasheet Search |
|
SH7216 Datasheet(PDF) 19 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
SH7216 Datasheet(HTML) 19 Page - Renesas Technology Corp |
|
19 / 32 page ![]() 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. |
|
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 |
| 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 |