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.

RTA Statistics not updating

Other Parts Discussed in Thread: OMAP-L138, TMS320C6748

I posted this 3 months ago with no repsonse.  http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/52337.aspx

maybe we'll have better luck this time...

I made sure that the Enable RTA Continuous Refresh button is checked.  what I noticed is that it is changing to unchecked as soon as I click Run.  clicking on it again is ignored from that point.  now that I look closer, Enable/Disable RTA Continuous Refresh is grayed out and unchecked whether the statistics is updating or not.

sometimes it is enough to get the statistics when I stop.  but clicking the Refresh button does nothing when this problem happens.

anyone have any ideas here?

  • Kurt - Can you help me out with the following information about your setup?

    • CCS version
    • XDCtools version
    • BIOS version
    • Board and emulator you're using

    Thanks,

    Chris

  • CCS 4.1.2

    XDC 3.16.02.32

    BIOS 5.41.02.14

    Logic PD OMAP-L138/TMS320C6748 with TMS320C6748 SOM-M1

    Spectrum Digital XDS510 USB

  • Thanks.

    The short answer to your problem, I think, is that you'll need to have RTDX working and the target running in order to see the STS view update.

    To answer all of your specific concerns, though, please start by having a look at the following article:

    http://processors.wiki.ti.com/index.php/BIOS_5_Real-Time_Analysis_%28RTA%29_in_CCSv4

    I think there are two points in there that apply in particular:

    1. Stop mode RTA requires BIOS 5.41.04 or view
    2. The STS view will not be updated in stop mode

    Also, it sounds like there's some confusion over the function of the stop-mode toggle buttons.

    The 'Enable RTA continuous refresh' button is a toggle button with three states--toggled, un-toggled, and disabled. When the target is running this button is disabled (greyed out), which just means that you can't change it's toggled state while the target is running.

    This button is toggled on by default. It controls whether stop mode happens automatically when the target is halted. It's on by default, but you have the option of disabling it if you don't want RTA to be reading target memory at every halt. If you un-toggle it, then the 'Refresh RTA buffers in stop mode' button becomes active when the target is halted, allowing to manually invoke a stop mode refresh.

    I don't think the description of these buttons is documented anywhere for BIOS 5 (though it is for BIOS 6); I'll add this to the above wiki article.

    Thanks,

    Chris

  • Actually I am not too concerned about stop mode, thought I do appreciate the information.  I have tried toggling "Stream RTA Data".  That works on rare occasions.

    RTDX?  Do I have that installed?  What about, "As of 6/24/2010 RTDX is no longer supported. Alternative transports should be considered for the acquision of data, such as serial ports and ethernet. If you are currently using the technology and have no issues, there is no need to change. However, no action will be taken for support inqueries."?

    http://processors.wiki.ti.com/index.php/Real_Time_Data_eXchange_(RTDX)

    Obviously my problem is that it works and then it doesn't.  From my previous post, "After each run the only way I can get RTA Streaming to work again is to close and reopen CCS4, then rebuild the project.  And power cycle the evm in the middle."

    Is that how it is supposed to work?  Do I have close and reopen CCS each time I rebuild in order to get RTA data?  That is what I am seeing and that is the question.

  • You do have RTDX, and it sounds like it's working intermittently in your application.

    The comment you referenced means that there are no plans to fix any outstanding bugs in RTDX.

    I've observed similar problems with RTDX to what you're seeing. The problems tend to vary between different combinations of devices and emulators, but here are some thoughts:

    • Continue trying toggling the Stream RTA Data button as your first recourse, since that's the easiest workaround and sounds like it works sometimes.
    • If that doesn't work, try closing all RTA views then terminating and relaunching your debug session. If this doesn't appear to be enough, you may need to power cycle your board.
    • I don't think you should ever have to rebuild your project or close and relaunch CCS to resolve an RTDX issue.
    • Always perform a software reset (ALT+R) in between program loads.
    • In some setups, RTDX appears to start working after reaching a breakpoint (such as if you automatically run to main).

    Hopefully some of these thoughts will at least help reduce the overhead between successful RTDX runs.

    Thanks,

    Chris

  • OK.  Thanks for the ideas, I'll keep fiddling. 

    I was really hoping it was something other than "its flakey and ya just gotta live with it" 

    FYI:  If I leave the Statistics Data window open while terminating and relaunching the debug session, sometimes the "Stream RTA data" button is disabled.