This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

XDS510 USB disconnect from Virtual Machine



This seems to be an old and common problem, but I can't find any real answers on the Google or on the similar posts to this forum.  Hopefully someone else out there has a fresh perspective.

I'm running Code Composer Studio 3.1 on a Windows XP SP3 VirtualBox hosted by Ubuntu 12.04, and trying to connect to a C6416 DSP with a Spectrum Digital XDS510 USB emulator.  I can connect just fine, load a program, and go to main, but after that, things tend to fall apart.  Whether I try stepping through my code or just letting it run freely, I end up getting assorted errors that all have something to do with "lost USB connection to the emulator."  I also have a XILINX Platform Cable USB II and an Altera USB Blaster connected to the same VM and have no problems with them at all.

I've done some searching through the forums and there were some ideas, but none of this seems to work for me.  I get the same problem whether I use Code Composer 3.1 or 5.3, whether I use VirtualBox 4.2.6 or VMWare Player 5.0.1 or VMWare Workstation 9.0.1, or whether I use WinXP or WinXP SP3.  Does anyone out there know how to resolve this problem?  Is there some special combination of tools I can use or some magic package I can install to make all this go away?  Thanks for any help anyone out there can offer.

Sean

  • Hi Sean,

    I can't say I tried the configurations you used but I recall having some good success running CCSv3 and v4 with SD XDS510USB in a Windows XP SP2 VM via VMWare Workstation 6.x  and Player 2.x. 

    There is an old wiki topic:

    http://processors.wiki.ti.com/index.php/VMware_with_CCS

    But it doesn't really help in your case. I'll see if I can recreate your environment. Hopefully others here have some suggestions you can try (if you do, please chime in!)

    Thanks

    ki

    P.S. - if you are willing to use CCSv5.3, did you try the CCSv5.3 Linux version? It should run on native Ubuntu 12.04.

  • Thanks, Ki,

    I did find that wiki post once my troubles started with VirtualBox, and it was what prompted me to try using VMWare instead--I didn't try that exact configuration, however, because I figured (possibly incorrectly) that VMWare Workstation 9.x and Player 5.x would be at least as good as 6.x and 2.x.  My first attempt was to simply migrate the VirtualBox machine to VMWare format, and when that didn't work, I tried a fresh install of everything on a new VMWare machine.  It was a little more stable--I could step through the code a little longer than on VirtualBox, but it still disconnected if I let it sit idle for several seconds.

    One interesting idea I did see on a forum somewhere was to trick the USB interface into staying alive by plugging in a USB drive.  I would be satisfied with a workaround like this, except that USB drives aren't allowed in the lab where this computer lives.

    As far as the Linux version of 5.3, I actually am going to try that today--if I can get it and my other tools working reliably on the Ubuntu host for multiple simultaneous users, I may be able to avoid using virtual machines altogether (it would be nice to not have that overhead!).  Thanks again,

    Sean

  • Hi again Ki,

    I got CCS5.3 installed on my Linux host and to my dismay, it does not appear support the C6416 DSP I'm working with.  I dug around a little and found this thread that speaks of a "hack" to allow support of C64xx DSPs in CCS5.1.  Does such a hack exist for my setup (Ubuntu 12.04, CCS5.3, Spectrum Digital XDS510USB emulator) or is that support included and I'm just doing something wrong?  And how hacky are we talking about--will it work reliably or am I likely to just run into another set of problems?  Thanks for your help,

    Sean

  • Hi Sean,

    The hack mention in that thread never happened. We determined that it was too much of a hack to fan it out to customers, even on a limited scale. We just decided to drop support for it on Linux.

    However, the good news is that this issue has been revisited due to continued demand for 6416 support so we now have plans to add this back in. I don't have a schedule yet however. I'm hoping it will be in a near future v5.x release

    Thanks

    ki

  • Sean Thornton said:
    it does not appear support the C6416 DSP I'm working with.

    Sorry I made you install it to find out there is no 6416 support. I should have remembered this when I made my recommendation. Hopefully support for it will be added soon so you can use it

    ki

  • Sounds good.  Let me know if you have any success with that VM combination I mentioned--I'm going to see if I can't get the exact configuration you mentioned in the wiki installed.

    Sean