关于 linux下 jlink与openocd的问题

joee33 2011-01-08 04:42:41
Open On-Chip Debugger 0.4.0 (2011-01-08-04:20)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
Command handler execution failed
Error: JTAG interface has to be specified, see "interface" command
Command handler execution failed


每次执行openocd后都会提示 JTAG interface has to be specified, see "interface" command
安装的libusb0.1.12

openocd.cfg 文件如下

# GDB can also flash my flash!
#gdb_memory_map enable
gdb_memory_map enable #我的insight不支持
#gdb_flash_program enable

gdb_breakpoint_override hard
#gdb_detach reset



#jtag_rclk 3000
jtag_speed 3000

#delays on reset lines
jtag_nsrst_delay 200
jtag_ntrst_delay 200

#use combined on interfaces or targets that can't set TRST/SRST separately
#reset_config trst_and_srst srst_pulls_trst
reset_config trst_and_srst

#hard reset the system to a reliable state
#jtag_reset srst
#sleep 500

source [find interface/jlink.cfg]
source [find target/at91sam7sx.cfg]
source [find board/mini2440.cfg]




开发板是mini2440 jlink是v8

请问问题出在哪儿阿 折腾一晚上了 求职求助阿
...全文
334 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
joee33 2011-01-08
  • 打赏
  • 举报
回复
顶啊 求大虾指点一二

21,597

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 驱动开发/核心开发
社区管理员
  • 驱动开发/核心开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧