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.

TM4C129ENCPDT: The TI RTOS tasks get stuck and enters idle loop.

Part Number: TM4C129ENCPDT

HI all,

I am usinh TM4C129ENCPDT MCU running on TI RTOS application. Some times the tasks get stuck and it enters idle loop and wont come out of it, it  reboots and jumps to bootloader as i have implement when it get stuck more than 90secs it reboots. how do the avoid the tasks to enter idle loop and make them throw error atleats and i can implement recovery methods.i am using TIRTOS 2.16.01.14 version. please uggest me why it is entering Idle loop and how to avoid it entering ?

Regards

Chiranth

  • Hi,

      If no tasks are being trigged to run by some events (e.g. semaphore, interrupt and etc) then the kernel will run the idle task. I think you need to check why your tasks are not being triggered. 

      You can also add you own user idle function to handle or throw errors.