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.

[参考译文] TMS570LC4357-TMS570:EP 检测热复位原因

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1598387/tms570lc4357-ep-tms570-detecting-cause-of-warm-reset

器件型号: TMS570LC4357-TMS570LC4357 EP

您好!

我正在处理 TMS570 复位强化。 有一个系统异常控制和状态寄存器、我们可以在其中识别热复位的不同原因。  

我们的团队能够使用异常状态寄存器位 11 来检测调试器复位原因。 但是、我们无法识别任何其他复位源、例如外部看门狗/软件内部复位或外部按钮复位。 在这种情况下、SYSESR 寄存器的位 15 和 3 都没有改变其状态。

请告诉我,如果你有任何线索和解决类似的问题.

谢谢、

Keyoor

 

 

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

    尊敬的 Keyoor:

    在启动函数_c_int00 上、我们有称为 getResetSource 的 API、

    我们在发现复位原因后正在清除异常状态寄存器。

    如果您需要在应用中保持该寄存器状态、那么我们需要注释掉此 API 中的清除指令、如下所示。

    您可以尝试一下这个吗?

    --
    此致、
    Jagadish。