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.

CCSv5 Non-intrusively connecting to running target and enabling real-time mode

Other Parts Discussed in Thread: TMS320F28335

The intent is to see in real-time mode (for targets that support this feature, such as 66x DSP cores) some variables in a running system (that wasn't loaded and run using CCS debugger). Is it possible to non-intrusively connect to a running target and enable real-time mode? So steps on a running system would be :

1. Bring up CCS.

2. launch target.

3 Connect non-intrusively i.e connection is established but cores are not stopped.

4. Load symbols only on the cores.

5. Enable real-time mode.

6. Examine variables of interest in watch window, memory window etc, whatever is possible in real-time mode.

  • Yes, it should be supported (assuming the device supports real-time mode).

    Go to 'Run -> Debug Configurations'. In the list in the left pane, choose your debug configuration and click on 'Target' tab in the right pane. Under 'Auto Run and Launch options', enable the option for 'Real time mode' (this option will not be available if the device does not support real-time mode). This will allow real time mode to be enabled any time that debug configuration is launched and allow you to connect in real-time mode.

    Thanks

    ki

  • From above picture, while I see "Realtime Options", neither this one nor the auto run and launch options you mentioned has the "real time mode" you suggested to turn on. I know my target (as you can see it is a 66x core) supports real-time mode, I use it from time to time from the icons.

    What really matters here I guess is an option to be able to connect without halting the target i.e after connecting, it would indicate target is running state (assuming it was actually running), then one can enable real-time mode through the icons (if the option you mention is not really there). I see that in the "Connection options" in the above picture, there is an option to "Halt the target on a connect" but it is masked out, is this because the 66x core does not support this capability? And does it mean that if it were supported (in which case it wouldn't be masked in the GUI), by not checking the option would do what I am asking for?

    thanks.

      

  • Piyush_ said:
    From above picture, while I see "Realtime Options", neither this one nor the auto run and launch options you mentioned has the "real time mode" you suggested to turn on

    You must be using a CCS version older than 5.3.0. It is the second option under 'Realtime Options' - "Service critical interrupts when halted" that applies. It was renamed in 5.3.0 to something that is more obvious.

    Piyush_ said:
    What really matters here I guess is an option to be able to connect without halting the target

    yes the above options is supposed to allow and non-intrusive connect (no halt on connect)

  • Thanks. You are right, I am using older version and after doing what you mentioned, I verified, it works perfectly, I will close this but before I do I will write a little information for the benefit of others:

    If you change the parameters in the launched state of the target (whether or not it is connected), you need to terminate and relaunch the target for the parameters to take effect. The parameters can be changed even without the target being launched.

    For 6614 users, this capability is not available in the ARM on the 6614, it is available for the TI 66x DSP cores. Choose carefully in the GUI at the top each of the 66x cores and after enabling the option Ki mentioned i.e "Service critical interrupts when halted" (for users of ccs versions before 5.3, otherwise the option he mentioned about "real time mode"), click Apply and then choose another core from top and so on until done.

  • I am trying to do the same thing with a TMS320F28335.  I can connect without resetting the DSP, but there is no option to connect without halting.  Does it lack that capability?  I can't find anything in its literature that even talks about this.

    - Bob