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.

SWO Trace with XDS200 emulator

I have an XDS200 emulator with CCS 5.5 and a TM4C129 series processor. I'm trying to track down a pretty devious bug, and as part of that I wanted to do some profiling using the hardware trace capability.

TI's document on that indicates that M4 processors (which the TM4C is) support this functionality, and that the XDS200 supports trace when using the SWO Trace functionality. 

When I try to use the Trace functionality, I get a notice that says "Could not run analyzer on CORTEX_M4_0. Cause: SWO Trace is not supported on your current emulator firmware. Update to the latest firmware version (check with your emulator's vendor for details).

I used CCS's 'Check for updates' feature, found some emulator updates, and installed them. I get the same message afterward as before. Is SWO Trace supported in CCS as the documentation says? Is there something wrong with my emulator?

  • Hi,

    Some early XDS200 emulators required a firmware update to properly work with SWD, therefore that may be what is happening in your case.

    Take a look at the readme.txt file present in the following directory of your CCSv5/6 install:

    C:\ti\ccsv6\ccs_base\emulation\specdig\xds2xx

    Even still, I found an additional issue with the latest CCSv6.0.1 release but not with my CCSv5.5. When trying to set a Trace job you get the message "The specified breakpoint type 'Trace' does not exist on this target".

    The issue stems from the TI emulators package, which is different between my working CCSv5.5 (5.1.450.0) and CCSv6.0.1 (5.1.507.2). You can check the version installed in your system by going to menu Help --> About Code Composer Studio --> Installation Details.

    For this last issue I filed the bug SDSCM00050762.

    Hope this helps,

    Rafael

  • Rafael,

    Thanks for the help. Updating the firmware on the emulator got rid of this message, and now I can open the Statistical Function Profiling screen. I still can't use the trace capability, but I filed a new topic on that here (http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/362739.aspx) since your resolution here did in fact fix my issue.

    Thanks,

    Ben