打印
[AVR单片机]

关于AVR Studio 4仿真问题,请大家帮忙下。。。

[复制链接]
6825|5
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
痴人|  楼主 | 2008-6-5 13:25 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
最近在玩AVR的片子,发现了一个问题:
我有两块实验板,相同的程序,其中一块正常,另外一块可以下载程序,可以执行单步,但是一运行就程序跑飞,而且经常在仿真的过程中,不在受仿真软件的控制,板子自己就开始运行程序了,不知道大家有没有发生过类似的情况,高手指点下:

以下为软件提示的错误:


Loaded objectfile: 闯红灯抓拍.cof

JTAG ICE Warning: Reading the program counter, an invalid value (0x7FFFFFFF) was received from the device.

JTAG ICE Warning: A problem occured while executing this debug command! Please check the connections, the voltage, and the clock system of the target application!

Error reading memory  IO  Address:0  Size:64

Error reading memory  REGISTERS  Address:0  Size:32

相关帖子

沙发
痴人|  楼主 | 2008-6-5 13:31 | 只看该作者

补充下。。。

JTAG口的设计,在PCB方面有什么样的要求?
比如说:线宽?和芯片的距离?上拉电阻的大小?

使用特权

评论回复
板凳
痴人|  楼主 | 2008-6-6 09:01 | 只看该作者

谢谢关注过这个帖子的兄弟。。。

问题已经找到,已经找到问题了,是供电电流不组的问题。。。

使用特权

评论回复
地板
XZL| | 2011-5-9 14:28 | 只看该作者
JTAG ICE: WARNING: Current setting for reprogramming device at object file load is 'Reprogram only if time of build of object file has changed'.
JTAG ICE: WARNING: The time of build of the object file has not changed. Device will not be reprogrammed.
Loaded objectfile: E:\default\DEMO.elf
JTAG ICE: Warning: Reading the program counter, an invalid value (0xFFFE) was received Error reading programcounter
Error reading memory : IO  Address:0  Size:64
Error reading memory : REGISTERS  Address:0  Size:32
JTAG ICE: A problem occured while restoring fuse and lockbits of device at end of debug session.
Loaded objectfile: E:\default\DEMO.elf
JTAG ICE: WARNING: Current setting for reprogramming device at object file load is 'Reprogram only if time of build of object file has changed'.
JTAG ICE: WARNING: The time of build of the object file has not changed. Device will not be reprogrammed.

使用特权

评论回复
5
XZL| | 2011-5-9 14:29 | 只看该作者
我只带一个IC就这样

使用特权

评论回复
6
a361335810| | 2013-12-2 12:12 | 只看该作者
怎么解决的啊??我也遇到了啊!!

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

29

主题

189

帖子

0

粉丝