linux - Reinstate Virtual Com Port after using libftdi on FT232RL -


i'm trying use libftdi toggle pins on ft232rl, use regular virtual com port (/dev/ttyusb0). i've got microcontroller (lpc1114) connected ft232rl programming. isp mode, has reset 1 line held low, , execute code after programming, has reset. i'm trying automate ft232. i've got libftdi working, , toggling pins correctly, once program finishes, vcp has disappeared /dev. using libftdi example programs, have physically unplug , plug in usb cable, defeats purpose.

tl;dr: there way /dev/ttyusb0 after using libftdi in bitbang mode without unplugging cable.

libftdi seems use libusb under hood.

you clould try using libusb_attach_kernel_driver function libusb restore /dev/ttyusbx functionality.


Comments

Popular posts from this blog

java - unable show chart in xls document using jasper reports -

javascript - How to change image src on success AJAX -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -