Hello,

You send more data in same bulk transfer packet (until endpoint max data transfer). This works great sending firmware.

Regards,
  Josep

En/na Ga�tan Marti ha escrit:

I implement a new version of my library using FTDI_SIO and USBSERIAL
modules. I've used the open,close,read and write commands to access the
port. Unfortunately, the new update rate is 25 Hz (compared to 900 Hz
under Windows). As my device use bulk read/write to transfer data I
really do not know how to configure the serial port to work at full
speed.

Does anybody has some source C code or some tips.

Thanks

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paulo
Marques
Sent: jeudi 30 octobre 2003 06:08
To: Ga�tan Marti
Cc: [EMAIL PROTECTED]
Subject: Re: [linux-usb-devel] USB bulk read very slow !



Ga�tan Marti wrote:



The current ftdi_sio module is for the FT8U100AX, 8U232AM, as well as
for the USB to parallel converter (245).
Our application is using the FT232BM and I'm not sure the FTDI_SIO
module is designed for it!




The module works fine with the FT232BM chip and I talk from personal
experience here :)


The only thing the driver doesn't support AFAIK is the bit-bang mode of
this chip, because this mode doesn't fit in a serial driver architecture.


If you have a custom device with your own VID/PID, just edit the source
at:

/drivers/usb/serial/ftdi_sio.c

and add an entry with your data to the array "id_table_FT232BM".

You probably can get more speed by using this driver than you would ever
using libusb.





Ga�tan Marti wrote:




I'm currently porting an application from windows to linux. The



software



read a stream of data coming from a custom device. The USB chip used



is



a FTDI USB-Serial.



This may seem like a silly question, but why don't you use the FTDI
serial driver that is already in the kernel?



Best regards,









------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to