Skip to main content
Associate
Jul 22, 2023 10:11 PM UTC
Solved

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

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 usbutils, openocd, 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!!!

 

 

This topic has been closed for replies.
Pavel A.
Pavel A.Best answer
Jul 24, 2023 11:11 AM UTC

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

4 replies

Pavel A.
Jul 23, 2023 11:03 AM UTC

What is your VMware host software? Workstation or Player?

anoeAuthor
Associate
Jul 23, 2023 6:53 PM UTC
Pavel A.
Pavel A.Best answer
Jul 24, 2023 11:11 AM UTC

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

anoeAuthor
Associate
Jul 30, 2023 4:00 PM UTC