Hello, libftdi unloads the kernel driver by a call to libusb_detach_kernel_driver(). libusb_attach_kernel_driver could reload. libftdi does not automatically, as so calling a libftdi programm serveral time would always unlaod and reload the driver. Add the reload to your program or extend ftdi_deinit with some good way to flag the need for reload.
Regards >>>>> "Ameya" == Ameya Vikram Singh <ameya.v.si...@gmail.com> writes: Ameya> Hello, I have a FPGA development board with FT232HL chip Ameya> interfaced. I am currently running into an issue as soon Ameya> as I flash/program the board, the UART interface Ameya> disappears. Ameya> I can replicate the same behavior with the simple.c example Ameya> under the ftdi sources. Does the library support FT232HL? Ameya> Is there a way I can get back the UART interface connected Ameya> to the system programmatically? I tried other examples to Ameya> no success. Currently I have to physically remove the Ameya> device and re-connect it to the system. -- Regards, Ameya Ameya> -- libftdi - see Ameya> http://www.intra2net.com/en/developer/libftdi for details. Ameya> To unsubscribe send a mail to Ameya> libftdi+unsubscr...@developer.intra2net.com -- Uwe Bonnes b...@elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 1623569 ------- Fax. 06151 1623305 --------- -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to libftdi+unsubscr...@developer.intra2net.com