2018-09-03 02:29 AM
Hello,
I search an driver for VPC (Virtual Port Com) for Ubuntu. A Driver STSW-STM32102 work only windows. Is there driver for Linux? If yes how to install it?
Thank you in advance.
2018-09-03 06:21 AM
I don't know of any native driver, and don't see much motivation for ST to make one.
You might try Wine, perhaps with the whole IDE.
Or instead, use an IDE running under Linux, which comes with native ST-Link support. I'd been using Crossworks for years now for this purpose successfully.
I didn't try the V2.1 VCP functionality, because this implies newer boards with Cube-only support. And I shun Cube for certain reasons ...
2018-09-03 08:08 AM
It looks like CDC ACM driver in Ubuntu does not understand ST firmware, or needs extra tweaks. Or the device descriptors need extra tweaks.
Maybe these links will be useful.
https://www.ccsinfo.com/faq.php?page=linux_cdc
https://stackoverflow.com/questions/48274320/usb-cdc-acm-firmware-compatilibities-in-different-linux
https://cateee.net/lkddb/web-lkddb/USB_ACM.html
-- pa
2018-12-17 05:06 AM
If VPC configured properly it does NOT need a driver for Ubuntu. In case where your machine still has a difficult time working with STM32 via VPC you should recheck settings on your device.
then run: dmesg | grep usb, to see if your machine recognizes device and which serial port associated with it