libftdi Archives

Subject: Re: ftdi_set_bitmode question

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 17 Aug 2011 13:04:48 +0200
>>>>> "Joachim" == Joachim Schambach <jschamba@xxxxxxxxxxxxxxxxxx> writes:

    Joachim> I might have found the problem after all.  It is not the
    Joachim> setting of the BITBANG mode that messes up the FPGA, but the
    Joachim> reset to FIFO mode.  When I just leave the second interface in
    Joachim> BITBANG mode and simply close it after setting all necessary
    Joachim> bits, everything works.  Thanks for everyone's help on this....

Can you try to sleep a little before you reset the device? It takes some
time until the write-FIFO is writen to the external device. If the write
fifo is not empty when resetting/closing the device, strange things may
happen.

Bye
-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

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

Current Thread