|
![](static/image/common/ico_lz.png)
楼主 |
发表于 2014-3-3 20:37:38
|
显示全部楼层
本帖最后由 Joinj 于 2014-3-3 21:28 编辑
谢谢!
我在IAR下使用调试器时出现BUG,刚开始几次DEBUG还是正常的,后来就出现这个提示:
Mon Mar 03, 2014 20:20:12: Failed to read one or more register values (busy).
就再也不能用了,拔掉调试器 关掉IAR重新试都不得···
过一段时间,然后莫名其妙的又能用几次···然后就又只能当下载器用了···
是IAR编译器设置的问题么?
在一次DEBUG中出现:
Mon Mar 03, 2014 21:00:07: The stack pointer for stack 'CStack' (currently DATA:0x000000) is outside the stack range (DATA:0x000100 to DATA:0x000140)
Mon Mar 03, 2014 21:00:07: The stack pointer for stack 'RStack' (currently DATA:0x000000) is outside the stack range (DATA:0x000140 to DATA:0x000180)
之后就不能用了···好像是堆栈溢出?
我把CSTACK、RSTACK 调大一倍再试也还不行。
发现用LGTMix_ISP下载一次后程序正常运行,然后再掉电一次, 就可以恢复正常了···但这样有点麻烦··· |
|