百韵网 >>  正文

The stack plug-in failed to set a breakpoint on "main". The Stack window will not be able to display 在IAR AVR中出现the stack plug-in f...

来源:www.baiyundou.net   日期:较早时间
意思是:断点设到了无效的代码空间。显然,这是IAR的判断。有时候不一定准确,如SCB_VTOR = 0x5000;这如果是程序员有意这样安排。而IAR又认为风险很大,IAR就会干预。

你用的是什么版本的?我看了4.12和5.11B都没有128A 另外STACK又分CSTACK和RSTACK,如果设为0,系统根本不可能工作如果像你说的设为0才能编译不报错,

需要进行如下配置:
1. iar->options->linker->output->format;
选择 Debug information for c-SPY选项

在IAR AVR中出现the stack plug-in failed to set a breakpoint on "main".是什么~

Project->Options->linker->output->format;
选择 Debug information for c-SPY选项

点工具栏TOOLS 然后点OPTIONs 再点STACK,去掉stack(第4个对号)的对号。再试试就OK了

相关要点总结:
(编辑:本站网友)
相关推荐
关于我们 | 客户服务 | 服务条款 | 联系我们 | 免责声明 | 网站地图
@ 百韵网