cancel
Showing results for 
Search instead for 
Did you mean: 

Driver Virtual Port Com STM32 for linux

CDESM
Associate II

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.

3 REPLIES 3
AvaTar
Lead

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 ...

Pavel A.
Evangelist III

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

Ivan K
Associate

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