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.
Hi,
During debugging, a stack overflow occurred, as shown in Figure 1. The atack size of all task is 256 words in RTOS configuration.
The specific use of the stack is shown in figure 2.
What causes it? Are there any engineers who have encountered the same problem? And what can I do to solve this problem?
Environment description:
MCU:28388D OS:RTOS Compiler:CCS9.1
I am looking forward to your reply
Thank you very much
Figure 1
Figure 2
Hi,
Looks like stack is overflowing. Did you try increasing default stacksize?
Hi,
We've tried to set the stack size to 512 words, but the interval between each 100ms task is too long.
Moreover, we can analyze the result of debugging that the task stack did not overflow, as shown in figure 2.
We don't seem to have found the real reason.
I am looking forward to your reply
Thank you very much
Hi,
Any update on this ticket? Can we close this thread if it has been resolved?