Skip to main content
Associate
July 22, 2023
Solved

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

  • July 22, 2023
  • 3 replies
  • 2461 views

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

 

 

This topic has been closed for replies.
Best answer by Pavel A.

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

3 replies

Pavel A.
Super User
July 23, 2023

What is your VMware host software? Workstation or Player?

anoeAuthor
Associate
July 23, 2023
Pavel A.
Pavel A.Best answer
Super User
July 24, 2023

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

anoeAuthor
Associate
July 30, 2023