Real-Time Mode

From Texas Instruments Wiki
Jump to: navigation, search

Selected TI devices support a capability called "Real-Time" mode.

In order for a debugger to access memory, registers, etc. the processor needs to be halted. Many debuggers will "silently halt" the processor. In other words, the debugger halts the processor, reads/writes memory, and then starts it running again. This was the behavior in CCS 3.3 when you clicked "refresh" on a watch window at run-time. If you were debugging a real-time audio routine this would be perceptible as a glitch in the audio. However, for control algorithms such as spinning a motor or regulating a power supply it is very undesirable for the processor to momentarily halt.

Real-time mode is a mode of operation whereby the contents of memory, peripheral and register locations can be modified while the processor is running and executing code and servicing interrupts. The user can also single step through non-time critical code while enabling time-critical interrupts to be serviced without interference. No software monitor is required.

This capability is supported in several TI processor cores:

  • TMS320F28x cores
  • TMS320VC55x cores
  • TMS320C6000 families such as
    • 64x
    • 64x+
    • 674x
    • 66x

More details on how to use "Real-Time" mode in Code Composer Studio can be found at this topic: Real-Time_Mode_Debug_with_CCStudio

You can also read about Real-Time mode in the debug section of the C2000 data manuals such as SPRU430.