openjtag 使用出问题了求教

xianjian_x 2013-07-22 05:18:09
openjtag 用的是百问网上的。
开发板是友善之臂的mini2440

今天在用openjtag 链接开发板的时候执行
openocd -f /etc/openocd/interface/openjtag.cfg -f /etc/openocd/target/samsung_s3c2440.cfg

提示
fast memory access is enabled
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Info : clock speed 6000 kHz
Info : JTAG tap: s3c2440.cpu tap/device found: 0x0032409d (mfg: 0x04e, part: 0x0324, ver: 0x0)
Info : Embedded ICE version 15
Error: unknown EmbeddedICE version (comms ctrl: 0xfffffffe)
Info : s3c2440.cpu: hardware has 2 breakpoint/watchpoint units


用telnet localhost 4444,可以链接上。
但是执行halt,则提示
Halt timed out, wake up GDB.
timed out while waiting for target halted
Command handler execution failed
in procedure 'halt'
invalid mode value encountered 30


另外在arm-linux-gdb 调试提示:
Unable to set 32 bit software breakpoint at address 00000044 - check that memory is read/writable
Unable to set 32 bit software breakpoint at address 0000004c - check that memory is read/writable


求教各位路过的高手看下出现这种问题究竟是怎么回事。。
究竟是jtag 的问题还是开发板的问题。




...全文
411 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
baidu_21735979 2014-10-08
  • 打赏
  • 举报
回复
想问一下楼主fast memory access is enabled这个问题是怎么解决的???十分感谢
xianjian_x 2014-08-03
  • 打赏
  • 举报
回复
引用 2 楼 u010296437 的回复:
请问楼主是如何解决的呢?
Error: unknown EmbeddedICE version (comms ctrl: 0xfffffffe) 这个是因为 连接线出问题了, 我的openjtag线比较老了。 Unable to set 32 bit software breakpoint at address 00000044 - check that memory is read/writable 是因为 memory没有初始化 在调试目标文件之前加载一个初始化内存文件就行了~
Ubuntu_Xxt 2013-08-04
  • 打赏
  • 举报
回复
请问楼主是如何解决的呢?
xianjian_x 2013-07-29
  • 打赏
  • 举报
回复
找到问题了,结帖。。

21,595

社区成员

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

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