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.

CC2630看门狗使用

Other Parts Discussed in Thread: CC2630

使用协议栈栈zstack home 1.2.2a,硬件是cc2630,现在移植好了看门狗功能。但是发现喂狗在工作文件中不知道放在那里,参考了回调函数来喂狗,但是当应用层函数进入一个死循环(自己设置的,用于测试看门狗跑死复位),但是断点调试,发现他一直在死循环中不出来,而且看门狗的回调函数一直定时不断喂狗,所以当程序进入一个死循环中,是不能复位的,使用看门狗回调函数的情况下。如果不使用回调函数喂狗,在Switch_process()中调用喂狗函数,则一直复位ICall_wait函数会死等有消息,所以这样导致了,出现死循环的情况下,应用层是不能通过看门狗重启的。请问下,在应用层下,怎么喂狗可以避免出现死循环后不能复位的情况。谢谢了