遇到了IAR烧写程序出错,附解决办法The stack plug-in failed to set a breakpoint on "main"
2013-12-08 10:13
756 查看
今天做无线串口调试的时候用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选项
太傻了。
先是下载过程中有许多警告,然后就是提示无法跳断点,找不到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选项
太傻了。
相关文章推荐
- IAR调试cc2540 时 出现The stack plug-in failed to set a breakpoint on "main". 解决方法
- IAR调试出现the stack plug-in failed to set a breakpoint on "main"
- 在IAR 中出现the stack plug-in failed to set a breakpoint on "main"
- Set "$USE_DEPRECATED_NDK=true" in gradle.properties to continue using the current NDK integration. 解决办法
- The stack plug-in failed to set问题
- [Nutch]问题解决:Exception in thread "main" java.io.IOException: Failed to set permissions of path
- Failed to set the 'value' property on 'HTMLInputElement': This input element解决办法
- The stack plug-in failed to set问题
- 打开Eclipse时出现"Failed to create the Java Virtual Machine"解决办法
- Yii “CDbConnection failed to open the DB connection: could not find driver"解决办法
- eclipse启动时弹出"Failed to create the Java Virtual Machine"解决办法
- rsync: failed to set times on "/." (in ftp): Operation not permitted (1)
- Error for wireless request "Set AP Address" (8B14) : SET failed on device wlan0 错误解决办法
- modelsim10.4仿真错误Error: (vlog-7) Failed to open design unit file "XXXXX" in read mode解决办法
- Yii “CDbConnection failed to open the DB connection: could not find driver"解决办法
- 如何解决Linux下Qt Creator调试C/C++程序出现Debugging starts &"warning: GDB: Failed to set controlling terminal警告
- IAR的STlink下载出现 Failed to set configuration with MCU name STM8S207MB: SWIM error [30006]:解决办法
- Exception in thread "main" java.io.IOException: Failed to set permissions of path
- ios在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"解决办法(转)
- "Failed to connect to the session manager"解决办法