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.

RTOS: Problem occur when I add function to stack task in new TI 15.4 stack on CC1310

Other Parts Discussed in Thread: CC1310

Tool/software: TI-RTOS

Hi, 

I am using new TI 15.4 stack and I want to send some data from sensor to collector. for sending my own data I created function and I called that function inside of stack task. When I added function my CC1310 is gone to reboot state (sensor side). Actually what is the reason for this case? Can anyone help me to solve this problem. If anyone know how to add our own function to stack code can you please give me a clarification for that. Thank you.

  • Hi,

    I'm trying to figure out how to best help you ...

    harsha ganegoda said:
    I am using new TI 15.4 stack

    Can you please provide some more details on this?  What stack are you talking about?  Are you using TI-RTOS?  If so, which version?

    What is your Task's stack size?  Perhaps the new function that you are calling needs a lot of stack and you've got a stack overflow because of this.


    You can try checking for this in the ROV tool (CCS menu tools -> RTOS Object Viewer).  Then look under the Task module (detailed view) for your Task thread's stack size.

    If it has overflowed, try increasing the stack size where you create the task.

    Steve

  • Hi Steve,

    I am using latest 15.4 stack which is released recently. TI-RTOS version is tirtos_cc13xx_cc26xx_2_21_00_06. I did not changed stack size. It is remain as default. I increased the stack size up to 1024. But problem is not solved.
  • Hi,

    harsha ganegoda said:
    I am using latest 15.4 stack which is released recently

    Can you please tell me what this means?  I don't know what stack you are talking about.   Is this the Bluetooth stack you're referring to?

    I checked the release notes of tirtos_cc13xx_cc26xx_2_21_00_06 and I see no mention of "15.4 stack".

    ---

    Can you please post a screen shot of the ROV tool's Task view when this problem occurs?  Which shows the "detailed" view of your Task thread (the one that's causing you problems)?

    Steve