USB device in a W10 Guest disappears as soon as it is used.
Posted: 16. Jan 2021, 18:54
Hello,
I am using VirtualBox version 6.1.16 r140961 (Qt5.6.2) installed on a Windows 10 (version 20H2). I created a Windows 10 Guest OS (version 20H2). This virtual machine, is intended to receive the Open System Workbench IDE for STM32 microcontroller. I configured a USB connection (VID filter: 0483, PID: 3752) intended for the connection of the ST-LINK V2 module of a NUCLEO-F446RE Development Board from STMicroelectronics.
When I connect the module, everything seems to be going right, a COM port (STMicroelectronics STLink Virtual COM Port) and a new peripheral USB device named ST-Link Debug are shown in the device manager.
However, when I run "STLinkUpgrade.exe" program (used to check and upgrade the ST-Link firmware), ST-LinkUpgrade program declares that it has not found ST-Link device (No ST-Link found after GoToUsbLoader command) and the device manager no longer shows a COM port associate the ST-Link device! But If I do that on the host machine, I don't encounter any trouble, all works fine.
Question: Can I what I want to do (connect & debug STM32 dev board from a VM env.) work with VirtualBox? If so, what leads can you give me to try to fix this problem? Why does the COM port associated with the ST-Link module suddenly disappear? I did not find any information about that in the Windows event logger.
Thanks for your help.
I am using VirtualBox version 6.1.16 r140961 (Qt5.6.2) installed on a Windows 10 (version 20H2). I created a Windows 10 Guest OS (version 20H2). This virtual machine, is intended to receive the Open System Workbench IDE for STM32 microcontroller. I configured a USB connection (VID filter: 0483, PID: 3752) intended for the connection of the ST-LINK V2 module of a NUCLEO-F446RE Development Board from STMicroelectronics.
When I connect the module, everything seems to be going right, a COM port (STMicroelectronics STLink Virtual COM Port) and a new peripheral USB device named ST-Link Debug are shown in the device manager.
However, when I run "STLinkUpgrade.exe" program (used to check and upgrade the ST-Link firmware), ST-LinkUpgrade program declares that it has not found ST-Link device (No ST-Link found after GoToUsbLoader command) and the device manager no longer shows a COM port associate the ST-Link device! But If I do that on the host machine, I don't encounter any trouble, all works fine.
Question: Can I what I want to do (connect & debug STM32 dev board from a VM env.) work with VirtualBox? If so, what leads can you give me to try to fix this problem? Why does the COM port associated with the ST-Link module suddenly disappear? I did not find any information about that in the Windows event logger.
Thanks for your help.