openocd中部分问题解决

安装openocd后,当执行openocd命令的时候,出现如下所示问题:

Open On-Chip Debugger 0.4.0 (2010-10-08-15:42)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
jtag_nsrst_delay: 20
jtag_ntrst_delay: 20
Info : J-Link initialization started / target CPU reset initiated
Info : J-Link ARM Lite V8 compiled Dec 16 2010 20:30:43
Info : JLink caps 0xb9ff7bbf
Info : JLink hw version 80000
Info : JLink max mem block 8496
Info : Vref = 3.293 TCK = 1 TDI = 0 TDO = 1 TMS = 0 SRST = 0 TRST = 0

Info : J-Link JTAG Interface ready
Error: jlink_usb_read_emu_result retried requested = 1, result=-110, in_length=1
Error: jlink_usb_read_emu_result failed (requested = 1, result=-110)
Error: jlink_tap_execute, wrong result -107 (expected 1)
Info : RCLK (adaptive clock speed)
Error: jlink_usb_read_emu_result retried requested = 1, result=-110, in_length=1
Error: jlink_usb_read_emu_result failed (requested = 1, result=-110)
Error: jlink_tap_execute, wrong result -107 (expected 1)
Error: jlink_usb_read_emu_result retried requested = 1, result=-110, in_length=1
Error: jlink_usb_read_emu_result failed (requested = 1, result=-110)
Error: jlink_tap_execute, wrong result -107 (expected 1)
Command handler execution failed
Warn : jtag initialization failed; try 'jtag init' again.

问题解决方法:

1、在windows中打开jlink gdb server,启动开发板电源,打开jlink command

2、在jlink command中执行命令exec invalidateFw

等待,会发现windows提示硬件安装成功。

重新回到虚拟机中ubuntu,连接jlink后,发现就可以用了。

成功提示如下:

Open On-Chip Debugger 0.4.0 (2011-05-09-05:39)
Licensed under GNU GPL v2
For bug reports, read
 http://openocd.berlios.de/doc/doxygen/bugs.html
jtag_nsrst_delay: 500
jtag_ntrst_delay: 500
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Info : J-Link initialization started / target CPU reset initiated
Info : J-Link ARM V8 compiled Dec  1 2009 11:42:48
Info : JLink caps 0xb9ff7bbf
Info : JLink hw version 80000
Info : JLink max mem block 9576
Info : Vref = 3.332 TCK = 1 TDI = 0 TDO = 1 TMS = 0 SRST = 0 TRST = 0

Info : J-Link JTAG Interface ready
Info : RCLK (adaptive clock speed)
Info : JTAG tap: s3c6410.etb tap/device found: 0x2b900f0f (mfg: 0x787, part: 0xb900, ver: 0x2)
Info : JTAG tap: s3c6410.cpu tap/device found: 0x07b76f0f (mfg: 0x787, part: 0x7b76, ver: 0x0)
Info : found ARM1176
Info : s3c6410.cpu: hardware has 6 breakpoints, 2 watchpoints
Warn : ETMv2+ support is incomplete
Info : ETM v3.2

你可能感兴趣的:(windows,command,ubuntu,interface,initialization,delay)