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.

求救!!!28335 特定条件触发了看门狗复位!!!



遇到一个奇怪的事情,在程序的某种特定条件下会触发看门狗复位,更神奇的是,任意的增加几行代码又不不会出现复位!感觉像是哪个地方有溢出。后来直接在会复位的代码上,不删减增加代码,而是只改SysCtrlRegs.WDCR = 0x002D; 改为SysCtrlRegs.WDCR = 0x0068;即把看门狗清除,这样的话就不会出现了!