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.

How to find the stack location of SWI stack

Other Parts Discussed in Thread: CC2650

Hi, 

On page 67 of this documentation, it lists that each SWI for SYS/BIOS is stored on the system stack:
SYS/BIOS (TI-RTOS Kernel) v6.46 User's Guide. If I'm using CCS, running tirtos for the CC2650 launchpad, how can I find the location of the stack for an instantiated clock instance (should be at SWI priority) so that I can check to see if it is overflowing?

Thanks in advance!

  • Hi code2e,


    All the debugging data can be found in the CCS ROV (RTOS object viewer). You can open it under the tools menu. More specifically, the system stack can be found in the System section of the ROV.

    Here's a link to a short youtube video that shows how to open it (aimed for beginners).

    There are also APIs that can give you the information during runtime. A previous post explains what it is:


    Regards,

    Michel

  • There was a suggested answer and since there has been no active on this thread for more than a week, the suggested answer was marked as verify. Please feel free to select the "Reject Answer" button and reply with more details.