Part Number: CC2640R2F
Tool/software: TI-RTOS
Hi. The project grows from Project Zero. It works but the stability is bad. I’m trying to figure out the problem and after small refactoring device just does not start. Or the same happens after optimization. I figured out that the ICALL task becomes blocking just after start. In osal.c file in void osal_run_system( void ) function.
activeTaskID = idx;
events = (tasksArr[idx])( idx, events );
It calls the LL_ProcessEvent (idx = 0, events = 0x2000) from the stack library and it never returns and makes ICALL task blocked. Later the application calls the stack API by ICALL and it breaks with timeout assert .
How can I debug this issue? And which is the method of debugging the stability for the long time being?