OpenOCD and J-Link problem

Hallo everybody.

I need help to start using J-link with OpenOCD.

log:

[root@coruscant voyt]# /opt/bin/openocd --file /opt/lib/openocd/interface/jlink.cfg --file /opt/lib/openocd/target/at91sam9260.cfg
Open On-Chip Debugger 1.0 (2008-07-03-14:14) svn:738
$URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
Info:    options.c:50 configuration_output_handler(): jtag_speed: 8000, 8000
Info:    jlink.c:525 jlink_get_version_info(): J-Link compiled Jun 28 2007 10:45:08 ARM Rev.5
Info:    jlink.c:493 jlink_get_status(): Vref = 3.229 TCK = 1 TDI = 0 TDO = 0 TMS = 0 SRST = 1 TRST = 1

Info:    jlink.c:314 jlink_init(): J-Link JTAG Interface ready
Info:    jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x0792603f (Manufacturer: 0x01f, Part: 0x7926, Version: 0x0)
Warning: telnet_server.c:624 telnet_init(): no telnet port specified, using default port 4444
Warning: gdb_server.c:2021 gdb_init(): no gdb port specified, using default port 3333
Info:    server.c:78 add_connection(): accepting 'gdb' connection from 0
Warning: gdb_server.c:416 gdb_get_packet_inner(): acknowledgment received, but no packet pending
Error:   flash.c:219 get_flash_bank_by_num(): auto_probe failed -304

Warning: arm7_9_common.c:1834 arm7_9_read_memory(): target not halted
Warning: arm7_9_common.c:1834 arm7_9_read_memory(): target not halted
Error:   jlink.c:836 jlink_usb_message(): usb_bulk_read failed (requested=318, result=-1)
Error:   jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 318
Error:   jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=682, result=-1)
Error:   jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 339
Error:   jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=710, result=-1)
Error:   jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 353
Error:   jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=738, result=-1)
Error:   jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 367
Error:   jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=766, result=-1)
Error:   jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 381
Error:   jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=794, result=-1)
Error:   jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 395
Error:   jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=822, result=-1)
Error:   jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 409
Error:   jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=850, result=-1)
Error:   jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 423
Error:   jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=878, result=-1)
Error:   jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 437
Error:   jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=906, result=-1)
Error:   jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 451
Error:   jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=934, result=-1)
Segmentation fault

All configs are default, i.e not changed.

You need to slow the jtag clock speed down.

make sure this is no more than 1/6th of the cpu core.

add the following to your target config - at91sam9260.cfg

# set jtag for 500kHz
jtag_khz 500

speed this up when you are happy with debugging.

you can also use adaptive clocking with the jlink.

jtag_khz 0

The scripts need double checking as a lot of them do not set the jtag speed.

If you still get problem enable logging, eg.

openocd -d3 -l openocd.log

Cheers

Spen

Hallo, ntfreak.

Thank you for answer.

I tried to use your advice, but I’ve got the same result.

[voyt@coruscant ~]$ cat openocd_500KHz.log
Debug:   10 0 command.c:438 command_run_line_internal_op(): script /opt/lib/openocd/interface/jlink.cfg
Debug:   12 0 command.c:438 command_run_line_internal_op(): script /opt/lib/openocd/interface/jlink.cfg
Debug:   13 0 configuration.c:85 find_file(): found /opt/lib/openocd/interface/jlink.cfg
Debug:   15 0 command.c:438 command_run_line_internal_op(): interface jlink
Debug:   17 0 command.c:438 command_run_line_internal_op(): interface jlink
Debug:   19 0 command.c:438 command_run_line_internal_op(): jtag_khz 500
Debug:   21 0 command.c:438 command_run_line_internal_op(): jtag_khz 500
Debug:   22 0 jtag.c:1886 handle_jtag_khz_command(): handle jtag khz
Info:    23 1 options.c:50 configuration_output_handler(): jtag_khz: 500, 500
Debug:   25 1 command.c:438 command_run_line_internal_op(): reset_config trst_and_srst
Debug:   27 1 command.c:438 command_run_line_internal_op(): reset_config trst_and_srst
Debug:   29 1 command.c:438 command_run_line_internal_op(): script /opt/lib/openocd/target/at91sam9260.cfg
Debug:   31 1 command.c:438 command_run_line_internal_op(): script /opt/lib/openocd/target/at91sam9260.cfg
Debug:   32 1 configuration.c:85 find_file(): found /opt/lib/openocd/target/at91sam9260.cfg
Debug:   34 1 command.c:438 command_run_line_internal_op(): reset_config trst_and_srst
Debug:   36 1 command.c:438 command_run_line_internal_op(): reset_config trst_and_srst
Debug:   38 1 command.c:438 command_run_line_internal_op(): jtag_device 4 0x1 0xf 0xe
Debug:   40 1 command.c:438 command_run_line_internal_op(): jtag_device 4 0x1 0xf 0xe
Debug:   42 1 command.c:438 command_run_line_internal_op(): jtag_nsrst_delay 200
Debug:   44 1 command.c:438 command_run_line_internal_op(): jtag_nsrst_delay 200
Debug:   46 1 command.c:438 command_run_line_internal_op(): jtag_ntrst_delay 0
Debug:   48 1 command.c:438 command_run_line_internal_op(): jtag_ntrst_delay 0
Debug:   50 1 command.c:438 command_run_line_internal_op(): target arm926ejs little reset_init 0 arm926ejs
Debug:   52 1 command.c:438 command_run_line_internal_op(): target arm926ejs little reset_init 0 arm926ejs
Debug:   53 1 arm926ejs.c:733 arm926ejs_target_command(): chain_pos: 0, variant: arm926ejs
Debug:   55 1 command.c:438 command_run_line_internal_op(): target_script 0 reset event/at91sam9260_reset.script
Debug:   57 1 command.c:438 command_run_line_internal_op(): target_script 0 reset event/at91sam9260_reset.script
Debug:   59 1 command.c:438 command_run_line_internal_op(): run_and_halt_time 0 30
Debug:   61 1 command.c:438 command_run_line_internal_op(): run_and_halt_time 0 30
Debug:   63 1 command.c:438 command_run_line_internal_op(): working_area 0 0x00300000 0x1000 backup
Debug:   65 1 command.c:438 command_run_line_internal_op(): working_area 0 0x00300000 0x1000 backup
Debug:   67 1 command.c:438 command_run_line_internal_op(): flash bank cfi 0x10000000 0x01000000 2 2 0
Debug:   69 1 command.c:438 command_run_line_internal_op(): flash bank cfi 0x10000000 0x01000000 2 2 0
Debug:   71 1 command.c:438 command_run_line_internal_op(): init
Debug:   73 1 command.c:438 command_run_line_internal_op(): init
Debug:   74 1 openocd.c:102 handle_init_command(): target init complete
Info:    75 244 jlink.c:525 jlink_get_version_info(): J-Link compiled Jun 28 2007 10:45:08 ARM Rev.5
Info:    76 246 jlink.c:493 jlink_get_status(): Vref = 3.229 TCK = 1 TDI = 0 TDO = 0 TMS = 0 SRST = 1 TRST = 1

Info:    77 246 jlink.c:314 jlink_init(): J-Link JTAG Interface ready
Debug:   78 246 jlink.c:443 jlink_reset(): trst: 0, srst: 0
Debug:   79 248 openocd.c:109 handle_init_command(): jtag interface init complete
Debug:   80 248 jtag.c:1537 jtag_init_inner(): Init JTAG chain
Debug:   81 248 jtag.c:326 jtag_call_event_callbacks(): jtag event: JTAG controller reset (TLR or TRST)
Debug:   82 248 jtag.c:1295 jtag_reset_callback(): -
Debug:   83 251 jtag.c:326 jtag_call_event_callbacks(): jtag event: JTAG controller reset (TLR or TRST)
Debug:   84 251 jtag.c:1295 jtag_reset_callback(): -
Info:    85 286 jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x0792603f (Manufacturer: 0x01f, Part: 0x7926, Version: 0x0)
Debug:   86 286 jtag.c:326 jtag_call_event_callbacks(): jtag event: JTAG controller reset (TLR or TRST)
Debug:   87 286 jtag.c:1295 jtag_reset_callback(): -
Debug:   88 289 openocd.c:116 handle_init_command(): jtag init complete
Debug:   89 307 embeddedice.c:397 embeddedice_write_reg(): 0: 0x00000000
Debug:   90 312 openocd.c:119 handle_init_command(): jtag examine complete
Debug:   91 312 openocd.c:126 handle_init_command(): flash init complete
Debug:   92 312 openocd.c:130 handle_init_command(): NAND init complete
Debug:   93 312 openocd.c:134 handle_init_command(): pld init complete
Warning: 94 312 telnet_server.c:624 telnet_init(): no telnet port specified, using default port 4444
Warning: 95 312 gdb_server.c:2021 gdb_init(): no gdb port specified, using default port 3333
Debug:   96 312 gdb_server.c:2036 gdb_init(): gdb service for target arm926ejs at port 3333
Info:    97 16094 server.c:78 add_connection(): accepting 'gdb' connection from 0
Debug:   98 16095 arm7_9_common.c:965 arm7_9_halt(): target->state: running
Debug:   99 16095 embeddedice.c:397 embeddedice_write_reg(): 0: 0x00000002
Debug:   100 16095 gdb_server.c:1878 gdb_input_inner(): received packet: 'qSupported'
Warning: 101 16095 gdb_server.c:416 gdb_get_packet_inner(): acknowledgment received, but no packet pending
Debug:   102 16095 gdb_server.c:1878 gdb_input_inner(): received packet: 'Hc-1'
Debug:   103 16095 gdb_server.c:1878 gdb_input_inner(): received packet: 'qC'
Debug:   104 16095 gdb_server.c:1878 gdb_input_inner(): received packet: 'qOffsets'
Debug:   105 16095 gdb_server.c:1878 gdb_input_inner(): received packet: '?'
Debug:   106 16095 gdb_server.c:1878 gdb_input_inner(): received packet: 'Hg0'
Debug:   107 16095 gdb_server.c:1878 gdb_input_inner(): received packet: 'pf'
Debug:   108 16095 gdb_server.c:1878 gdb_input_inner(): received packet: 'qXfer:memory-map:read::0,fff'
Error:   109 16095 flash.c:219 get_flash_bank_by_num(): auto_probe failed -304

Debug:   110 16095 gdb_server.c:1878 gdb_input_inner(): received packet: 'm0,4'
Debug:   111 16095 gdb_server.c:1063 gdb_read_memory_packet(): addr: 0x00000000, len: 0x00000004
Debug:   112 16095 target.c:1062 target_read_buffer(): reading buffer of 4 byte at 0x00000000
Debug:   113 16095 arm7_9_common.c:1830 arm7_9_read_memory(): address: 0x00000000, size: 0x00000004, count: 0x00000001
Warning: 114 16095 arm7_9_common.c:1834 arm7_9_read_memory(): target not halted
Debug:   115 16095 gdb_server.c:1878 gdb_input_inner(): received packet: 'm0,4'
Debug:   116 16095 gdb_server.c:1063 gdb_read_memory_packet(): addr: 0x00000000, len: 0x00000004
Debug:   117 16095 target.c:1062 target_read_buffer(): reading buffer of 4 byte at 0x00000000
Debug:   118 16095 arm7_9_common.c:1830 arm7_9_read_memory(): address: 0x00000000, size: 0x00000004, count: 0x00000001
Warning: 119 16095 arm7_9_common.c:1834 arm7_9_read_memory(): target not halted
Debug:   120 16207 embeddedice.c:397 embeddedice_write_reg(): 0: 0x00000005
Debug:   121 16207 embeddedice.c:397 embeddedice_write_reg(): 0: 0x00000005
Debug:   122 16222 arm926ejs.c:329 arm926ejs_examine_debug_reason(): internal debug request
Debug:   123 16222 arm7_9_common.c:1079 arm7_9_debug_entry(): target entered debug from ARM state
Error:   124 16323 jlink.c:836 jlink_usb_message(): usb_bulk_read failed (requested=318, result=-1)
Error:   125 16323 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 318
Error:   126 16433 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=682, result=-1)
Error:   127 16433 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 339
Error:   128 16543 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=710, result=-1)
Error:   129 16543 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 353
Error:   130 16653 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=738, result=-1)
Error:   131 16653 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 367
Error:   132 16763 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=766, result=-1)
Error:   133 16763 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 381
Error:   134 16873 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=794, result=-1)
Error:   135 16873 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 395
Error:   136 16983 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=822, result=-1)
Error:   137 16983 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 409
Error:   138 17093 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=850, result=-1)
Error:   139 17093 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 423
Error:   140 17203 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=878, result=-1)
Error:   141 17203 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 437
Error:   142 17313 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=906, result=-1)
Error:   143 17313 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 451
Error:   144 17423 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=934, result=-1)
Error:   145 17423 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 465
Error:   146 17533 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=962, result=-1)
Error:   147 17533 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 479
Error:   148 17643 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=990, result=-1)
Error:   149 17643 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 493
Error:   150 17753 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=1018, result=-1)
Error:   151 17753 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 507
Error:   152 17863 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=1046, result=-1)
Error:   153 17863 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 521
Error:   154 17973 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=1074, result=-1)
[voyt@coruscant ~]$ cat openocd_0KHz.log
Debug:   10 0 command.c:438 command_run_line_internal_op(): script /opt/lib/openocd/interface/jlink.cfg
Debug:   12 0 command.c:438 command_run_line_internal_op(): script /opt/lib/openocd/interface/jlink.cfg
Debug:   13 0 configuration.c:85 find_file(): found /opt/lib/openocd/interface/jlink.cfg
Debug:   15 0 command.c:438 command_run_line_internal_op(): interface jlink
Debug:   17 0 command.c:438 command_run_line_internal_op(): interface jlink
Debug:   19 0 command.c:438 command_run_line_internal_op(): jtag_khz 0
Debug:   21 0 command.c:438 command_run_line_internal_op(): jtag_khz 0
Debug:   22 0 jtag.c:1886 handle_jtag_khz_command(): handle jtag khz
Info:    23 0 options.c:50 configuration_output_handler(): jtag_khz: 0, 0
Debug:   25 0 command.c:438 command_run_line_internal_op(): reset_config trst_and_srst
Debug:   27 0 command.c:438 command_run_line_internal_op(): reset_config trst_and_srst
Debug:   29 0 command.c:438 command_run_line_internal_op(): script /opt/lib/openocd/target/at91sam9260.cfg
Debug:   31 0 command.c:438 command_run_line_internal_op(): script /opt/lib/openocd/target/at91sam9260.cfg
Debug:   32 0 configuration.c:85 find_file(): found /opt/lib/openocd/target/at91sam9260.cfg
Debug:   34 0 command.c:438 command_run_line_internal_op(): reset_config trst_and_srst
Debug:   36 0 command.c:438 command_run_line_internal_op(): reset_config trst_and_srst
Debug:   38 1 command.c:438 command_run_line_internal_op(): jtag_device 4 0x1 0xf 0xe
Debug:   40 1 command.c:438 command_run_line_internal_op(): jtag_device 4 0x1 0xf 0xe
Debug:   42 1 command.c:438 command_run_line_internal_op(): jtag_nsrst_delay 200
Debug:   44 1 command.c:438 command_run_line_internal_op(): jtag_nsrst_delay 200
Debug:   46 1 command.c:438 command_run_line_internal_op(): jtag_ntrst_delay 0
Debug:   48 1 command.c:438 command_run_line_internal_op(): jtag_ntrst_delay 0
Debug:   50 1 command.c:438 command_run_line_internal_op(): target arm926ejs little reset_init 0 arm926ejs
Debug:   52 1 command.c:438 command_run_line_internal_op(): target arm926ejs little reset_init 0 arm926ejs
Debug:   53 1 arm926ejs.c:733 arm926ejs_target_command(): chain_pos: 0, variant: arm926ejs
Debug:   55 1 command.c:438 command_run_line_internal_op(): target_script 0 reset event/at91sam9260_reset.script
Debug:   57 1 command.c:438 command_run_line_internal_op(): target_script 0 reset event/at91sam9260_reset.script
Debug:   59 1 command.c:438 command_run_line_internal_op(): run_and_halt_time 0 30
Debug:   61 1 command.c:438 command_run_line_internal_op(): run_and_halt_time 0 30
Debug:   63 1 command.c:438 command_run_line_internal_op(): working_area 0 0x00300000 0x1000 backup
Debug:   65 1 command.c:438 command_run_line_internal_op(): working_area 0 0x00300000 0x1000 backup
Debug:   67 1 command.c:438 command_run_line_internal_op(): flash bank cfi 0x10000000 0x01000000 2 2 0
Debug:   69 1 command.c:438 command_run_line_internal_op(): flash bank cfi 0x10000000 0x01000000 2 2 0
Debug:   71 1 command.c:438 command_run_line_internal_op(): init
Debug:   73 1 command.c:438 command_run_line_internal_op(): init
Debug:   74 1 openocd.c:102 handle_init_command(): target init complete
Info:    75 244 jlink.c:525 jlink_get_version_info(): J-Link compiled Jun 28 2007 10:45:08 ARM Rev.5
Info:    76 245 jlink.c:493 jlink_get_status(): Vref = 3.229 TCK = 1 TDI = 0 TDO = 0 TMS = 0 SRST = 1 TRST = 1

Info:    77 245 jlink.c:314 jlink_init(): J-Link JTAG Interface ready
Debug:   78 245 jlink.c:443 jlink_reset(): trst: 0, srst: 0
Debug:   79 248 openocd.c:109 handle_init_command(): jtag interface init complete
Debug:   80 248 jtag.c:1537 jtag_init_inner(): Init JTAG chain
Debug:   81 248 jtag.c:326 jtag_call_event_callbacks(): jtag event: JTAG controller reset (TLR or TRST)
Debug:   82 248 jtag.c:1295 jtag_reset_callback(): -
Debug:   83 251 jtag.c:326 jtag_call_event_callbacks(): jtag event: JTAG controller reset (TLR or TRST)
Debug:   84 251 jtag.c:1295 jtag_reset_callback(): -
Info:    85 287 jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x0792603f (Manufacturer: 0x01f, Part: 0x7926, Version: 0x0)
Debug:   86 287 jtag.c:326 jtag_call_event_callbacks(): jtag event: JTAG controller reset (TLR or TRST)
Debug:   87 287 jtag.c:1295 jtag_reset_callback(): -
Debug:   88 290 openocd.c:116 handle_init_command(): jtag init complete
Debug:   89 308 embeddedice.c:397 embeddedice_write_reg(): 0: 0x00000000
Debug:   90 313 openocd.c:119 handle_init_command(): jtag examine complete
Debug:   91 313 openocd.c:126 handle_init_command(): flash init complete
Debug:   92 313 openocd.c:130 handle_init_command(): NAND init complete
Debug:   93 313 openocd.c:134 handle_init_command(): pld init complete
Warning: 94 313 telnet_server.c:624 telnet_init(): no telnet port specified, using default port 4444
Warning: 95 313 gdb_server.c:2021 gdb_init(): no gdb port specified, using default port 3333
Debug:   96 314 gdb_server.c:2036 gdb_init(): gdb service for target arm926ejs at port 3333
Info:    97 19568 server.c:78 add_connection(): accepting 'gdb' connection from 0
Debug:   98 19568 arm7_9_common.c:965 arm7_9_halt(): target->state: running
Debug:   99 19568 embeddedice.c:397 embeddedice_write_reg(): 0: 0x00000002
Debug:   100 19568 gdb_server.c:1878 gdb_input_inner(): received packet: 'qSupported'
Warning: 101 19568 gdb_server.c:416 gdb_get_packet_inner(): acknowledgment received, but no packet pending
Debug:   102 19568 gdb_server.c:1878 gdb_input_inner(): received packet: 'Hc-1'
Debug:   103 19569 gdb_server.c:1878 gdb_input_inner(): received packet: 'qC'
Debug:   104 19569 gdb_server.c:1878 gdb_input_inner(): received packet: 'qOffsets'
Debug:   105 19569 gdb_server.c:1878 gdb_input_inner(): received packet: '?'
Debug:   106 19569 gdb_server.c:1878 gdb_input_inner(): received packet: 'Hg0'
Debug:   107 19569 gdb_server.c:1878 gdb_input_inner(): received packet: 'pf'
Debug:   108 19569 gdb_server.c:1878 gdb_input_inner(): received packet: 'qXfer:memory-map:read::0,fff'
Error:   109 19569 flash.c:219 get_flash_bank_by_num(): auto_probe failed -304

Debug:   110 19569 gdb_server.c:1878 gdb_input_inner(): received packet: 'm0,4'
Debug:   111 19569 gdb_server.c:1063 gdb_read_memory_packet(): addr: 0x00000000, len: 0x00000004
Debug:   112 19569 target.c:1062 target_read_buffer(): reading buffer of 4 byte at 0x00000000
Debug:   113 19569 arm7_9_common.c:1830 arm7_9_read_memory(): address: 0x00000000, size: 0x00000004, count: 0x00000001
Warning: 114 19569 arm7_9_common.c:1834 arm7_9_read_memory(): target not halted
Debug:   115 19569 gdb_server.c:1878 gdb_input_inner(): received packet: 'm0,4'
Debug:   116 19569 gdb_server.c:1063 gdb_read_memory_packet(): addr: 0x00000000, len: 0x00000004
Debug:   117 19569 target.c:1062 target_read_buffer(): reading buffer of 4 byte at 0x00000000
Debug:   118 19569 arm7_9_common.c:1830 arm7_9_read_memory(): address: 0x00000000, size: 0x00000004, count: 0x00000001
Warning: 119 19569 arm7_9_common.c:1834 arm7_9_read_memory(): target not halted
Debug:   120 19650 embeddedice.c:397 embeddedice_write_reg(): 0: 0x00000005
Debug:   121 19650 embeddedice.c:397 embeddedice_write_reg(): 0: 0x00000005
Debug:   122 19665 arm926ejs.c:329 arm926ejs_examine_debug_reason(): internal debug request
Debug:   123 19665 arm7_9_common.c:1079 arm7_9_debug_entry(): target entered debug from ARM state
Error:   124 19766 jlink.c:836 jlink_usb_message(): usb_bulk_read failed (requested=318, result=-1)
Error:   125 19766 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 318
Error:   126 19876 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=682, result=-1)
Error:   127 19876 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 339
Error:   128 19986 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=710, result=-1)
Error:   129 19986 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 353
Error:   130 20096 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=738, result=-1)
Error:   131 20096 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 367
Error:   132 20206 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=766, result=-1)
Error:   133 20206 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 381
Error:   134 20316 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=794, result=-1)
Error:   135 20316 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 395
Error:   136 20426 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=822, result=-1)
Error:   137 20426 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 409
Error:   138 20536 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=850, result=-1)
Error:   139 20536 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 423
Error:   140 20646 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=878, result=-1)
Error:   141 20646 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 437
Error:   142 20756 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=906, result=-1)
Error:   143 20756 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 451
Error:   144 20866 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=934, result=-1)
Error:   145 20866 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 465
Error:   146 20976 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=962, result=-1)
Error:   147 20976 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 479
Error:   148 21086 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=990, result=-1)
Error:   149 21086 jlink.c:720 jlink_tap_execute(): jlink_tap_execute, wrong result -1, expected 493
Error:   150 21197 jlink.c:842 jlink_usb_message(): usb_bulk_write failed (requested=1018, result=-1)