Transfer size limits

Trevor Blackwell tlb at tlb.org
Fri Sep 18 03:09:24 UTC 2009


What's the largest practical bulk transfer size in the -8 USB stack?  
I'm currently transferring frames through a UE_BULK  pipe from a  
Mightex camera (it uses bulk, not isochronous.)

Currently, I'm setting usbd_xfer_max_len(xfer)==32768. If I could set  
it large enough for a complete frame (5 MB), it would simplify the  
logic of my driver. Large transfers didn't work reliably with the -7  
USB stack, because of some obscure problem with setting up DMA  
transfers in the ehci driver with more than a few separate physical  
regions.

--
Trevor Blackwell		650 776 7870	tlb at tlb.org







More information about the freebsd-usb mailing list