| Electronic Components Datasheet Search |
|
SH7216 Datasheet(PDF) 25 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
SH7216 Datasheet(HTML) 25 Page - Renesas Technology Corp |
|
25 / 32 page ![]() SH7216 Group USB Function Module: USB Mass Storage Class REJ06B0897-0100/Rev.1.00 July 2009 Page 25 of 32 Table 20 shows sample error conditions that may be generated. Table 20 Sample Error Conditions Case No. Error Conditions (2) When a READ command is issued from the host PC, the amount of data to be transported in the USB data transport is 0 while the amount of data specified by the SCSI command is a value other than 0. (3) When a WRITE command is issued from the host PC, the amount of data to be transported in the USB data transport is 0 while the amount of data specified by the SCSI command is a value other than 0. (4) When a READ command is issued from the host PC, the amount of data to be transported in the USB data transport is 0 while the amount of data specified by the SCSI command is 0. (5) When a READ command is issued from the host PC, the amount of data specified by the SCSI command is less than the amount of data to be transported in the USB data transport. (7) When a READ command is issued from the host PC, the amount of data specified by the SCSI command is greater than the amount of data to be transported in the USB data transport. (8) Even though a WRITE command has been issued from the host PC, the host PC requests for data in the USB data transport. (9) When a WRITE command is issued from the host PC, the amount of data to be transported in the USB data transport is a value other than 0 while the amount of data specified by the SCSI command is 0. (10) Even though a READ command has been issued from the host PC, the host PC sends data in the USB data transport. (11) When a WRITE command is issued from the host PC, the amount of data specified by the SCSI command is less than the amount of data to be transported in the USB data transport. (13) When a WRITE command is issued from the host PC, the amount of data specified by the SCSI command is greater than the amount of data to be transported in the USB data transport. Table 21 shows how a function operates when each error condition occurs. Table 21 Function Operation for Each Error Condition Case No. Relation between Host PC and Function (2), (3) • Set H'02 as the CSW status. (4), (5) • The function adds data to become equal to the data length set in dCBWDataTransferLength and then sends data to the host PC. • Set the amount of data added in the data transport in dCBWDataResidue of CSW. • Set H'00 as the CSW status. (7), (8) • The function sends data to the host PC up to the data length set in dCBWDataTransferLength. • Set H'02 as the CSW status. (9), (11) • The function receives data from the host PC up to the data length set in dCBWDataTransferLength. • Set the difference between the amount of data received in the data transport and the amount of data processed by the function in dCBWDataResidue of CSW. • Set H'01 as the CSW status. (10), (13) • The function receives data from the host PC up to the data length set in dCBWDataTransferLength. • Set H'02 as the CSW status. |
|
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 |