Hi,
I am new to Virtual Box and am having trouble connecting my J-Link Atmel SAM-ICE via USB in my guest system. I have windows 7 Home Premium SP1 as the host and Ubuntu 14.04 LTS as my guest. I have installed the guest extensions. I am running VB 4.3.28 r100309.
I have used this same PC and ICE unit together under my windows 7 environment so I know that the equipment is working correctly there. But even though I have the USB controller and the USB 2.0 controller boxes checked and the SEGGER J-Link [0100] USB filter selected and enabled in the VM VB Manager I can not connect to the USB port using the Jlink software. I can connect to a thumb drive in the VB using the same port as I am using with the Jlink connection. So I know that I have some connection of the USB to the guest system.
I cannot see the device in Ubuntu when I do a lsusb in a guest terminal window but I do see the thumb drive when I have that plugged in.
My PC has 8Gb RAM and a 1 TB hard drive. The VB has 788 MB base memory, 8 GB hard drive. I am attaching all the logs I think you require.
I am also new to Ubuntu so please keep any instructions clear and simple.
Thanks for any help.
Cannot connect to a USB device on my VB.
Cannot connect to a USB device on my VB.
- Attachments
-
Ubuntu 14.04-2015-07-03-15-28-34.log- VB log 2
- (100.85 KiB) Downloaded 19 times
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Cannot connect to a USB device on my VB.
I would be rather surprised if an ICE header (JTAG?) was happy with the latencies inherent in a VM, but I could be wrong.
Also, if if the device is USB3 then note that USB3 devices are not currently supported.
I deleted your startup log since you make no mention of having VM startup issues.
I also deleted the redundant second log. FYI we also prefer that logs are compressed before you upload them.
Also, if if the device is USB3 then note that USB3 devices are not currently supported.
I deleted your startup log since you make no mention of having VM startup issues.
I also deleted the redundant second log. FYI we also prefer that logs are compressed before you upload them.
Re: Cannot connect to a USB device on my VB.
Thanks for your speedy reply.
This ICE is a JTAG interface. The SAM-ICE is a USB2 device so that is OK but in finding that information I noticed that the SAM-ICE documentation states it only works on windows platforms. But SEGGER the Jlink and JlinkGDBServer software source has images for Linux based systems. I plan on asking Atmel if the ICE will work on an Ubuntu environment as they are the ones pushing me to use that for my build environment. I would rather work in windows as that is what I am most comfortable with.
Again thanks for your help and I will post any details I get from Atmel on this issue.
This ICE is a JTAG interface. The SAM-ICE is a USB2 device so that is OK but in finding that information I noticed that the SAM-ICE documentation states it only works on windows platforms. But SEGGER the Jlink and JlinkGDBServer software source has images for Linux based systems. I plan on asking Atmel if the ICE will work on an Ubuntu environment as they are the ones pushing me to use that for my build environment. I would rather work in windows as that is what I am most comfortable with.
Again thanks for your help and I will post any details I get from Atmel on this issue.
Re: Cannot connect to a USB device on my VB.
I'm having the same issue. Same device. I'm running Windows 7 Enterprise as the host and Ubuntu 14.04 LTS as my guest. I have installed the guest extensions. I am running VB 5.0.0 r101573 with the Oracle VM VirtualBox Extension Pack added.
I have been using the SAM-ICE unit quite successfully using an Ubuntu 14.04 LTS guest in VMWare Player, so I can verify that it does work with Ubuntu and it does work with virtualization. I was wanting to switch to VirtualBox for my VM (for non-technical reasons), but unless I can get this working, that looks like it won't be an option.
I have been using the SAM-ICE unit quite successfully using an Ubuntu 14.04 LTS guest in VMWare Player, so I can verify that it does work with Ubuntu and it does work with virtualization. I was wanting to switch to VirtualBox for my VM (for non-technical reasons), but unless I can get this working, that looks like it won't be an option.