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.

[参考译文] CC1312R:在 ROM 中使用 TI RTOS 时触发任务堆栈溢出中断

Guru**** 2555260 points


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

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1015641/cc1312r-triggering-interrupt-on-task-stack-overflow-when-using-ti-rtos-in-rom

器件型号:CC1312R

我目前正在使用 simplelink_cc13x2_26x2_SDK_5_10_00_48、并且 TI RTOS 直接刷写到 ROM 中。 就我所见、在这种情况下、默认情况下必须将 checkStackFlag 设置为 false。 当堆栈溢出发生时、如何触发中断? 我使用了 Task_stat()函数,但想知道是否有一种更低成本的方法来在堆栈溢出发生时准确地提醒应用程序。 从硬件故障处理程序中断中使用 Task_stat()也是安全的吗? 有关 Task_stat 的文档只声明不建议这么做、因为函数不是时间确定的。 是否有任何方法可以确保它的安全?