Hi Eike,
On Tuesday, 16. October 2012 17:55:59 Eike Suthau wrote:
> First out, thank you (Uwe?) very much for the streaming support in the
> libftdi development branch! Based on stream_test.c my application is
> working very nicely, and receiving data at more than 20 MB/s (I have
> tested >> 30 MB/s without problems).
>
> Since my communication needs to be bidirectional I also have to send
> data to the device, this is where I have come across a strange
> behaviour. When calling "ftdi_write_data()" outside the read callback
> function the application will crash. Calling "ftdi_write_data()" in the
> callback function without "progress" being true will terminate the
> application as well.
If the application crashes, it would be good to see a backtrace of the
crash. Or may be run it with "valgrind" in the first place.
Which libusb version and kernel are your running?
Cheers,
Thomas
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|