Sorry,
looks like I spoke too soon. The first write issue appears to have
nothing to do with the ftdi timeout values. If you want to experiment
anyway, just set the timeouts directly on your app's ftdi handle:
ftdic.usb_write_timeout = usecs;
ftdic.usb_read_timeout = usecs;
where usecs is some positive integer number of microseconds. The
default value is 5000. Not sure what a reasonable value is. In
libusb0.1 transfers are polled every 1ms.
Nath.
2009/7/31 J.C. Wren <jcwren@xxxxxxxxxx>:
> What's the correct way to set the timeout, what are the units, and what
> would be a reasonable value?
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|