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.

CCS/CC430F5137: Problem with viewing "Stack Usage"

Part Number: CC430F5137

Tool/software: Code Composer Studio

I'm having issues getting the "Stack Usage" view to work on an existing project in CCS.  When I select that view, I get a message stating "Call graph (-cg) is not supported in OFD utility!".  The "Memory Allocation" and other views seem to work just fine, and I can get the "Stack Usage" view working on other projects.  I suspect some compiler or linker setting is inhibiting the stack usage data from being generated correctly, but I can't seem to find a way to get it to work correctly.  Can anyone provide any guidance on how to get it working again?

Thanks,

David

  • Hi David,
    Please provide:
    -The exact version of CCS being used
    -The version of the MSP430 compiler being used
    -A reproducible test case (can be a stripped down simplified version - as long as the issue can be reproduced)

    Thanks
    ki
  • Hi Ki-Soo,

    I've tried this with CCS 6.2.0 and CCS 8.0, same results. The project is using the TI v4.4.8 compiler. I already tried a small test project, and cannot reproduce the issue with that, hence my suspicion that it's some compiler or linker setting that is getting in the way.

    -David
  • Can you provide the actual project that exhibits the issue? You can sent it privately to me if you wish (send via E2E private message)
  • The project and code are proprietary, and I cannot share it. However, I tried changing compiler versions, and now get something different. I now get a Java stack overflow while generating an XML file. Further searching on this showed that others have seen this, and it sounds the same as CCSIDE-3251.
  • CCSIDE-3251 should have been fixed in CCS 8.0. You experienced this issue on CCS 8.0?
  • I got it working, sort of. I can now see stack usage, but get frequent long delays with a progress bar while the stack usage is reloaded. Much better, but a bit frustrating with all the delays.
  • Slowness aside, can I request an enhancement to the stack usage view? It would be really nice if I could either double or right click on the function name, and navigate directly to the source for that function.
  • David Hoy said:
    I got it working, sort of. I can now see stack usage, but get frequent long delays with a progress bar while the stack usage is reloaded. Much better, but a bit frustrating with all the delays.

    There were some performance issue with the Stack Usage view, but many of them were fixed in CCSv8. Just to confirm, you see this on CCSv8?

  • David Hoy said:
    Slowness aside, can I request an enhancement to the stack usage view? It would be really nice if I could either double or right click on the function name, and navigate directly to the source for that function.

    I filed an enhancement request for this. Tracking ID: CCSIDE-3312

    Thanks

    ki

  • Yes, CCS v8.0.0.00016. Checked for updates, and it seems that I'm up to date.