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.

TMS320F28P659DK-Q1: Exploring C2000 Microcontrollers: Real-Time Variable Monitoring Challenge

Part Number: TMS320F28P659DK-Q1

Tool/software:

Hello,

I’m diving into the world of C2000 microcontrollers and thought I’d share my experience as I transition from working with STM32 microcontrollers and the IAR ARM Compiler. Having primarily worked with STM32 devices, I’m familiar with their robust debugging capabilities, especially the ability to monitor variables in real time without halting code execution.

One feature I found particularly valuable in the IAR environment is real-time variable monitoring. Using SWD (Serial Wire Debug), the debugger pulls global variable data at a refresh rate of ~100Hz. This is incredibly useful for observing changes in variables during runtime without interfering with the application’s execution.

My Question:

I’m currently working with Code Composer Studio (CCS) on a TMS320F28P65x development board and have encountered a challenge. While I can add variables to the Watch Window, I haven’t found a straightforward way to pull variable data in real time (at a similar refresh rate of 50-100Hz) without impacting code execution.

In CCS, I experimented with breakpoint watchpoints combined with the "Refresh All Windows" feature, but this approach interrupts the application and isn’t a true real-time solution. I want to monitor variables in a table-like view that updates periodically without affecting execution speed.

Could this be a limitation of the XDS110 Debug Probe, which I’m currently using? Would upgrading to an XDS200 provide the desired capability for real-time variable monitoring? Alternatively, is there a specific setting or plugin in CCS for enabling this functionality?

Summary:

  • What I need: A real-time variable monitoring solution in CCS, similar to IAR’s SWD-based implementation.
  • Current setup: TMS320F28P65x dev board + XDS110 Debug Probe.
  • Target refresh rate: 50-100Hz for global variable updates.
  • Workarounds tried: Breakpoint watchpoints + "Refresh All Windows" – unsuitable due to execution interference.

If anyone has experience with C2000 microcontrollers and can shed light on this, or if this is a known limitation of the XDS110/XDS200 or CCS itself, I’d greatly appreciate your insights.

  • Hi,

    Could this be a limitation of the XDS110 Debug Probe, which I’m currently using? Would upgrading to an XDS200 provide the desired capability for real-time variable monitoring? Alternatively, is there a specific setting or plugin in CCS for enabling this functionality?

    No, this would not have an effect on the problems that you have noticed. 

    In CCS, I experimented with breakpoint watchpoints combined with the "Refresh All Windows" feature, but this approach interrupts the application and isn’t a true real-time solution. I want to monitor variables in a table-like view that updates periodically without affecting execution speed.

    Let me have someone else follow up with you about this.

    Best Regards,

    Ben Collier

  • Hello,
    It looks all I have to do is to press continuous update button. but that is only up to 10Hz pulling rate independent of debugger. Well, it is  better than nothing