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.

Cannot connect to 5517 using xds100v2 usb emulator under CCS 6.2

I created the following target configuration:

Connection is Texas Instruments XDS100v2 USB Debug Probe,

Board is EVM5517


The 5517 EVM is assy 514660 rev F

When I try to connect to the target I get the following error:

I tried running the xds100serial utility and get the message:   No XDS100 emulators were found on the system.
I'm running CCS 6.2 under Windows 7 Professional

The Windows Device Manager shows under SD USB Based Debug Tools ...  'Spectrum Digital TMS320C5510 DSK'

I also tried a different target configuration: Spectrum Digital DSP-EVM-eZdsp onboard USB Emulator, but using this one, I get an 'Error initializing emulator' message instead.

I've tried uninstalling this driver then reinstalling it, and changing USB ports on my machine. Nothing works. Any suggestions on how to get the emulator working would be greatly appreciated!

Thanks,

Jim

  • I just realized that the error message dialog graphic was not pasted in the original post... The error I get when I try to connect to the target is:

    The value is '-151' (0xffffff69).
    The title is 'SC_ERR_FTDI_OPEN'.

    The explanation is:
    One of the FTDI driver functions used during the connect
    returned bad status or an error. The cause may be one or
    more of: no XDS100 is plugged in, invalid XDS100 serial number,
    blank XDS100 EEPROM, missing FTDI drivers, faulty USB cable.
    Use the xds100serial command-line utility in the 'common/uscif'
    folder to verify the XDS100 can be located.
  • Jim,

    The 5517 EVM uses an embedded Spectrum Digital XDS510USB, which is a faster JTAG debug probe when compared to the XDS100v2. In this case, configure your board according to the settings shown in section 2.7 of the page below:

    processors.wiki.ti.com/.../GSG:Common_target_configurations_v5

    Hope this helps,
    Rafael
  • Rafael,

    I tried the connection: Spectrum Digital DSK-EVM-ezdsp onboard USB Emulator as suggested in the link. Using this configuration for the EVM5517 board, I get the error message: "Error initializing emulator".
    Jim
  • Jim,

    Sorry, I didn't see that you had tried this connection in your original post.

    I was able to connect to my board (Rev. D) by plugging the cable to J3 connector. Given you are getting the same driver name in the Windows Device manager, I am pretty sure you are connecting to the same connector. I am also using CCSv6.2 and Spectrum Digital component version 5.2.0.14 (I don't recall applying updates to this specific component) on Windows 7 64-bits.

    Therefore at first glance the only change between our systems is the board revision.

    Therefore a few things may be happening:

    - The Windows in your current PC is somehow breaking this connection. You could potentially try connecting in another PC.

    - The Windows device drivers may be somehow outdated, which could have a chance of happening if there were older versions of CCS installed. Can you compare the versions with the ones in my setup below? You can also try to reinstall these drivers by using the ones provided in the directory shown in the screenshot.

    - The embedded JTAG debugger may be defective. In this case you could potentially attach an external JTAG debug probe to J8 and see if you are able to connect to the device.

    - The board is defective. In this case I would contact the company you purchased the board and request either a return or a repair (depending on the warranty status).

     I will think of additional scenarios and report back if I can think of any additional issues.

    Hope this helps,

    Rafael

  • Hi Jim,

    I hate to ask this, but is the EVM plugged into a 5V power brick and powered on? I was able to reproduce the "Error initializing emulator" message, but only when the EVM was switched off.

    Otherwise, it may be worth while to check all of the jumpers and DIP switches are in the factor setting as identified by asterisks in the EVM Technical Reference Manual - http://support.spectrumdigital.com/boards/evm5517/revf/files/evm5517_TechRef.pdf

    For instance, JP31 can select the battery pack as the power supply or the DC jack from the 5V wall wart.

    See also the Spectrum Digital board page: http://support.spectrumdigital.com/boards/evm5517/revf/

    Hope this helps,
    Mark

  • Mark,

    Yes - it's powered on. I found a spectrum digital usb510 emulator laying around and hooked it up to the 14-pin jtag connector. It works fine, so it seems like there's something with my code composer installation that is preventing the on-board USB emulator from working properly. As I mentioned, a colleague is able to use the on-board emulator on the same EVM board using the board configuration that was suggested. He's running CCS 5.5 however, and has not yet installed CCS 6.2 to see if he has the same issue. For now, I have a workaround in using the external emulator, but I like to know why the onboard emulator is not working.

    Jim

  • Rafael,
    I just now saw your response. I restarted my desktop machine and afterwards the on-board emulator started working! I don't now what was wrong, but that seems to have fixed the problem. Thanks for you help.

    Jim