Hello Terry, On Wednesday, 25. November 2009 17:40:08 T. Horsnell wrote: > I'm struggling with what ought to be the most straightforward thing. > I'm trying to write to channel A of an FT2232H mini-module in serial > mode, but after writing a total of 4096 bytes, the writes hang > and I get an error -110 returned. > Presumably the buffer on the mini-module has filled up. But why > is this not being emptied as the device send things to its serial pin? > I've set flow-control to SIO_DISABLE_FLOW_CTRL (does this function > actually work? It seems to return success even if I try idiot values > like -1 or 12345 for the flow-control parameter).
I gave your code a quick look, to me it seems fine. Do you see -any- data at the serial pin? Does the problem also happen if you send the data at slower speeds (add some sleep statements to your code)? Cheers, Thomas -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
