Hello,
I'm working with a CC2650 target. After some time it stops. In this case ROV indicates :
,ti.sysbios.knl.Task,Detailed,ti.sysbios.knl.Task.IdleTask,stackPeak,SP outside stack!
Before I add a semaphore I did not get (or may be It was less ofter) this issue.
Here are ROV tasks :
,0x20000e58,,5,Blocked,ICall_taskEntry,0xf001,0x20002b94,684,800,0x20000ea8,n/a,n/a,Semaphore: 0x200011d0 ,0x2000292c,ti.sysbios.knl.Task.IdleTask,0,Running,0x1001c20b,0x0,0x0,312,512,0x20001908,n/a,n/a, ,0x20001f40,,3,Blocked,gapRole_taskFxn,0x0,0x0,452,544,0x200016e0,n/a,n/a,Semaphore: 0x20001300 ,0x20001ef0,,1,Blocked,SensorTag_taskFxn,0x0,0x0,504,800,0x200013c0,n/a,n/a,Semaphore: 0x20001320
Increasing stack to 1024 with :
var Task = xdc.useModule('ti.sysbios.knl.Task'); Task.idleTaskStackSize = 1024;
does not help :
,0x20002b0c,ti.sysbios.knl.Task.IdleTask,0,Running,0x1001c20b,0x0,0x0,312,1024,0x200013c0,n/a,n/a, ,0x20002140,,3,Blocked,gapRole_taskFxn,0x0,0x0,452,544,0x20001ae0,n/a,n/a,Semaphore: 0x20001300 ,0x20000e58,,5,Blocked,ICall_taskEntry,0xf001,0x20002d74,684,800,0x20000ea8,n/a,n/a,Semaphore: 0x200011d0
What can cause a stack overflow in idle task???
lah