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.

zigbee 3.0.2, 按照文档使用看门狗后,程序不断重启

Other Parts Discussed in Thread: CC2530

我也碰到了这个问题。 我使用的是 zigbee 3.0.2 协议栈,然后在文档中建议位置:OSAL.c , osal_start_system 中 osal_run_system(); 后面加上了喂狗:

  {
    osal_run_system();
    
    // hhh, 2018.11.15 watchDog
#ifdef WDT_IN_PM1    
    WD_KICK();
#endif

现在现象是:关闭宏(不启动看门狗),程序正常; 打开宏,则程序没有反应(应该是看门狗在不断重启)。

看门狗具体使用方法,和这个一样:

blog.csdn.net/.../70173240