Other Parts Discussed in Thread: SYSBIOS
Hi,
I am having an issue where a Task Entry Function is not called from SYSBIOS even though its task priority is 14 (not -1) and its mode is READY (I checked the task stat by a different task at run time). This issue occurs on some of our boards but does not occur on all other boards (the same/identical HW design). This task is statically created. If I just modify code to output some debug logs, the issue does not occur. Also, the issue does not occur with debugger running. I confirmed that the task stack and system stack (ISR) are large enough so there's no stack overflow.
My Environment:
CCS version: 5.5.0.00077
Compiler version: TI v6.1.3
XDCtool version: 3.25.4.88
SYSBIOS version: 6.35.1.29
The task is statically created as in below (instance#0):
/* Object__table__V */
ti_sysbios_knl_Task_Object__ ti_sysbios_knl_Task_Object__table__V[6] = {
{/* instance#0 */
{
((ti_sysbios_knl_Queue_Elem*)((void*)&ti_sysbios_knl_Task_Object__table__V[0].qElem)), /* next */
((ti_sysbios_knl_Queue_Elem*)((void*)&ti_sysbios_knl_Task_Object__table__V[0].qElem)), /* prev */
}, /* qElem */
(xdc_Int)0xe, /* priority */
(xdc_UInt)0x4000, /* mask */
((xdc_Ptr)0), /* context */
ti_sysbios_knl_Task_Mode_INACTIVE, /* mode */
((ti_sysbios_knl_Task_PendElem*)0), /* pendElem */
(xdc_SizeT)0x200, /* stackSize */
((void*)ti_sysbios_knl_Task_Instance_State_0_stack__A), /* stack */
0, /* stackHeap */
((xdc_Void(*)(xdc_UArg,xdc_UArg))((xdc_Fxn)taskReceive)), /* fxn */
((xdc_UArg)(0x0)), /* arg0 */
((xdc_UArg)(0x0)), /* arg1 */
((xdc_Ptr)0), /* env */
((void*)ti_sysbios_knl_Task_Instance_State_0_hookEnv__A), /* hookEnv */
1, /* vitalTaskFlag */
0, /* readyQ */
(xdc_UInt)0x0, /* curCoreId */
(xdc_UInt)0x0, /* affinity */
},
If you have any info/clue, please kindly provide support.
Thank you!