Hallo,

I have got a FX2 Board from Cypress, which is connected to the PC
using USB2.0.
My goal is to get quite a big bandwidth transmitted from the FX2 to the PC
(my goal is actually about 15 MB/s, and many people told me that this is 
posible)

My first attemts have been using libusb with a program just to fetch the data 
and measure the datarate. The achieved datarate was 3-4 MB/s. 

So I started using threads, but the result did not improve dramatically.

NExt trial was writing a kernel driver to get the data using synchronous
usb requests. I again got 4 MB/s - as expected.

Next goal was not to improve the kernel driver to using asynchronous usb 
requests.(4 in parallel so getting a thereotical bandwidth of 16 MB/s

Unfortunately it does not work yet. It hangs as soon the driver internally sees 
the first data arriving via USB cable.

Could anybody have a look at the code to see if there are basic mistakes ?


Thank you in advance.
the code can be found at

http://194.208.18.155/driver.tar.gz 

or in the attachment.

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

Attachment: driver.tar.gz
Description: GNU Zip compressed data

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to