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.

Spectrum Digital XDS200 USB connection issues on ubuntu with Uniflash 3.4

Other Parts Discussed in Thread: UNIFLASH, CC2650

Hi There,

I have an XDS200 USB which works fine on windows with CCS but can't be detected on Uniflash 3.4 on Ubuntu 14.04 64 bit. 

I have no problem getting a XDS100V3 on a SmartRF06 to connect on Uniflash on the same USB port with the same USB cable but the XDS200 just can't get connected.

The error messages in Uniflash are 

[18:11:49] ERROR >> IcePick_C: Error initializing emulator: (Error -2083 @ 0x0) Unable to communicate with the debug probe. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 6.0.14.5)

[18:11:51] com.ti.debug.engine.IApplication$InitializationException: IcePick_C: Error initializing emulator: (Error -2083 @ 0x0) Unable to communicate with the debug probe. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 6.0.14.5)

Running lsusb shows up the device and when I unplug it, the entry goes away.

Bus 002 Device 010: ID 0451:bef0 Texas Instruments, Inc.

Likewise the following entries are there on etc/ttyACMn entries when the XDS200 is plugged in and not there when it is unplugged

$ dir ttyAC*
ttyACM0 ttyACM1

I have tried plugging the device into different USB ports on the mobile workstation and restarting Uniflash but nothing seems to work. 

I am trying to connect to a cc2650 processor.  I did this with no issues with the WDS100V3 on this linux machine and I have done the same with the XDS200 on a windows machine but the XDS200 does not seem to work on Linux.

I have updated the Uniflash 3.4 with the latest updates.

What am I missing and how do I move forward?

Thanks for any help!

cheers

Peter

  • In the meantime, I upgraded the firmware to 1.0.0.6 on a windows 7 machine and verified that it still works fine on windows.

    Tried again on Linux with uniflash and still no good :-(

    Was digging around in the install.ini file and other directories to see if there were any things to be done.
    In the install.ini file is the following line
    TI_EMU=--enable-components c2800,arm,xds100,xds560
    nowhere in the install.ini is there anything to do with xds2xx or xds200. Is this a problem?

    thanks
    Peter
  • Peter,

    Sorry to hear you are having problems. Can you double-check section 6 of the XDS200 wiki page below?

    processors.wiki.ti.com/.../XDS200

    I suspect your USB ports are USB3.0.

    Hope this helps,
    Rafael
  • Hi Rafael,

    thanks for your reply. The USB ports are definitely 2.0 and 1.1 as it is a 5 year old laptop. Also lsusb shows up the devices as 2.0 root hubs and 1.1 root hubs.

    Don't think this is the problem. Any other ideas? Thanks again.

    cheers
    Peter
  • Peter,

    A few additional ideas:

    - While installing Uniflash, did you select either "Blackhawk Debug Probes" (edit, just noticed the subject of this thread) or "Spectrum Digital Debug Probes and Boards"? XDS200 JTAG debuggers are manufactured by one of these two companies. I suspect you did, given the /dev/ttyACM? are there, but I just need to double check this.

    - If you installed as a regular user, did you run the script install_drivers.sh as indicated in section 2 of the reference below?

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

    - Do you see any green LED lit when plugging the XDS200 to your PC? If not, there is a possibility the JTAG debugger is damaged. For details on the meaning of LEDs, check the short clip at the XDS200 page below:

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

    Apart from this I am unsure what else may be happening, but I will try to think about additional details and reply back to this thread.

    Hope this helps,

    Rafael

  • Hi Rafael,

    Yup, selected Spectrum Digital option on the page.

    The green LED on the XDS200 is lit when plugged into the USB port of the linux machine and I have verified that it is still working on a Windows machine. Confident that the XDS200 is functional.

    There isn't a install_drivers.sh script in the install_scripts directory. There is a step in the gui where I can see that the spectrum digital emulators are installed as in the GUI says that this is being done.

    regards
    Peter
  • OMG! In frustration, I uninstalled Uniflash and reinstalled it. This is the 3rd time I did this and now it works!

    No idea why things are different. Thanks for your help Rafael.

    Going to have to chalk this up to a problem between seat and keyboard (was pretty confident I was doing the right things though) or I had sacrificed sufficient hours at the altar to appease the linux gods....

    cheers
    Peter
  • Peter,

    I am glad everything is working now; however, without a clear reason we can only wonder.

    Either PEBKAC or offers of sacrifice to Linux gods, this may evidence the need of a clear install guide such as the one that exists for CCS - who knows, maybe that could have prevented you (and others) from missing steps. I will discuss this internally for feasibility.

    In any case, thanks for reporting back your findings.

    Happy coding!

    Rafael