openjtag 使用出问题了求教
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 的问题还是开发板的问题。