我是参考的以下链接中的程序调试的。
https://blog.csdn.net/zzfenglin/article/details/52253536
https://e2echina.ti.com/question_answer/wireless_connectivity/bluetooth/f/103/p/179398/541739?tisearch=e2e-sitesearch&keymatch=watchdog#541739
Viki Shi:
打断点看了吗?“好像一直在执行重启” 可否具体说一下
user6383350:
回复 Viki Shi:
打了断点了。会执行Watchdog_open,然后执行到Watchdog_setReload,但是一直不执行static void watchdogCallback(uintptr_t handle)
{//Feed dogWatchdog_clear(watchdogHandle);
}。
而且还会不断地从Watchdog_open循环执行以上步骤
Viki Shi:
回复 user6383350:
你有没有开启低功耗?Once started, the Watchdog will keep running in Active or Idle mode. When the device enters Standby mode, the Watchdog timer will stop counting down but the counter value will be preserved