cancel
Showing results for 
Search instead for 
Did you mean: 

M1 Mac host - Vagrant Linux guest in VMWare cannot see stlink programmer but can see devices

anoe
Associate II

Hello,

I have been learning using a NUCLEO-F401RE and am now looking to start using a board that I designed that has an STM32F4 chip as well as some other things (e.g., some memory, micro usb) on it.

On the (ubuntu) VM, I have installed usbutilsopenocd, and stlink-tools. I 

When running "st-info --probe" I was expecting to see details about the STLink on the Nucleo board, but instead received the message "Found 0 stlink programmers".

It seems like the VM is not seeing the usb device as being connected to the STLink (see below), but I don't know how to remedy that.

How can I get the VM to recognize that one of these usb ports is connected to the STLink on the NUCLEO board?

vagrant@vagrant:~$ lsusb
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 004: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 003: ID 0e0f:0006 VMware, Inc. Virtual Keyboard
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Thank you!!!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Pavel A.
Evangelist III

Ah yes, it is a Mac. Can't Fusion manage redirection of host USB devices, like Workstation or Player do?

View solution in original post

4 REPLIES 4
Pavel A.
Evangelist III

What is your VMware host software? Workstation or Player?

anoe
Associate II
Pavel A.
Evangelist III

Ah yes, it is a Mac. Can't Fusion manage redirection of host USB devices, like Workstation or Player do?

I suspect you are correct - https://docs.vmware.com/en/VMware-Fusion/13/com.vmware.fusion.using.doc/GUID-4819DA9E-3575-4C7F-9912-C2FFBA6CEAD6.html.  Thank you for the push in the right direction!