Page 1 of 1

Regression: ST-Link/V2 USB on Windows 7 problems after upgrading to VB 6.0.6 (from 6.0.4)

Posted: 5. May 2019, 17:08
by tear
Running Windows 7 Professional under VirtualBox 6.0.4 with extensions/additions on a MacBook Pro with OS 10.14.4. Can connect an mbed device via ST-Link USB just fine, it shows up as a removable drive and I can drag and drop files to the drive to flash the mbed device. Note: Latest ST-Link drivers installed from ST website.

Then I upgraded to VirtualBox 6.0.6 with upgraded extensions/additions. Now, the mbed device removable drive still shows up, but when I drag and drop a file to it Windows Explorer sits there forever with "calculating ..." (or something similar) and an endless progress bar and never actually appears to write the file to the device. Sometimes Windows Explorer closes unexpectedly at some point and sometimes VirtualBox crashes completely (need to start VB on MacOS). Basically, the ST-Link mbed removable drive is now non-functional.

However, when I downgrade to VirtualBox 6.0.4 (with downgraded extensions/additions) then everything is back to normal: The mbed device removable drive behaves as expected and I can drag & drop files to it as before. Nothing else in the system has changed (no changes to Windows Guest except uninstalling/reinstalling VB additions).

It strongly looks like there is some regression in the USB support from VirtualBox 6.0.4 to 6.0.6.

Thanks,
-- Terrence

Re: Regression: ST-Link/V2 USB on Windows 7 problems after upgrading to VB 6.0.6 (from 6.0.4)

Posted: 5. May 2019, 17:31
by andyp73
To determine what might be going on we will need to see the VBox.log file from the guest in question when running under VirtualBox 6.0.6. If you right click on the guest in the VirtualBox Manager and select "Show log..." look at the .1, .2 or .3 logs and post the most recent one that lists VirtualBox 6.0.6 on the first line. zip that log file and post it.

If you have booted the guest four times under VirtualBox 6.0.4 since downgrading then they will all be 6.0.4 logs. In that case it would be good if you could upgrade to 6.0.6 again and generate a log file whilst the guest shows its problem.

-Andy.

Re: Regression: ST-Link/V2 USB on Windows 7 problems after upgrading to VB 6.0.6 (from 6.0.4)

Posted: 15. May 2019, 15:28
by tear
Hi Andy,

Sorry for the slow reply. I would need to upgrade to 6.0.6 again to create the logs, that may take a bit since I am the middle of developing with the ST-LINK.

Thanks,
-- Terrence

Re: Regression: ST-Link/V2 USB on Windows 7 problems after upgrading to VB 6.0.6 (from 6.0.4)

Posted: 16. May 2019, 09:14
by andyp73
No worries! I understand the problem! I have a macOS update that I keep putting off as I can't run the risk of it breaking my IDE and connection to my ARM debug tool.

You have probably seen that VirtualBox 6.0.8 has been released in the last day or two. When you get time to go back and look at the problem I would skip ahead to that version and see how you get on.

-Andy.