Ucom/Uftdi Thru-put
User Tomdean
tomdean at speakeasy.org
Tue Aug 30 20:43:16 GMT 2005
*** sys/dev/usb/uftdi.c.orig Tue Aug 30 13:34:56 2005
--- sys/dev/usb/uftdi.c Tue Aug 30 13:36:46 2005
***************
*** 104,110 ****
* These are the maximum number of bytes transferred per frame.
* The output buffer size cannot be increased due to the size encoding.
*/
! #define UFTDIIBUFSIZE 64
#define UFTDIOBUFSIZE 64
struct uftdi_softc {
--- 104,110 ----
* These are the maximum number of bytes transferred per frame.
* The output buffer size cannot be increased due to the size encoding.
*/
! #define UFTDIIBUFSIZE 384
#define UFTDIOBUFSIZE 64
struct uftdi_softc {
# ./ucom_read
Read 1000076 bytes in 5.233209 seconds in chunks of 382 bytes
or, around 5.25 uSec per byte. This is well within my requirements.
Now, data verification...
Thanks,
tomdean
More information about the freebsd-usb
mailing list