Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM0290 Datasheet(PDF) 40 Page - STMicroelectronics

Part # UM0290
Description  This document presents a description
PDF  76 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0290 Datasheet(HTML) 40 Page - STMicroelectronics

Back Button UM0290 Datasheet HTML 36Page - STMicroelectronics UM0290 Datasheet HTML 37Page - STMicroelectronics UM0290 Datasheet HTML 38Page - STMicroelectronics UM0290 Datasheet HTML 39Page - STMicroelectronics UM0290 Datasheet HTML 40Page - STMicroelectronics UM0290 Datasheet HTML 41Page - STMicroelectronics UM0290 Datasheet HTML 42Page - STMicroelectronics UM0290 Datasheet HTML 43Page - STMicroelectronics UM0290 Datasheet HTML 44Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 40 / 76 page
background image
Mass storage demo
UM0290
40/76
5.2
Mass storage protocol
5.2.1
Bulk Only Transfer (BOT)
The BOT protocol uses only bulk pipes to transfer command, status and data (no interrupt or
control pipes). The default pipe (pipe 0, or in other words, Endpoint 0) is only used to clear
the bulk pipe(s) status (clear STALL status) and to issue the two class specific requests:
Mass Storage reset and Get Max LUN.
Command transfer
To send a command, the host uses a specific format called Command Block Wrapper
(CBW). The CBW is a 31-byte length packet. The Figure 10 shows the different fields of a
CBW.
●
dCBWSignature: 43425355 USBC (little Endian)
●
dCBWTag: The host specifies this field for each command. The device should return
the same dCBWTag in the associated status.
●
dCBWDataTransferLength: total number of bytes to transfer (expected by the host).
●
bmCBWFlags: This field is used to specify the direction of the data transfer (if any).
The bits of this field are defined as follows:
Bit 7: Direction bit:
0 : Data Out transfer (host to device).
1 : Data In transfer (device to host).
Note:
The device must ignore this bit if the dCBWDataTransferLength field is cleared to zero.
Bits 6:0: reserved (cleared to zero).
●
bCBWLUN: concerned Logical Unit number.
●
bCBWCBLength: this field specifies the length (in bytes) of the command CBWCB.
●
CBWCB: the command block to be executed by the device.
Status transfer
To inform the host about the status of each received command, the device uses the
Command Status Wrapper (CSW). Table 12 shows the different fields of a CSW.
Table 11.
CBW packet fields
76
543
210
0-3
dCBWSignature
4-7
dCBWTag
8-11
dCBWDataTransferLength
12
bmCBWFlags
13
Reserved (0)
bCBWLUN
14
Reserved (0)
bCBWCBLength
15-30
CBWCB



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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76


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