USB device not working - Mojo FPGA board (device), MacOS host, Ubuntu guest

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
pbannister
Posts: 7
Joined: 18. Nov 2008, 06:03

USB device not working - Mojo FPGA board (device), MacOS host, Ubuntu guest

Post by pbannister »

Mucked around in the forum, and did not find an obvious match. Maybe the key is finding (or providing) the right keywords.

I have an FPGA development board. The development tool for the FPGA (Xilinx ISE) does not work on MacOS, so I spun up a Ubuntu guest. From the VirtualBox GUI, defined a USB device filter for the specific USB device. Fired up the VM, installed the development tools, and was able to program the device! I was impressed.

Device: Mojo V3 with a Xilinx Spartan 6 XC6SLX9 FPGA and ATmega32U4 microcontroller.
Host: MacOS (latest version - in logs)
Guest: Ubuntu (latest version - in logs)

Some time later, could not program the board. The USB device had disappeared from the guest.

Do a soft-reboot of the guest (reboot guest unknown to the host), and the device came back! For ... a while. Then went away. Reboot. Back. Then gone...

To a first approximation (as far as I can tell) the host status of the USB device has not changed. The device still exists, and is claimed by VirtualBox. The guest seems to known nothing about the device, when it is missing.

Read the post on USB troubleshooting, wrote a scripts to capture state, and committed things to GitHub:
https://github.com/pbannister/mojo-experiments

Guessing there is something odd about the microcontroller as a USB serial device, that confuses Ubuntu through VirtualBox ... but just a guess.
Post Reply