libftdi Archives

Subject: Re: problems with US232R and serial connection

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 11 Feb 2009 09:33:07 +0100
Hi Matthias,

On Tuesday, 10. February 2009 12:34:01 Matthias Janke wrote:
> I'm having problems with a serial connection. My setup is the folowing:
> Device: 19200 8N1 RTS/CTS HW flowcontrol + echo
> Serialport: US232R
> The protocol says a Command begins with a '#' and ends with a '\r' after
> the '\r' I should get an answer in the form of "\nok1\r" while executing my
> program which should write '#2\r' I get an error -75 from libusb reading
> the \r for echocancelation reading the answer fails too. Now here is my
> program:

From what I can tell your programs looks good. What kind of platform
(x86/x86_64, Intel or AMD, USB chipset) do you run this on?

Why is the ftdi_usb_purge_buffers() and ftdi_usb_reset call in there?

And one more thing: Which libftdi version to you use?

Cheers,
Thomas


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread