On Mon, 27 Jul 2009 11:35:08 +0200 Thomas Jarosch <[email protected]> wrote:
> Hello Nick, > > On Thursday, 23. July 2009 04:36:24 Nick Hughart wrote: > > After looking I saw the ftdi_setdtr function so I thought I could > > use this to achieve what I needed to do. Unfortunately this seems > > to do nothing to DTR and yet returns no errors. Is there something > > that needs to be done prior to using this function? > > > > I may just be dumb and not seeing something obvious so be gentle. > > If I need to do some more debugging I can do that, but some > > pointers on where to start looking would be appreciated. > > ftdi_setdtr() is the right function to call. > > Did you configure the flow control via ftdi_setflowctrl() before? > > Thomas > Thanks for the reply. I believe I have tried both SIO_DTR_DSR_HS and SIO_DISABLE_FLOW_CTRL before calling this (I will give it another shot). I believe the communication is meant to have no flow control in the end, they just kinda use DTR as a way to easily hold the MCU in reset until the PC toggles DTR. > > -- > libftdi - see http://www.intra2net.com/en/developer/libftdi for > details. To unsubscribe send a mail to > [email protected] > -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
