Failed to Capture USB Device J-Link with Virtual Box, MACOSX SAM4S XPlaned [closed]

1
For many years I use my MacBook together with Virtual Box to program applications that only exist for Windows, however I currently have to develop a Firmware for a Cortex-M3 and for testing I am using an ATM4 SAMPLER Xplaned. I used another notebook to program these hardware, and everything worked fine too, but now I'm unifying everything on pure MAC or Windows with VirtualBox, and I'm having trouble with the J-Link Debugger that works perfectly on MAC OS through Driver Segger J-Link, however when trying to hijack this USB connection to VirtualBox (Version 4.3.20) and I'm getting the error message below the image.

Has anyone ever had a similar problem and know what the solution would be? Is it a specific issue with VirtualBox or SEGGER J-LINK?

    
asked by anonymous 01.07.2015 / 02:03

1 answer

0

This problem occurs when the SEGGER Driver for J-Link devices captures the USB port on MAC-OS, to avoid such a problem it is necessary to configure a USB device filter in the Virtual Machine settings in question in VirtualBox. >

To do this, go to the "Machines" menu in the window for your virtual machine, "Settings" submenu and select the "Ports" tab and then the "USB" sub-tab.

Normally connect the device in question, and then click on the button that represents a USB connector with a symbol + (over / over) superimposed, it is the second icon to the right, so the configured USB ports that can be filtered for the Virtual Machine will be listed, so select the "SEGGER J-Link" port as in the figure below.

Then remove the device in question, wait for the removal to be recognized by the Host OS, and connect again, now Virtual Box will automatically capture the USB port for the Virtual machine in question.

    
01.07.2015 / 02:13