当CPU进入休眠电源模式时,调试器不运行,因此调试器在深度睡眠时不应该是可操作的(至少不可靠地来自我自己的测试)。
你想检查的东西:
确保你正在清除WDT中断标志,允许一个新的中断从睡眠中唤醒该单元。
如果您使用的示例有WDT工作于从低功耗睡眠唤醒,那么它应该已经被配置为中断源。
如果您可以将项目的存档附加到设置中,我们可以查看它,看看是否意外中断了它。
一般来说,你需要处理中断,如果你处于低功耗模式,我相信你需要设置一个处理程序和TopDebug。CysCH组件来使用WDT中断从深度休眠唤醒设备。
以上来自于百度翻译
以下为原文
The debugger doesn't run when the CPU enters a sleep power mode, thus the debugger shouldn't be operable when you are doing deep sleep (at least not reliably from my own testing).
Things you would want to check:
Make sure you are clearing the WDT interrupt flag to allow a new interrupt to wake up the unit from sleep
If the example you are using has the WDT working for waking from low power sleep, then it should already be configured as the interrupt source.
If you can attach an archive of your project with the settings, we can take a look at it and see if you accidentally broke it
Generally you need to handle the interrupt, and if you are in a low power mode, I believe you will need to set a handler and topdesign.cysch component to wake up the device from deep sleep using WDT interrupts.
当CPU进入休眠电源模式时,调试器不运行,因此调试器在深度睡眠时不应该是可操作的(至少不可靠地来自我自己的测试)。
你想检查的东西:
确保你正在清除WDT中断标志,允许一个新的中断从睡眠中唤醒该单元。
如果您使用的示例有WDT工作于从低功耗睡眠唤醒,那么它应该已经被配置为中断源。
如果您可以将项目的存档附加到设置中,我们可以查看它,看看是否意外中断了它。
一般来说,你需要处理中断,如果你处于低功耗模式,我相信你需要设置一个处理程序和TopDebug。CysCH组件来使用WDT中断从深度休眠唤醒设备。
以上来自于百度翻译
以下为原文
The debugger doesn't run when the CPU enters a sleep power mode, thus the debugger shouldn't be operable when you are doing deep sleep (at least not reliably from my own testing).
Things you would want to check:
Make sure you are clearing the WDT interrupt flag to allow a new interrupt to wake up the unit from sleep
If the example you are using has the WDT working for waking from low power sleep, then it should already be configured as the interrupt source.
If you can attach an archive of your project with the settings, we can take a look at it and see if you accidentally broke it
Generally you need to handle the interrupt, and if you are in a low power mode, I believe you will need to set a handler and topdesign.cysch component to wake up the device from deep sleep using WDT interrupts.
举报