libftdi Archives

Subject: Re: Re: I/O stops working on program restart

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 31 Oct 2013 15:51:16 +0100
On Thursday, 24. October 2013 14:04:07 jeffdelmerico wrote:
> It's curious to me that unplugging and replugging the USB is effective in
> addition to power cycling the device.  I don't know how libftdi interacts
> with usbfs, and whether closing the context unmounts the device, but
> perhaps it needs to be remounted before it can be used again.  Does this
> seem plausible?  If so, any ideas on how to automatically do that?

it could also be that the microcontroller reset line
is somehow tied to the reset line of the FTDI chip.

So re-plugging the USB will also reset the micocontroller,
or at least the communications part somehow.

Try to trace the "RSTOUT#" line of the FTDI chip
and see if it's connected to something.

Thomas


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

Current Thread