zoukankan      html  css  js  c++  java
  • 遇到了IAR烧写程序出错,附解决办法The stack plug-in failed to set a breakpoint on "main"

    今天做无线串口调试的时候用IAR7.51往CC2530无线模块烧程序的时候遇到了问题:

      先是下载过程中有许多警告,然后就是提示无法跳断点,找不到main方法,每次烧程序都出现:

        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.)的警告。程序能烧进去,只是不能调试。

    第一反应是模拟串口占用USB导致下载异常,因为代码绝对没有问题。

    拔下后还是一样的结果,随后又换了专业的仿真器数据线(以前一直用电源线代替) 还是不管用。

    附上解决办法: 

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

    太傻了。

  • 相关阅读:
    2019/1/2
    2018/12/22
    2018/12/18
    2018/12/17
    2018/12/16
    编程总结汇总
    学习总结汇总
    第十三周学习总结--助教
    第十一周编程总结
    第10周编程总结
  • 原文地址:https://www.cnblogs.com/liuxiaoke/p/3463600.html
Copyright © 2011-2022 走看看