Vmware Ubuntu Linux OpenOCD problem with j-link lite jtag

Hi,

i habe a windows 7 system with vmare and ubuntu maverick running.

I have the j-link lite edtion connected to the Topas900 eval board from Toshiba.

I do the call “openocd -f ./board/topasa900.cfg -f ./interface/jlink.cfg”.

I am using local copies of the config files.

Then i get the following messages:

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.

Any ideas why the jtag init does not work?

Thanks,

Andreas


Used -d für debug infos:

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

User : 10 2 command.c:539 command_print(): debug_level: 3

Debug: 11 2 configuration.c:45 add_script_search_dir(): adding /home/andi/.openocd

Debug: 12 2 configuration.c:45 add_script_search_dir(): adding /usr/share/openocd/site

Debug: 13 2 configuration.c:45 add_script_search_dir(): adding /usr/share/openocd/scripts

Debug: 14 2 configuration.c:87 find_file(): found openocd_cfg

Debug: 15 2 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_telnet_port 4444

Debug: 16 2 command.c:133 script_debug(): command - telnet_port ocd_telnet_port 4444

Debug: 18 2 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_gdb_port 3333

Debug: 19 2 command.c:133 script_debug(): command - gdb_port ocd_gdb_port 3333

Debug: 21 2 configuration.c:87 find_file(): found interface/jlink.cfg

Debug: 22 2 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_interface jlink

Debug: 23 2 command.c:133 script_debug(): command - interface ocd_interface jlink

Debug: 25 2 command.c:346 register_command_handler(): registering ‘ocd_jlink_info’…

Debug: 26 2 command.c:346 register_command_handler(): registering ‘ocd_jlink_hw_jtag’…

Debug: 27 2 configuration.c:87 find_file(): found board/topasa900.cfg

Debug: 28 2 configuration.c:87 find_file(): found target/tmpa900.cfg

Debug: 29 2 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap tmpa910 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x07926031

Debug: 30 2 command.c:133 script_debug(): command - ocd_jtag ocd_jtag newtap tmpa910 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x07926031

Debug: 31 2 tcl.c:568 jim_newtap_cmd(): Creating New Tap, Chip: tmpa910, Tap: cpu, Dotted: tmpa910.cpu, 8 params

Debug: 32 2 tcl.c:585 jim_newtap_cmd(): Processing option: -irlen

Debug: 33 2 tcl.c:585 jim_newtap_cmd(): Processing option: -ircapture

Debug: 34 2 tcl.c:585 jim_newtap_cmd(): Processing option: -irmask

Debug: 35 2 tcl.c:585 jim_newtap_cmd(): Processing option: -expected-id

Debug: 36 2 core.c:1300 jtag_tap_init(): Created Tap: tmpa910.cpu @ abs position 0, irlen 4, capture: 0x1 mask: 0xf

Debug: 37 2 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_reset_config trst_and_srst

Debug: 38 2 command.c:133 script_debug(): command - reset_config ocd_reset_config trst_and_srst

User : 40 2 command.c:539 command_print(): trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain

Debug: 41 2 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag_nsrst_delay 20

Debug: 42 2 command.c:133 script_debug(): command - jtag_nsrst_delay ocd_jtag_nsrst_delay 20

User : 44 2 command.c:539 command_print(): jtag_nsrst_delay: 20

Debug: 45 3 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag_ntrst_delay 20

Debug: 46 3 command.c:133 script_debug(): command - jtag_ntrst_delay ocd_jtag_ntrst_delay 20

User : 48 3 command.c:539 command_print(): jtag_ntrst_delay: 20

Debug: 49 3 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_target create tmpa910.cpu arm926ejs -endian little -chain-position tmpa910.cpu -variant arm926ejs

Debug: 50 3 command.c:133 script_debug(): command - ocd_target ocd_target create tmpa910.cpu arm926ejs -endian little -chain-position tmpa910.cpu -variant arm926ejs

Debug: 51 3 command.c:346 register_command_handler(): registering ‘ocd_arm’…

Debug: 52 3 command.c:346 register_command_handler(): registering ‘ocd_arm’…

Debug: 53 3 command.c:346 register_command_handler(): registering ‘ocd_arm’…

Debug: 54 3 command.c:346 register_command_handler(): registering ‘ocd_arm’…

Debug: 55 3 command.c:346 register_command_handler(): registering ‘ocd_arm’…

Debug: 56 3 command.c:346 register_command_handler(): registering ‘ocd_etm’…

Debug: 57 3 command.c:346 register_command_handler(): registering ‘ocd_arm7_9’…

Debug: 58 3 command.c:346 register_command_handler(): registering ‘ocd_arm7_9’…

Debug: 59 3 command.c:346 register_command_handler(): registering ‘ocd_arm7_9’…

Debug: 60 3 command.c:346 register_command_handler(): registering ‘ocd_arm7_9’…

Debug: 61 3 command.c:346 register_command_handler(): registering ‘ocd_arm9tdmi’…

Debug: 62 3 command.c:346 register_command_handler(): registering ‘ocd_arm926ejs’…

Debug: 63 3 armv4_5.c:397 arm_set_cpsr(): set CPSR 0x00000010: User mode, ARM state

Debug: 64 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 65 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 66 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 67 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 68 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 69 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 70 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 71 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 72 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 73 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 74 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 75 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 76 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 77 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 78 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 79 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 80 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 81 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 82 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 83 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 84 3 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 85 4 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 86 4 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 87 4 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 88 4 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 89 4 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 90 4 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 91 4 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 92 4 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 93 4 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 94 4 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 95 4 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 96 4 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 97 4 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 98 4 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 99 4 command.c:346 register_command_handler(): registering ‘ocd_tmpa910.cpu’…

Debug: 100 4 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_tmpa910.cpu configure -work-area-phys 0xf8004000 -work-area-size 0x8000 -work-area-backup 0

Debug: 101 4 command.c:133 script_debug(): command - ocd_tmpa910.cpu ocd_tmpa910.cpu configure -work-area-phys 0xf8004000 -work-area-size 0x8000 -work-area-backup 0

Debug: 102 4 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_tmpa910.cpu configure -event reset-init topasa900_init

Debug: 103 4 command.c:133 script_debug(): command - ocd_tmpa910.cpu ocd_tmpa910.cpu configure -event reset-init topasa900_init

Debug: 104 4 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_arm7_9 dcc_downloads enable

Debug: 105 4 command.c:133 script_debug(): command - ocd_arm7_9 ocd_arm7_9 dcc_downloads enable

User : 107 4 command.c:539 command_print(): dcc downloads are enabled

Debug: 108 4 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_flash bank tmpa910.flash cfi 0x20000000 0x1000000 2 2 0

Debug: 109 4 command.c:133 script_debug(): command - ocd_flash ocd_flash bank tmpa910.flash cfi 0x20000000 0x1000000 2 2 0

Warn : 111 4 target.c:336 get_target(): use ‘tmpa910.cpu’ as target identifier, not ‘0’

Debug: 112 4 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_init

Debug: 113 4 command.c:133 script_debug(): command - init ocd_init

Debug: 115 4 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_target init

Debug: 116 4 command.c:133 script_debug(): command - ocd_target ocd_target init

Debug: 118 4 target.c:835 handle_target_init_command(): Initializing targets…

Debug: 119 4 command.c:346 register_command_handler(): registering ‘ocd_target_request’…

Debug: 120 4 command.c:346 register_command_handler(): registering ‘ocd_trace’…

Debug: 121 4 command.c:346 register_command_handler(): registering ‘ocd_trace’…

Debug: 122 4 command.c:346 register_command_handler(): registering ‘ocd_fast_load_image’…

Debug: 123 4 command.c:346 register_command_handler(): registering ‘ocd_fast_load’…

Debug: 124 4 command.c:346 register_command_handler(): registering ‘ocd_profile’…

Debug: 125 4 command.c:346 register_command_handler(): registering ‘ocd_virt2phys’…

Debug: 126 4 command.c:346 register_command_handler(): registering ‘ocd_reg’…

Debug: 127 4 command.c:346 register_command_handler(): registering ‘ocd_poll’…

Debug: 128 4 command.c:346 register_command_handler(): registering ‘ocd_wait_halt’…

Debug: 129 4 command.c:346 register_command_handler(): registering ‘ocd_halt’…

Debug: 130 4 command.c:346 register_command_handler(): registering ‘ocd_resume’…

Debug: 131 5 command.c:346 register_command_handler(): registering ‘ocd_reset’…

Debug: 132 5 command.c:346 register_command_handler(): registering ‘ocd_soft_reset_halt’…

Debug: 133 5 command.c:346 register_command_handler(): registering ‘ocd_step’…

Debug: 134 5 command.c:346 register_command_handler(): registering ‘ocd_mdw’…

Debug: 135 5 command.c:346 register_command_handler(): registering ‘ocd_mdh’…

Debug: 136 5 command.c:346 register_command_handler(): registering ‘ocd_mdb’…

Debug: 137 5 command.c:346 register_command_handler(): registering ‘ocd_mww’…

Debug: 138 5 command.c:346 register_command_handler(): registering ‘ocd_mwh’…

Debug: 139 5 command.c:346 register_command_handler(): registering ‘ocd_mwb’…

Debug: 140 5 command.c:346 register_command_handler(): registering ‘ocd_bp’…

Debug: 141 5 command.c:346 register_command_handler(): registering ‘ocd_rbp’…

Debug: 142 5 command.c:346 register_command_handler(): registering ‘ocd_wp’…

Debug: 143 5 command.c:346 register_command_handler(): registering ‘ocd_rwp’…

Debug: 144 5 command.c:346 register_command_handler(): registering ‘ocd_load_image’…

Debug: 145 5 command.c:346 register_command_handler(): registering ‘ocd_dump_image’…

Debug: 146 5 command.c:346 register_command_handler(): registering ‘ocd_verify_image’…

Debug: 147 5 command.c:346 register_command_handler(): registering ‘ocd_test_image’…

Debug: 148 5 command.c:346 register_command_handler(): registering ‘ocd_reset_nag’…

Debug: 149 2293 jlink.c:896 jlink_usb_open(): usb ep in 81

Debug: 150 2293 jlink.c:896 jlink_usb_open(): usb ep out 02

Info : 151 2293 jlink.c:293 jlink_init(): J-Link initialization started / target CPU reset initiated

Info : 152 2306 jlink.c:545 jlink_get_version_info(): J-Link ARM Lite V8 compiled Dec 16 2010 20:30:43

Info : 153 2310 jlink.c:558 jlink_get_version_info(): JLink caps 0xb9ff7bbf

Info : 154 2314 jlink.c:577 jlink_get_version_info(): JLink hw version 80000

Info : 155 2318 jlink.c:593 jlink_get_version_info(): JLink max mem block 8496

Info : 156 2321 jlink.c:506 jlink_get_status(): Vref = 3.293 TCK = 1 TDI = 0 TDO = 1 TMS = 0 SRST = 0 TRST = 0

Info : 157 2321 jlink.c:306 jlink_init(): J-Link JTAG Interface ready

Debug: 158 2321 jlink.c:451 jlink_reset(): trst: 0, srst: 0

Debug: 159 2331 log.c:496 keep_alive(): keep_alive() was not invoked in the 1000ms timelimit (2331). This may cause trouble with GDB connections.

Error: 161 5368 jlink.c:945 jlink_usb_message(): jlink_usb_read_emu_result retried requested = 1, result=-110, in_length=1

Error: 162 9376 jlink.c:951 jlink_usb_message(): jlink_usb_read_emu_result failed (requested = 1, result=-110)

Error: 163 9376 jlink.c:790 jlink_tap_execute(): jlink_tap_execute, wrong result -107 (expected 1)

Info : 164 9376 core.c:1353 jtag_interface_init(): RCLK (adaptive clock speed)

Debug: 165 9376 openocd.c:122 handle_init_command(): jtag interface init complete

Debug: 166 9377 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag init

Debug: 167 9377 command.c:133 script_debug(): command - ocd_jtag ocd_jtag init

Debug: 168 9377 log.c:496 keep_alive(): keep_alive() was not invoked in the 1000ms timelimit (7046). This may cause trouble with GDB connections.

Debug: 171 9377 tcl.c:854 handle_jtag_init_command(): Initializing jtag devices…

Debug: 172 9377 jlink.c:451 jlink_reset(): trst: 0, srst: 0

Debug: 173 9390 core.c:672 jtag_add_reset(): SRST line released

Debug: 174 9390 core.c:697 jtag_add_reset(): TRST line released

Debug: 175 9390 core.c:321 jtag_call_event_callbacks(): jtag event: TAP reset

Debug: 176 9434 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init

Debug: 177 9435 command.c:133 script_debug(): command - ocd_jtag ocd_jtag arp_init

Debug: 178 9435 core.c:1364 jtag_init_inner(): Init JTAG chain

Debug: 179 9435 core.c:321 jtag_call_event_callbacks(): jtag event: TAP reset

Error: 180 12469 jlink.c:945 jlink_usb_message(): jlink_usb_read_emu_result retried requested = 1, result=-110, in_length=1

Error: 181 18470 jlink.c:951 jlink_usb_message(): jlink_usb_read_emu_result failed (requested = 1, result=-110)

Error: 182 18470 jlink.c:790 jlink_tap_execute(): jlink_tap_execute, wrong result -107 (expected 1)

Debug: 183 18470 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init-reset

Debug: 184 18470 command.c:133 script_debug(): command - ocd_jtag ocd_jtag arp_init-reset

Debug: 185 18470 core.c:1451 jtag_init_reset(): Initializing with hard TRST+SRST reset

Debug: 186 18470 jlink.c:451 jlink_reset(): trst: 1, srst: 0

Debug: 187 19472 core.c:692 jtag_add_reset(): TRST line asserted

Debug: 188 19472 jlink.c:451 jlink_reset(): trst: 1, srst: 1

Debug: 189 19475 core.c:667 jtag_add_reset(): SRST line asserted

Debug: 190 19475 jlink.c:451 jlink_reset(): trst: 0, srst: 1

Debug: 191 19479 core.c:697 jtag_add_reset(): TRST line released

Debug: 192 19479 log.c:496 keep_alive(): keep_alive() was not invoked in the 1000ms timelimit (10102). This may cause trouble with GDB connections.

Debug: 194 19479 core.c:321 jtag_call_event_callbacks(): jtag event: TAP reset

Debug: 195 19503 jlink.c:451 jlink_reset(): trst: 0, srst: 0

Debug: 196 19506 core.c:672 jtag_add_reset(): SRST line released

Debug: 197 19528 core.c:1364 jtag_init_inner(): Init JTAG chain

Debug: 198 19528 core.c:321 jtag_call_event_callbacks(): jtag event: TAP reset

Error: 199 22563 jlink.c:945 jlink_usb_message(): jlink_usb_read_emu_result retried requested = 1, result=-110, in_length=1

Error: 200 28564 jlink.c:951 jlink_usb_message(): jlink_usb_read_emu_result failed (requested = 1, result=-110)

Error: 201 28564 jlink.c:790 jlink_tap_execute(): jlink_tap_execute, wrong result -107 (expected 1)

Debug: 202 28564 command.c:620 run_command(): Command failed with error code -4

User : 203 28564 command.c:824 openocd_jim_vfprintf(): Command handler execution failed

User : 206 28564 command.c:824 openocd_jim_vfprintf():

User : 208 28564 command.c:824 openocd_jim_vfprintf():

Warn : 209 28564 openocd.c:137 handle_init_command(): jtag initialization failed; try ‘jtag init’ again.

Debug: 210 28564 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_flash init

Debug: 211 28564 command.c:133 script_debug(): command - ocd_flash ocd_flash init

Debug: 212 28564 log.c:496 keep_alive(): keep_alive() was not invoked in the 1000ms timelimit (9085). This may cause trouble with GDB connections.

Debug: 214 28564 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 216 28564 tcl.c:920 handle_flash_init_command(): Initializing flash devices…

Debug: 217 28564 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 218 28564 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 219 28564 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 220 28564 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 221 28564 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 222 28564 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 223 28564 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 224 28564 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 225 28564 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 226 28564 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 227 28564 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 228 28564 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 229 28564 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_mflash init

Debug: 230 28564 command.c:133 script_debug(): command - ocd_mflash ocd_mflash init

Debug: 231 28564 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 233 28564 mflash.c:1325 handle_mflash_init_command(): Initializing mflash devices…

Debug: 234 28564 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_nand init

Debug: 235 28564 command.c:133 script_debug(): command - ocd_nand ocd_nand init

Debug: 236 28564 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 238 28564 tcl.c:536 handle_nand_init_command(): Initializing NAND devices…

Debug: 239 28564 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_pld init

Debug: 240 28564 command.c:133 script_debug(): command - ocd_pld ocd_pld init

Debug: 241 28564 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 243 28564 pld.c:231 handle_pld_init_command(): Initializing PLDs…

Debug: 244 28565 gdb_server.c:2370 gdb_target_start(): gdb service for target ‘tmpa910.cpu’ on TCP port 3333

Debug: 245 28565 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jlink_hw_jtag 3

Debug: 246 28565 command.c:133 script_debug(): command - jlink_hw_jtag ocd_jlink_hw_jtag 3

Debug: 247 28565 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 249 28565 httpd_stubs.c:28 httpd_start(): libocdserver was built without HTTPD support

Debug: 250 28565 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_init

Debug: 251 28565 command.c:133 script_debug(): command - init ocd_init

Debug: 252 28565 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 254 28666 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 255 28767 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 256 28868 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 257 28969 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 258 29070 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 259 29171 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 260 29272 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 261 29373 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 262 29474 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 263 29575 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 264 29676 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 265 29777 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 266 29878 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 267 29979 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 268 30080 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 269 30181 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 270 30282 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 271 30383 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 272 30484 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Debug: 273 30585 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt)

Hi,

when i use j-link unter windows 7 i can connect do halt without any problem:

J-Link>mem 0x0 2

Info: J-Link: ARM9 CP15 Settings changed: 50078 from 78, MMU Off, ICache Off, DC

ache Off

00000000 = D3 00

J-Link>mem 0x0 4

00000000 = D3 00 A0 E3

J-Link>mem 0x1000 4

00001000 = FF FF FF FF

J-Link>mem 0x1000 4

00001000 = FF FF FF FF

J-Link>

or

J-Link>halt

PC: (R15) = 0000052C, CPSR = 200000D3 (SVC mode, ARM FIQ dis. IRQ dis.)

R0 = 00000001, R1 = 00000001, R2 = 000001F4, R3 = 00000EF9

R4 = F4200000, R5 = 0000000F, R6 = 00000000, R7 = F0800000

USR: R8 =000000EF, R9 =F703A71C, R10=F0050000, R11 =F8009FC4, R12 =F8009FC8

R13=43DE842B, R14=5D36B6BF

FIQ: R8 =E8EECC58, R9 =6CB94D0A, R10=43B232B1, R11 =D2EEF9E2, R12 =5EB46DD5

R13=F70645C0, R14=27BD95CE, SPSR=00000010

SVC: R13=F8009FA8, R14=00000578, SPSR=00000010

ABT: R13=F7064DC0, R14=8A293F50, SPSR=00000010

IRQ: R13=F70649C0, R14=EC7B9E30, SPSR=00000010

UND: R13=F70651C0, R14=40000074, SPSR=00000010

J-Link>

So i think the hardware is ok. But i do not know why the ubuntu linux openocd running under

vmware does not work?

Anybody similar experiences?

Thanks,

Andreas

maybe openocd0.4.0 doesn’t support your jlink firmware version ,

I am using now 0.5.0. Have used git to the the sources form the repository.

Sucessfully build a new openocd executable. But still have the problem.

What Firmware do i need? Are there any documentation about what works with

which firmware version?

Thanks,

Andreas

Could you tell me how can I get openocd v0.5.0

your jlink firmware version maybe should be compiled before Feb. 2010

Hi,

i used the command:

git clone git://openocd.git.sourceforge.net/gitroot/openocd/openocd

It ist the version 0.5.0-dev…

Where and how do i get a earlier firmware for j-link lite?

Andreas

Hi,

perfect thanks a lot for the hint with an earlier firmware version.

Now i have the segger j-link lite debugger running :slight_smile:

I found the older firmware versions under:

http://www.segger.com/cms/j-link-older-versions.html

I used the Version v4.10i

http://www.segger.com/cms/admin/uploads … _V410i.zip

The problem is that i have downloaded the newest firmware version at the beginning

and so have updated to 4.22.

Using goggle i found the trick command “exec invalidateFw”.

I installed v4.10i and open jlink.exe enter the above command and the older version

gets installed in the j-link lite debugger.

After that i enter vmware and opened openocd and got:

Open On-Chip Debugger 0.5.0-dev-00677-g7cd2617-dirty (2010-12-27-22:43)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.berlios.de/doc/doxygen/bugs.html

Warn : Adapter driver ‘jlink’ did not declare which transports it allows; assuming legacy JTAG-only

Info : only one transport option; autoselect ‘jtag’

trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain

adapter_nsrst_delay: 20

jtag_ntrst_delay: 20

Warn : use ‘tmpa910.cpu’ as target identifier, not ‘0’

Info : J-Link initialization started / target CPU reset initiated

Info : J-Link ARM Lite V8 compiled Jul 10 2009 17:00:06

Info : JLink caps 0xb9ff7bbf

Info : JLink hw version 80000

Info : JLink max mem block 9800

Info : Vref = 3.293 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: tmpa910.cpu tap/device found: 0x07926031 (mfg: 0x018, part: 0x7926, ver: 0x0)

Info : Embedded ICE version 6

Info : tmpa910.cpu: hardware has 2 breakpoint/watchpoint units

Info : accepting ‘telnet’ connection from 4444

The openocd.cfg and the other two config files are attached (openocd_cfg.tar.gz).

Andreas