用CCS软件下载调试MSP-EXPFR5994开发板,按了Debug后出现下面的提示:
EEM module not accessible while running in Ultra Low Power Debug Mode - Deactivate Ultra Low Power Debug mode to enable this feature
然后就无法设置断点调试,请问该如何解决?
谢谢!
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.
用CCS软件下载调试MSP-EXPFR5994开发板,按了Debug后出现下面的提示:
EEM module not accessible while running in Ultra Low Power Debug Mode - Deactivate Ultra Low Power Debug mode to enable this feature
然后就无法设置断点调试,请问该如何解决?
谢谢!
无论我把其中的“Enable ultra low power debug”功能勾上或去掉
您需要取消掉该勾选。如果启用该选项时目标正在运行,则不允许您设置断点。但是如果目标暂停(停止),则可以设置断点。
如果您的系统需要进入 LPM3.5 或 LPM4.5 然后稍后唤醒,LPMx.5 调试非常有用。在这两种状态( LPM3.5 或 LPM4.5 )下,CPU 的时钟和电源被关闭。既然CPU没电了,怎么调试CPU呢?这就是该选项想要解决的问题。
我现在把其他程序都注释掉,只保留
int main(void)
{
WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer
unsigned int i = 0;
while(1)
{i++;}
}
结果还是不行,会不会是单片机坏了?但是奇怪的是前面的下载过程似乎是正常的。