How to enable XMOS development boards inside VirtualBox? Topic is solved

If you have a simple question and just want an answer.
User avatar
XMatt
XCore Addict
Posts: 147
Joined: Tue Feb 23, 2010 6:55 pm

How to enable XMOS development boards inside VirtualBox?

Post by XMatt »

How do I enable XTAG debug adapters inside a VirtualBox virtual machine?



View Solution
User avatar
XMatt
XCore Addict
Posts: 147
Joined: Tue Feb 23, 2010 6:55 pm

Post by XMatt »

In order to allow XTAG debug adapters to function within a VirtualBox VM you need to set up the correct USB device filters.

This has been tested using an Ubuntu 12.04 VM running on a Windows 8 host machine.

Firstly make sure that inside the Linux VM the correct udev rules have been added and that the udev service has been restarted.

1. Install the XMOS tools inside the virtual machine.

2. Plug in an XMOS device (such as a startKIT) into the host machine.

3. Inside VirtualBox go to Machine->Settings->USB and add a device filter for the XMOS device USB bootloader (is 20B1:F7D3 [0006] for startKIT)

4. Inside VirtualBox go to Devices->USB and connect the XMOS usb bootloader (is 20B1:F7D3 [0006] for startKIT)

5. From a terminal inside the VM, source the tools SetEnv script and run the command "xrun -l"

6. Inside VirtualBox go to Machine->Settings->USB and add a device filter for the XMOS device tools firmware (is 20B1:F7D3 [1005] for startKIT)

7. Inside VirtualBox go to Devices->USB and connect the XMOS device tools firmware (is 20B1:F7D3 [1005] for startKIT)

8. From a terminal in the VM execute the command "xrun -l"

9. The device should now be listed correctly for use with the tools.

From this point forward the USB device filters will make the device automatically connect to the VM when in both USB bootloader and tools firmware mode.

You can test this by unplugging and replugging the device into the host machine and then running the "xrun -l" command again.