IAR调试cc2540 时 出现The stack plug-in failed to set a breakpoint on "main". 解决方法

来源:互联网 发布:linux oracle 编辑:程序博客网 时间:2024/05/17 04:32

摘取自   http://bbs.csdn.net/topics/390393118

IAR调试cc2540 时   出现The stack plug-in failed to set a breakpoint on "main". The Stack window will not be able to display stack contents. (You can change this setting in the Tool>Options dialog box.)的警告,程序能烧进去,但不能调试。

 
需要进行如下配置:
 1. iar->options->linker->output->format;    选择 Debug information for c-SPY选项
 2. iar->Tools->options->stack->去掉选项“stack pointer(s) not valid until program reaches”

 问题就解决了!本人亲自尝试过,和大家分享下!




0 0
原创粉丝点击