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.

CC2640R2F: Stack Usage view displays no information

Part Number: CC2640R2F
Other Parts Discussed in Thread: CCSTUDIO

[This might belong in the CCS forum, but the dropdown did not provide other options.]

We are working on an application for a custom board based on the ble5 simple peripheral firmware, and I am trying to use the Stack Usage view.  I have the Memory Allocation view in one tab, and the Stack Usage view in an adjacent tab.  The Memory Allocation view works well, but the Stack Usage view is empty, except for saying that "The Stack Usage view graphically displays your project's stack usage details".  There are no error messages.  I have not seen in documentation any other setup required to use this feature.  Any info on what I'm missing would be appreciated.

  • Hi Tony,

    I am not experiencing similar issues with non-BLE examples.  Have you built the project and did you double-click on the message inside the Stack Usage window?  What are your SDK and CCSTUDIO versions?  Try referring to the following: https://processors.wiki.ti.com/index.php/Stack_issues#Finding_out_static_stack_usage 

    Regards,
    Ryan

  • I just built the spimaster example, and stack usage info shows up when building that application.  It does not show any stack information when building the ble5 project 0 firmware either, so maybe this is a ble 5 firmware-specific issue and there is another utility for viewing stack usage info for these applications?

    Clicking on the message does not have any effect.

    The link provided takes me to a page not found error saying "The Processors Wiki was removed on January 15, 2021"

    Sorry, forgot to include that this CCS v10.2.0.00009, CC2640R2 SDK 4.30.00.08.

  • Well, I've been looking at this issue since last week, and now that I have posted the question, it started working.  I did not change any project settings, just moved a few lines of code and rebuilt.  It's not as if I was not waiting long enough before, since it appears as quickly as the memory allocation view.  I have made several other code changes since, and it appears each time.

    CCS has been locking up after downloading firmware to the device for debugging, before a debug session can start, so I have restarted CCS a few times.  Maybe the restart played some part in having it start working.

    The spimaster and ble project 0 builds mentioned in the prior post were actually on another machine, so I'll have to go back to that machine to see if I can get the stack info to show up for project 0.