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.

  • TI Thinks Resolved

CC3220: SP outside stack

Intellectual 320 points

Replies: 5

Views: 119

Part Number: CC3220

Hi, 

I'm using CC3220 and RTOS to build my Application, while doing the ROV test below is the error i'm getting.

It is showing red signal for task "ti.sysbios.knl.Task.IdleTask"  stackPeak=208 , stacksize =2048 and Showing "SP outside stack" in scan for error in BIOS.

I tried increasing the stack for the same to even 8k still stackpeak=208 and stacksize =8096 but still its showing the same error, i'm not able to understand what's the problem.

Can someone please help?

Thanks,

Mahesh

  • Expert 7235 points
    Hi Manesh,

    Have you tried to step through the code to see where it fails? Try isolating that specific task to debug it.

    Jesu
  • In reply to Jesu:

    Hi Jesu,

    Isolating that task effects my Complete Architecture , Is it possible to debug without isolating the task?

    and What Issues SP outside stack can create?

    Thanks,

    Mahesh

  • In reply to Mahesh kumar:

    Actually when i tried to disable the Idle task in the .cfg file by setting Task.enableIdleTask it gives error "Task.enableIdleTAsk must set to be true".


    Mahesh
  • Expert 7235 points

    In reply to Mahesh kumar:

    Hi Manesh,

    Sorry let me be more clear. Idle task cannot be disabled. I strictly meant any other tasks you create apart from the one in question. Instead of messing around with tasks please answer the following questions. Are you doing any sort of recursion or pointer manipulation inside a task? Also, did you create more than 1 task? If so, are these tasks sharing memory?

    Jesu

  • Expert 7235 points

    In reply to Mahesh kumar:

    Hi Manesh,

    Closing thread due to inactivity.

    Jesu

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.