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.

JTAG + CCSv3.3 + XDS510USB + DM365 = Not working

Other Parts Discussed in Thread: CCSTUDIO

I'm having trouble connecting a Spectrum Digital XDS510USB emulator with a Spectrum Digital DM36X EVM (with the DM365 processor) and getting little support from Spectrum Digital.  The emulator works when I run 'reset' and 'scan chain' from SDConfigEX, but CCS will not connect to the development board.  I started going through the steps described in the "Debugging JTAG Connectivity Problems" on the Wiki to figure out the problem.  Right away I have trouble with the "Emulator not plugged in" test:


C:\CCStudio_v3.3\cc\bin>dbgjtag.exe -f brddat\ccbrd0.dat -rv

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

This utility has selected an XDS510 class product.
This utility will load the adapter 'xds510.dll'.
This utility will operate on port address '0x0240'.
The controller does not use a programmable FPGA.

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.

The value is '-180' (0xffffff4c).
The title is 'SC_ERR_CTL_NO_TRG_POWER'.

The explanation is:
The controller has detected a target power loss.
The user must turn-on or connect the power supply for the target.

 

The emulator is connected to a powered USB hub (and has been connected to every port on my laptop and docking station), so I don't really believe it's a power problem.  I'm concerned that the utility will operate on port address '0x0240'.  Is that correct?  I would have expected port 510 based on the Setup CCStudio settings.  Is there a way to change this?  What would have caused the problem?

Or maybe this is a red herring.  Any help would be greatly appreciated.  Thanks.

  • Apologies for the double post, but here is more information:

    - I am running Windows XP Professional Version 2002, Service Pack 3.

    - I am using Code Composer Studio 3.3.82.13.

    - The emulator is a XDS510 USB Plus.

    - The board is the DM36X EVM Rev. E

    - Target configuration is the same as DM365-XDS510USB.ccs from the Spectrum Digital website.

    - Board configuration is:

    # config version=3.5
    $ sdopts
      emuportaddr=0x510
    $ /
    $ sepk
      pod_drvr=xds510.dll
    $ /
    @ icepick family=icepick_c subpaths=1
      & port16 address=16 force=yes pseudo=no default=no custom=no
        @ arm9 family=arm9xx
      & /

  • DThomas said:
    I'm concerned that the utility will operate on port address '0x0240'.  Is that correct?  I would have expected port 510 based on the Setup CCStudio settings.  Is there a way to change this?  What would have caused the problem?

    It should be port 0x510. It sounds like you are picking the TI XDS510 ISA emulator (which has a port address of  0x240) instead of the SD XDS510 USB (which has a port address of  0x510).

    In your CCS Setup Utility, make sure you are using the 'xds510usb emulator' platform option and NOT the 'xds510 emulator' option. If 'xds510usb emulator' is missing, you do not have the SD drivers installed (you can get it from Spectrum Digital's website).

    Thanks

    ki

  • I am using the 'xds510usb emulator' option. 

     

    I talked to a different person at Spectrum Digital and he said I shouldn't expect the dbgjtag program to work.  It only works for emulators using TI drivers, but the 510 USB emulator uses Spectrum Digital drivers.  So apparently the 0x240 port address was a red herring.  I RMA'd the emulator and am waiting for repairs.

  • Hi,

    The error you are getting is because you must use SDconfig to perform testing on Spectrum Digital emulators instead of dbgjtag. I fixed the page you mentioned above to emphasize this.

    Unfortunately I don't have a XDS510USB Plus emulator with me (I am using a DM365 RevE + XDS510USB), but the .ccs file provided at the Spectrum Digital support page should work (check sections 5.1 and 5.2 of their JTAG Emulator Guide).

    Another detail is that the device itself may require reducing the speed of the JTAG clock for your emulator. Check the section ARM9 Targets in the JTAG Debugging page:

    http://processors.wiki.ti.com/index.php/Debugging_JTAG_Connectivity_Problems#ARM_9_Targets

    Hope this helps,

    Rafael

  • DThomas said:
    I talked to a different person at Spectrum Digital and he said I shouldn't expect the dbgjtag program to work.  It only works for emulators using TI drivers, but the 510 USB emulator uses Spectrum Digital drivers.  So apparently the 0x240 port address was a red herring.  I RMA'd the emulator and am waiting for repairs.

    ah ok. Sorry, I see that the error was generated by running dbgjtag. Yes, that utility would not work for Spectrum Digital emulators.

  • Another detail is that the device itself may require reducing the speed of the JTAG clock for your emulator.

    I did try that.  I was able to change the error message, but not able to get the emulator to work.  That was one of the final tests before I RMA'd the unit.


    The error you are getting is because you must use SDconfig to perform testing on Spectrum Digital emulators instead of dbgjtag. I fixed the page you mentioned above to emphasize this.

    Thanks!  That should be helpful for other people in the future.