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.

MSPM0G3507: Couldn't activate Trace Viewer in CCS to read software messages.

Part Number: MSPM0G3507

Tool/software:

Hi,

I recently started working with MSPM0G3507 launchpad, I couldn't activate Trace Viewer in CCS to read software messages.

There is no option for Custom Core Trace in Hardware Trace Analyzer. The options that are available for Hardware Trace Analyzer are: Open File, Use Configurations, Analysis Dashboard.
And options in SoC Analysis are: Open Trace File(.tdf).

I have followed:
https://www.ti.com/video/5153451896001?keyMatch=swo&tisearch=universal_search&f-videos=Video,Video%20series 
https://software-dl.ti.com/ccs/esd/documents/xdsdebugprobes/emu_swo_trace_ccsv9.html#usecases
but I couldn't resolve the issue.

I am currently using CCS Version: 12.8.1.00005.

Is there any way to read software messages from MSPM0G3507 using CCS via SWDIO and SWCLK without UART port?

Regards,
Vineeth

  • Hi Vineeth,

    Firstly, I recommend that you update to CCS v20 as this is our latest version that is compatible with our latest SDK releases.

    With that being said, you should be able to view the core trace in CCSv20, please review this guide.

    In Your version of code composer studio, you can view the core trace by starting a debug session, then going to tools->code analysis->MTB trace. Then you can enable it in the window that appears on screen. Run your debugger, then pause it, and you can view the MTB info.

    Note that the two links that you posted are referring to MSP432, which would have different trace analysis than the MSPM0 part that you say you are using.

  • Hi Dylan,

    Thank you for the support.

    I have successfully installed CCS v20. I can enable Core Trace. But, software messages are not being displayed in Core Trace. Is there any way to check the software messages from the MSPM0G3507 along with receiving timestamp of the message.

    The CIO console is printing the messages when printf() is used in MSPM0, but it is not printing receiving timestamp of the message. Also, CIO is working in CCS v12. In CCS v20 the CIO is not showing messages for the same code.

    I wanted to check the messages from MSPM0 along with timestamp, for logging purpose.

    Regards,
    Vineeth

  • Hi Vineeth,

    I am seeing an option to enable timestamp information to target output to allow for timestamping:

    Please right click your project, then click to open properties. In the "Debug" menu, please enter the category as "Misc/Other Options". Then check the box for "Add timestamp information to target output".

    Give this a try and let me know if you are able to get your desired timestamping behavior.

  • Hi Dylan,

    Thank you for the support.

    I am able to enable timestamp in CIO console, but the milliseconds are missing in the timestamp.

    Is there a way to enable milliseconds as well in the timestamp.

  • Hi Vineeth,

    I am not seeing an option to change the formatting for the timestamps, I only see the option to enable or disable this.

    For other issues using CCS, please visit the CCS User's Guide