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.

CCS 5.1 XDS560V2 STM USB TMDXEVM8148 Target Configuration

Hi,

I'm trying to get CCS 5.1 to connect to a TMDXEVM8148 target with an XDS560V2 SD USB Jtag.

I'm not sure which device to select in the target configuration (ccxml) file.   8148 is not there, but maybe something else might work?   I've tried several to no avail.

Br,
Matt

  • Hi Matt,

    Try the option for 'TI814x'

    Thanks

    ki

  • Hi Ki,  thanks for the reply.  i do not see that option available. do you know what update i might need?   i had done the update under the menu item but maybe there is something else?   i am used to using non eclipse ccs, which could be part of it.  how do i ensure all of the latest platforms are available?     br, matt

  • That's odd. That option should be there. What is the full version number of CCS that you are using? And did you do a partial custom install (installed only some components)?

    Thanks

    ki

  • Hi Ki,

    I did the update again and something new happened (I deselected an XDAIS update that was giving a not-found error, which let the next update occur).   This is my current version statement and I see the TI814x now in the target configurations:

    Code Composer Studio

     Version: 5.1.0.201108111000
     Build id: N201108111000

     (c) Copyright Texas Instruments, 2011. All rights reserved.
     Visit http://www.ti.com

    Does this look correct?     I've setup a debug configuration and see some processors pop up on launching debug:

    674x_0, arm9_icont1, arm9_icont2, arm9_tppss, cortex_m3_rtos, cortex_m3_iss, cortex_m3_secss, and cortex a8.

    It can connect to the A8, but none of the others - I'm interested in connecting to the C64x.

    Connecting to the DSP gives:

    Error connecting to the target:
    (Error -1180 @ 0x0)
    Device is held in reset. Take the device out of reset, and retry the operation.
    (Emulation package 5.0.470.0)

    For the gel file I tried the one in the Mistral EVM folder for their example.   I'm not sure this is the problem though if its complaining about being held in reset.

    Thanks for your help,

    Br,
    Matt

     

     

     

     

     

  • Any ideas on how to get the DSP out of reset?   I have a gel file from Mistral which has tons of pulldown options.   None seem to relate to do with releasing the DSP from reset??

    Here is a link to their sw:  http://www.mistralsolutions.com/pes-support/support-downloads/tmdxevm8148.html

    Could there be a sequence to getting the DSP connected?

     

    Any help appreciated,

     

    Br,
    Matt

     

     

     

     

     

  • Matt,

    In the Target configuration editor (Advanced tab), assign the GEL file downloaded from Mistral to the box "Initialization script" of the CortexA8 core. Then once the debugger is launched, you can connect to the Cortex A8. Then go to CCS menu Scripts->DM814X System Initialization, and run DM814X_System_Initialisation_GP_device(). When that finishes, run GEMSSClkEnable. That should release the DSP and allow you to connect to it.

    Let us know if this works.

  • Hi Aarti,

    Worked awesome!   Thanks for your help.

    I will try to create an onConnect() function to integrate these commands into, so it does all this automatically.


    Thanks again,

    Br,
    Matt

     

  • Matt,

    Good to hear that it worked. FYI, for future reference I updated this wiki page with this info so it is hopefuly easier to find:
    http://processors.wiki.ti.com/index.php/Connecting_to_DSP_on_C6A8168,_DM8168,_C6A8148,_DM8148