Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RL-ARM: "stack overflow" depending on task creation order?

My ARM7 software is using the RT environment of RL-ARM.

After adding a new tiny task Task8 to the previous 7 tasks, "os_stk_overflow" is called with the "task_id" pointing to Task8.

- Reducing the amount of code in Task 8 does not fix it (I reduced it to a simple for{;;} - loop)

- Increasing the task stack size in "RTX_conf.c" does not fix it.

- Changing the creation order of the tasks, i.e. calling os_tsk_create(task8) before os_tsk_create(task7), does fix it ("os_stk_overflow" is not called anymore)

So what are the other reasons beside a stack issue that is calling the "os_stk_overflow"?

Parents Reply Children
No data