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.

The stack pointer for stack 'CSTACK' is outside the stack range



Hi,

I am getting below warning

Mon Jul 11, 2016 14:44:45: The stack pointer for stack 'CSTACK' (currently 0x20001C28) is outside the stack range (0x20004800 to 0x20005000)

The stack pointer is outside the stack range, So, should I modify the start and end address of the allocated stack.

if yes, can you help me with the syntax and where should I modify(in linker file ?).

Presently I am using IAR workbench.

  • I believe the warning is valid however it is very misleading because the application uses TI-RTOS which maintains a separate stack for each task thread. If the application is running correctly then you should ignore this warning if you are halted within a task thread.

    Alan