Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
OK, we finally have our app building without errors after porting from simplelink_cc13x2_sdk_2_30_00_45 to simplelink_cc13x2_26x2_sdk_2_40_00_81.
It was previously running fine, but now its locking up on the first call to Task_create(). (we have multiple tasks)
Task_Params_init(&taskParams);
taskParams.stackSize = taskInfo->stacksize;
taskParams.stack = malloc(taskInfo->stacksize);
taskParams.priority = taskInfo->priority;
taskParams.arg0 = (UArg)tss;
tss->taskId = taskid;
tss->taskHandle = Task_create((Task_FuncPtr)taskInfo->threadStart, &taskParams, Error_IGNORE); <---DOES NOT RETURN
Is there an easy way to debug these crashes? From a disassembly view I see that it is hitting "ti_sysbios_family_arm_m3_Hwi_excHandler__I" and going into some sort of while(1) loop (see image below) .
We had a similar issue in the previous SDK, which used ICALL and we found that we needed to change ICALL_MAX_NUM_TASKS from 2 to 6.
Is there something similar now that requires that we increase the number of tasks allowed?
Thanks,
- Bill