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:TI RTOS 任务会卡住并进入空闲循环。

Guru**** 1831610 points
Other Parts Discussed in Thread: TM4C129ENCPDT
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1308838/tm4c129encpdt-the-ti-rtos-tasks-get-stuck-and-enters-idle-loop

器件型号:TM4C129ENCPDT

大家好!

我是 usinh TM4C129ENCPDT MCU 在 TI RTOS 应用程序上运行。 有时、任务会卡住、进入空闲循环而不会脱离空闲循环、 重新启动并跳转到引导加载程序、就像我实现的那样、当卡住时间超过90秒时、它会重新启动。 如何避免任务进入空闲循环并使它们引发错误属性,我可以实施恢复方法。我使用的是 TIRTOS 2.16.01.14版本。 请提醒我为什么它进入空闲循环,如何避免它进入?

此致

奇兰特

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

     如果某些事件(例如信标、中断等)未触发任何任务来运行、则内核将运行空闲任务。 我认为您需要检查您的任务为什么没有被触发。  

     您也可以添加自己的用户空闲函数来处理或抛出错误。