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.

Compiler/CC2642R: Difference between Task Stack size and Stack size mentioned in linker file(.icf)

Part Number: CC2642R

Tool/software: TI C/C++ Compiler

Hi Team,

Need more clarity on Task Stack sizes which are created in our application and Stack size which is mentioned in linker file(.icf) . How to correlate between these two sizes, means sum of all these Task stack sizes must be equal to stack size value which is mentioned in linker file.

 1. Is there any relation between these two values or any guidelines between these two while creating and designing the task sizes.

 2. When we are going to increase the RTOS task stack sizes, we need to increase the general stack as well in linker file.

 3. Is there any thumb rule while designing between these two stack sizes.

 4. And how to debug weather the defined task stack size is not sufficient for that task, and how to know this issue with debugger.

Could any one had broad idea on these two stack sizes, Please let us know the same, we are in initial stage of using the TI-RTOS for our application. We are going to use the same for our future projects, it will help us a lot.

Regards,

Srinivas.V