I am having trouble with a 232R in BITMODE_SYNCBB mode. Basically I can't write more than 384 (exactly) bytes without reading. If I continuously read the buffer back after writing it works but that creates timing problems for me. I tried the same exact program on a 4232H and it works properly.
I compiled a test program against the FTDI libraries and I was able to write 16k buffers without reading on the 232R. I built the same test program against libftdi and it still had the 384 byte limitation. I've tried messing with many baudrates and chunksizes to no avail. I'm using libftdi-0.19/libusb-0.1.12 on a Mac running 10.6.8 (64-bit). I also tried the same exact code on Ubuntu 10.10 with the same result, only instead of ftdi_write returning 0 it returns -110 (usb bulk write failed) I tried libftdi-0.19/libusb-1.0.8 with libusb-compat and had the same result, with ftdi_write returning -60 (usb bulk write failed) Finally I tried libftdi-1.0 (from repo) and libusb-1.0.8 and still had the same result, with ftdi_write returning -1 (usb bulk write failed) The main thing that confuses me is that the "official" FTDI driver uses libusb-1.0.8 and does not exhibit the same problem. Does anyone have any ideas? Is there something that I'm missing? Thanks, Dean -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
