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.

LP-MSPM0L1306: CCS realtime register view

Genius 3186 points
Part Number: LP-MSPM0L1306

Hi

May I have question about CCS with MSPM0?

Q1:

I think we could see register value only when program is suspended.

Could we see register realtime in program progress.

Q2:

If Q1 is could not, we want to see register every few mili second.

Is there any script, tool or way of suspend program every few mili second?

Q3:

I think we could use on chip debugger in MSPM0.

Is there any Full-ICE that could full memory trace for MSPM0 series?

Thanks,

GR

  • Hi GR,

    Q1: Yes, you can. Just using debug mode and set the code run, then you can get the value via expression/ register window.

    Q2: Refers to Q1.

    Q3: Sorry, I am not sure what Full-ICE means. But CCS can trance the memory value when you using memeory window.

    Below is the function you can use:

    Also, I suggest you take a look about CCS user's guide, and much operation is explained step by step.

    B.R.

    Sal

  • Hi Sal,

    Thanks for your supporting.

    Q1: Yes, you can. Just using debug mode and set the code run, then you can get the value via expression/ register window.

    In CCS debug mode, If run program by Resume buttern, the registers window is not update value.

    I think To see newer register value need to update register window. Update could as push suspend buttern, step execution.

    My customer want to see register values in real time during program execution.

    Q3: Sorry, I am not sure what Full-ICE means. But CCS can trance the memory value when you using memeory window.

    Below is the function you can use:

    I mean debugger that could full trace CPU,memory as Full-ICE.

    I think XDS110 need on-chip debug hardware on the silicon.

    Best regards,

    GR

  • Hi GR,

    I think you are looking for below function:

    It should be noted that although the data will be refreshed in real time, because the program is running, the CCS automatic refresh frequency will run slower than the MCU, so the real-time observation data can only be used as a reference.

    I think XDS110 need on-chip debug hardware on the silicon.

    XDS110 access the device memory through the debug interface (SWD), which is mentioned in MSPM0 TRM Chapter 20.

    B.R.

    Sal

  • Hi,

    Q1:

    I think we could see register value only when program is suspended.

    Could we see register realtime in program progress.

    Try this function mentioned by  in CCS Debug mode - Register windows, any update of register will be marked yellow.

    BR

    Helic

  • Hi Sal, Helic,

    Thanks for information.

    I could see updated register value in program running.

    Best regards,

    GR