主题 : eclipse + openOCD + openJTAG 调试mini2440 无法进入调试模式 复制链接 | 浏览器收藏 | 打印
小童鞋我今年32,开始学ARM,还请大家多多关照.有经验的多指导,没经验的也多捧场.谢谢.
级别: 新手上路
UID: 22161
精华: 0
发帖: 21
金钱: 105 两
威望: 21 点
贡献值: 0 点
综合积分: 42 分
注册时间: 2010-05-27
最后登录: 2011-07-04
楼主  发表于: 2010-05-30 15:11

 eclipse + openOCD + openJTAG 调试mini2440 无法进入调试模式

各位,
      我的系统如下:
eclipse + openOCD + openJTAG
在命令行下面,我能用openOCD下载leds程序,并且调试成功了.后来,我就配置eclips来进行图形话调试.
我安装openJTG附带的小光盘的教程配置了系统.
但是eclipse始终 无法进入调试视图.
第一步,启动openOCD成功:
Open On-Chip Debugger (2008-06-19 19:00) svn: 717
URL: http://svn.berlios.de/svnroot/repos/openocd/trunk
Info:    options.c:50 configuration_output_handler(): jtag_speed: 0, 0
Info:    options.c:50 configuration_output_handler(): Open On-Chip Debugger (2008-06-19 19:00) svn: 717
Info:    options.c:50 configuration_output_handler(): fast memory access is enabled
Info:    jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x0032409d (Manufacturer: 0x04e, Part: 0x0324, Version: 0x0)
Warning: arm7_9_common.c:700 arm7_9_poll(): DBGACK set while target was in unknown state. Reset or initialize target.
第二步,启动debug. 信息如下:
target remote localhost:3333
warning: while parsing target memory map (at line 2): Required element <memory> is missing
0x000003c0 in ?? ()
load
Loading section .text, size 0xbc lma 0x0
Start address 0x0, load size 188
Transfer rate: 1504 bits in <1 sec, 188 bytes/write.
break main
Breakpoint 1 at 0x5c
continue
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x5c: (undocumented errno -1).

No symbol table is loaded.  Use the "file" command.
请问,我下一步该怎么办,mini2440入手一个星期了,却无法展开工作.请各位帮忙.
谢谢.
老小子学ARM。
自由,自强,共享,共创。
级别: 论坛版主
UID: 12573
精华: 27
发帖: 8838
金钱: 46490 两
威望: 9298 点
贡献值: 27 点
综合积分: 18216 分
注册时间: 2010-01-09
最后登录: 2019-07-16
1楼  发表于: 2010-06-03 11:46
我们基本没有使用过单步调试,对此就不了解了。
新手如何向我们反馈有效的信息,以便解决问题,见此贴:
http://www.arm9home.net/read.php?tid-14431.html

[注]: 此处签名链接仅为指引方向,而非解答问题本身.