That’s interesting information. Is there any documentation that could be
cited to support that…I’d like to know, so I can tell my students.
joe
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Randy Aull
Sent: Tuesday, November 25, 2008 2:55 PM
To: Windows System Software Devs Interest List
Subject: RE: RE:[ntdev] USB maximum packet size transfer
There is another source of maximum transfer buffer size. There is an
artifact of host controller design and the corresponding USB stack
implementation that sometimes imposes a limit to the size of a buffer in a
single URB. I believe this limit is different depending on the OS version
and the particular host controller. I don’t have all of the data on what
those limits are, but I can tell you what I did in WinUsb to ensure that the
transfers worked on all systems down to XP.
For high-speed devices, WinUsb imposes a 4MB transfer size limit, for low
and full speed the limit is 256KB. For control endpoints (all speeds) the
limit is 4KB. The actual limits may be higher than this, but I’m pretty
certain they aren’t lower.
I believe, however, that in this particular example, it is referring to the
buffering size on the device, which imposed another transfer size limit. Do
note that these limits have nothing to do with the endpoint’s MaxPacketSize.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Monday, November 24, 2008 8:46 PM
To: Windows System Software Devs Interest List
Subject: RE: RE:[ntdev] USB maximum packet size transfer
The max transfer buffer size is purely based on the protocol that your
device communicates over the wire. If your device has a deep fifo the
buffer can be very large. If your device has very little memory, the max
xfer will probably be very small.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@ohio.edu
Sent: Monday, November 24, 2008 8:32 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] USB maximum packet size transfer
Ok, After I read the spesification I found that maximum packet size (data
payload) for fullspeed is 64 bytes and maximum bandwidth is 1.2 Mbytes/s.
So, what is the relationship between maximum packet size and maximum
bandwidth itself??
And I’m still confused about maximum transfer buffer size for test board usb
device in usbsamp or osrusbfx2 sample driver in wdk. Why the value must be
set to 64 *1024?
Thank you,
Anton
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
–
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.