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.

XDS200 USB detection issue in Ubuntu in Paralles on Mac

Other Parts Discussed in Thread: UNIFLASH

I'm running CCS in Ubuntu 12.04LTS in a Parallels VM on my Mac Book Pro trying to connect to an ARM Cortex R on the TI motor dev kit DRV8301-RM48-KIT.

When I try to debug with the emulator, I get ...

IcePick: Error initializing emulator: (Error -2083 @ 0x0) Unable to communicate with the emulator. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0) 

When I open up the configuration file and test the connection, I get the following error message at the end of this post.

My Setup:

Spectrum Digital XDS200 USB

CCS 5.5.0.00077

OSX 10.9.2

Parallels 9.0.24217 (latest)

Can anyone suggest what to do to get the XDS200 connected and working on my platform?  

Has anyone used this platform (Ubuntu/Parallels/Mac)?

Thanks,

Mike

[Start]

Execute the command: %ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity

[Result]

-----[Print the board config pathname(s)]------------------------------------

/home/michael/.TI/1524211065/0/0/BrdDat/ testBoard.dat

-----[Print the reset-command software log-file]-----------------------------

This utility has selected a 560/2xx-class product.

This utility will load the program 'xds2xxu.out'. E_RPCENV_IO_ERROR(-6) No connection

Failed to open i/o connection (xds2xxu:0)

An error occurred while soft opening the controller.

-----[An error has occurred and this utility has aborted]--------------------

This error is generated by TI's USCIF driver or utilities.

The value is '-250' (0xffffff06).

The title is 'SC_ERR_ECOM_EMUNAME'.

The explanation is: An attempt to access the named emulator via USCIF ECOM has failed.

[End]

  • Mike,

    Unfortunately we don't test CCS debugger in Virtual Machines, nor our emulator third parties, therefore anything can happen under these conditions. Some of our attempts to use emulators in VMs are described in the page below, but I am trying to check if the XDS2xx family can work.

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

    I will report back here and update the page accordingly, ok?

    I apologize for the inconvenience,

    Rafael

  • Mike,

    I updated the page today. I was able to properly run both my XDS200 and XDS560v2-class emulators on my VMware workstation 8.0.6 (and its counterpart VmPlayer 4.0.6), therefore I imagine the limitation may be in the implementation of Parallels.

    Before assuming that, are you absolutely sure you connected the USB emulator to the VM? The reason is that I had some trouble because I completely forgot to do this during my experimentation.

    Regards,

    Rafael

  • Rafael,

    Positive the USB emulator was connected to the VM.  

    I actually sent the XDS200 back to Spectrum Digital and got the XDS220 USB/LAN thinking an ethernet connection would be more robust with a VM, but I'm having problems with it too.  

    Testing the connection just hangs.  I finally got it working a couple times.  Then it started failing claiming the target and the binary were different endian.  Now I'm back to testing the hangs.

    Mike

  • Mike,

    The LAN emulator should work without problems, as the interface is independent of a low-level device driver. Obviously this does not rule out any network glitches, but at least the configuration (IP addr, VM Ethernet connectivity, etc.) is fine given you were able to connect to the emulator a few times.

    It seems the main issue at stake now is that CCS should not hang. Unfortunately the only Ethernet-based emulator I have is the XDS5650v2, which does not show this problem consistently (I had one hang here and there in the past, but nothing alarming). In your case, I see you are using the v5.5 stock emulation drivers (5.1.232.0) - despite I don't see anything reported in the new releases that specifically addresses the Ethernet connectivity on XDS200, I don't think it hurts trying to apply the update.

    For this, you can always use the menu Help --> Check for Updates or browse to the web page below:

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

    Just a tip: when lockups happen, I tend to unplug the emulator which makes CCS "wake up" and throw an error.

    Hope this helps,

    Rafael

  • Rafael,

    I continue to get lockups:  while it's initializing, programming, terminating, you name it.  Resetting the emulator rarely unlocks it.  

    I noticed that the license status called out at the bottom of CCS window would change to unlicensed.  I think I fixed this by editing /etc/udev/rules.d/70-persistent-net.rules.  It had 5 eth* inferfaces listed.  The one that showed up when I did an ifconfig (and the one I whose MAC address I used for my license file) was eth5.  I edited the file to swap it with the one named eth0.  Now an ifconfig just shows eth0 with the MAC address used for my license file.

    It seemed to work better for awhile, but now is back to locking up frequently.  I don't see the license status change anymore.

    Mike

    PS - I reverted back to CCS v5.4 because v5.5 would not build my project correctly.

  • I also am having the above issue. Everything works fine when in BOOTCAMP but as soon as I load up in Win7 using Parallels and UniFlash(v3.1.0) the software will continue to search until it times out, generating an error that it can't connect.

    I've never been able to establish a connection.

    I have contacted Parallels support and have had them remote access in and attempt to resolve, without any resolution. It was escalated to 'second level' and is now with the Development Team. It will sit there until that particular team identify it as an issue or (in IT terms) get off their dots to resolve my high priority issue! :)

    Until this is resolved I strongly suggest that this issue is pasted on the side of the 'box'.

    This is a real pain in the *** here. Having to reboot between OS is time consuming and backwards in a community of dual use OS (Windows and MacOS).

    David.

  • I have the same issue. Just got four XDS200 emulators. All of them fail to connect on MacBook with Parallels 9.0.24237. I have been running XDS100, MSP430FET, USB560, and other emulators on this combination before with CCS 4 and no issue. I cannot use the XDS200 with CCS 6.

    using Windows 7. When I plug the emulator, it enumerates on the Mac as:

    • XDS2xx USB Emulator - Composit:
    •   Product ID: 0xbef0
    •   Vendor ID: 0x0451  (Texas Instruments)
    •   Version: 1.00
    •   Serial Number: S200-000E99039000
    •   Speed: Up to 480 Mb/sec
    •   Manufacturer: Spectrum Digital
    •   Location ID: 0x1a120000 / 4
    •   Current Available (mA): 500
    •   Current Required (mA): 500

    The Windows machine then installs two drivers: 

    • XDS2xx Emulator CDC Serial Port (COM10)
    • XDS2xx User CDC Serial Port (COM12)

    When I use a debug session on CCS v 6, it just hangs. If I run the Test Connection, I get:

    • [Start: Texas Instruments XDS2xx USB Emulator_0]
    • Execute the command:
    • %ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity
    • [Result]
    • -----[Print the board config pathname(s)]------------------------------------
    • C:\Users\ADMINI~1\AppData\Local\TEXASI~1\ CCS\ti\0\0\BrdDat\testBoard.dat
    • -----[Print the reset-command software log-file]-----------------------------
    • This utility has selected a 560/2xx-class product.
    • This utility will load the program 'xds2xxu.out'.

    Closing the window hangs CCS. Disconnecting the emulator finishes the process with an error if emulator fail to connect.

    If I use BlackHawk USB560M and Spectrum Digital XDS560v2 STM with CCS 6, I am also unable to get them to work, but CCS does not hang. I get this error:

    • [Start: Blackhawk USB560-M Emulator_0
    • Execute the command:
    • %ccs_base%/common/uscif/dbgjtag.exe -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity
    • [Result]
    • -----[Print the board config pathname(s)]------------------------------------
    • C:\Users\ADMINI~1\AppData\Local\TEXASI~1\ CCS\ti\0\0\BrdDat\testBoard.dat
    • -----[Print the reset-command software log-file]-----------------------------
    • This utility has selected a 560/2xx-class product.
    • This utility will load the program 'bh560usbm.out'.
    • The library build date was 'May 21 2014'.
    • The library build time was '17:30:09'.
    • The library package version is '5.1.507.0'.
    • The library component version is '35.34.40.0'.
    • The controller does use a programmable FPGA.
    • The old VHDL code has a version number of '0' (0x00000000).
    • The new VHDL code has a version number of '386336272' (0x17070610).
    • An error occurred while hard opening the controller.
    • -----[An error has occurred and this utility has aborted]--------------------
    • This error is generated by TI's USCIF driver or utilities.
    • The value is '-183' (0xffffff49).
    • The title is 'SC_ERR_CTL_CBL_BREAK_FAR'.
    • The explanation is:
    • The controller has detected a cable break far-from itself.
    • The user must connect the cable/pod to the target.
    • [End: Blackhawk USB560-M Emulator, 20-pin JTAG Cable_0]

    Similar for Spectrum Digital. I am trying to debug a Tiva TM4C129 with an adapter board.

  • To add a little more information. The Mac OS X seems to see the XDS200 as a modem. I have seen this issue in the past with Linux systems as well.

  • Anyone have any luck with this? I'm having the exact same issue with Parallels 9.0.24237 in OS X 10.9.4.

  • Same issue present in Parallels 9.0.24251.1052177 and Mac OX 10.9.5. Cannot use XDS200.

  • Forgot to mention that my VM is Win7

  • One more data point: I just updated to 10.0.2.27712 and still get the same exact result.

  • did you guys ever get this to work? i am having the same issue, mac, parallels, xds200
  • Has anyone tried to plug the XDS200 into an unpowered USB hub/pigtail? instead of directly into the mac? I am still struggling with this issue but i swear that last night i had the XDS200 working for a brief period in parallels while it was logged into a hub. Today, however, doesn't work again.
  • Hi pixbroker - I haven't heard any updates yet.

    I'd be interested to know if the TI blokes and Parallels team are still looking at it or not....anyone?

  • I'm seeing the same problem with Ubuntu 14.04 in Paralles on MAC 10.10.3. I'm using CCS 6.1.0.00104 , is there any update for supporting VMware on MAC?
  • You can try a USB 1.0 hub between your Mac and xds200 as discussed here: e2e.ti.com/.../1461011