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.

[参考译文] TMS320F28075:程序是否有任何方法来识别是否连接了调试器? 以便它可以执行不同的操作

Guru**** 2595805 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/673336/tms320f28075-is-there-any-way-for-the-program-to-identify-whether-there-is-a-debugger-connected-or-not-so-that-it-can-perform-differently

器件型号:TMS320F28075

如标题所述、如果正在调试、程序可以禁用看门狗。

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

    我们有 RESC 寄存器、其中包含字段"TRSTn_PIN_STATUS"。 这将提供 TRSTn 引脚的状态。 如果这 是"1"、则表示已连接调试器。

    BTW、连接调试器时、CCS GEL 文件无论如何都会禁用看门狗。

    此致、

    Vivek Singh

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

    很棒! 非常感谢!