|
今天做好了实验板,JTAG MKII连接正常。但是发现个怪事,下载进去程序后,128自己就开始运行了。在CSPY里必须点STOP才可以停下来。停下来后出现下面的提示:
Tue Apr 04 09:50:26 2006: AVR JTAGICE mkII, H/W version: 0x0000, S/W version: 0x0407 0x0414, Device id: 158863423
Tue Apr 04 09:50:26 2006: JTAG clock (approx): 98 KHz, Target voltage: 5.58 V, CPU: AT90CAN128
Tue Apr 04 09:50:28 2006: Loaded debugee: D:\AVR-09CAN\程序\Debug\Exe\CAN-USART.d90
Tue Apr 04 09:50:29 2006: Target reset
Tue Apr 04 09:50:34 2006: The stack 'CStack' is filled to 100% (32 bytes used out of 32). The warning threshold is set to 90%.
Tue Apr 04 09:50:34 2006: The stack 'RStack' is filled to 100% (320 bytes used out of 320). The warning threshold is set to 90%.
Tue Apr 04 09:50:34 2006: Failed to read one or more register values (busy).
然后,不可以进行单步跟踪调试。可是原先程序都很正常!怎么到实验板上好象堆栈就不够了呢?
跟硬件设置、RESET、或熔丝是不是有关系?同一块MCU啊!没有改什么东西,只是焊到了实验板上就这样了。高人帮看看。谢谢 |
阿莫论坛20周年了!感谢大家的支持与爱护!!
知道什么是神吗?其实神本来也是人,只不过神做了人做不到的事情 所以才成了神。 (头文字D, 杜汶泽)
|