• «
  • 1
  • 2
  • »
  • Pages: 2/2     Go
主题 : 用gdb+openocd加并口小板调试qq2440 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 15154
精华: 0
发帖: 14
金钱: 70 两
威望: 14 点
贡献值: 0 点
综合积分: 28 分
注册时间: 2010-03-01
最后登录: 2018-02-08
10楼  发表于: 2011-08-03 22:30
求助个问题

用gdb调试时候在 load 和 file 命令之后
b main 加号断点后
continue命令提示报错:
Error accessing memory address 0x4c: Unknown error 4294967295.
0x4c是我用的测试程序的main地址
级别: 新手上路
UID: 6861
精华: 0
发帖: 12
金钱: 85 两
威望: 26 点
贡献值: 0 点
综合积分: 24 分
注册时间: 2009-06-20
最后登录: 2018-02-08
11楼  发表于: 2011-11-19 12:58
同样的配置文件,我在micro240却找不到jtag小板??
C:\projects>openocd-ftd2xx
Open On-Chip Debugger (2008-03-22 12:00 CET) svn: r520
URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/
Error:   jtag.c:1548 handle_interface_command(): No valid jtag interface found (
parport)
Error:   jtag.c:1549 handle_interface_command(): compiled-in jtag interfaces:
Error:   jtag.c:1552 handle_interface_command(): 0: ft2232
Info:    options.c:50 configuration_output_handler(): Command parport_port not f
ound
Info:    options.c:50 configuration_output_handler(): Command parport_cable not
found
Info:    options.c:50 configuration_output_handler(): Command source not found
Info:    options.c:50 configuration_output_handler(): Command $_TARGETNAME not f
ound
Info:    options.c:50 configuration_output_handler(): Command mww not found
Info:    options.c:50 configuration_output_handler(): Command mww not found
Info:    options.c:50 configuration_output_handler(): Command mww not found
Info:    options.c:50 configuration_output_handler(): Command mww not found
Info:    options.c:50 configuration_output_handler(): Command mww not found
Info:    options.c:50 configuration_output_handler(): Command mww not found
Info:    options.c:50 configuration_output_handler(): Command mww not found
Info:    options.c:50 configuration_output_handler(): Command mww not found
Info:    options.c:50 configuration_output_handler(): Command mww not found
Info:    options.c:50 configuration_output_handler(): Command mww not found
Info:    options.c:50 configuration_output_handler(): Command mww not found
Info:    options.c:50 configuration_output_handler(): Command mww not found
Info:    options.c:50 configuration_output_handler(): Command mww not found
Info:    options.c:50 configuration_output_handler(): Command } not found
Error:   jtag.c:1450 jtag_interface_init(): JTAG interface has to be specified,
see "interface" command
  • «
  • 1
  • 2
  • »
  • Pages: 2/2     Go