主题 : 256m nand start.s搬运代码到sdram后,检查4k匹配的时候死循环.竟然不一样(axd调式时发现的)? 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 60442
精华: 0
发帖: 12
金钱: 60 两
威望: 12 点
贡献值: 0 点
综合积分: 24 分
注册时间: 2011-12-10
最后登录: 2012-03-24
楼主  发表于: 2011-12-13 22:33

 256m nand start.s搬运代码到sdram后,检查4k匹配的时候死循环.竟然不一样(axd调式时发现的)?

搬运代码到sdram后,检查4k匹配的时候死循环.竟然不一样(axd调式时发现的)?哪位大哥知道怎么回事?
多谢先。。。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2011-12-14 08:01
如果不匹配的地方就是加断点的地方,那恐怕是因为AXD因为软件断点在那里加了非法指令造成的
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2011-12-14 12:16

 回 2楼(k___w) 的帖子

如果不匹配的地方就是加断点的地方
[ 此帖被kasim在2011-12-14 13:00重新编辑 ]
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2011-12-22 11:34

 回 6楼(k___w) 的帖子

强制停止调试,然后看call stack
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."