Hi! I just tried openocd-0.4.0-rc2 with my olimex-arm-usb-ocd on at91sam7, but it doesn't work anymore. Log is attached below. I will git bisect it if necessary (if so, please tell me), known working (but not necessarily last working) version was from 20091229. Current head (a2ce3a51dfbc9760e7a4e3f5d5806a1de019721d) doesn't work either.
Timo openocd -f openocd/openocd.cfg -f openocd/olimex-arm-usb-ocd.cfg -f openocd/openocd-sam7s256.cfg -c halt -c targets -c poll -c "mt_flash_bin glow_flash.bin" -c shutdown -d 3 2> openocd.log Open On-Chip Debugger 0.4.0-rc2-snapshot (2010-02-14-16:28) 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/timo/.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/openocd.cfg Debug: 15 2 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_gdb_port 3333 Debug: 16 2 command.c:133 script_debug(): command - gdb_port ocd_gdb_port 3333 Debug: 18 2 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_telnet_port 4444 Debug: 19 2 command.c:133 script_debug(): command - telnet_port ocd_telnet_port 4444 Debug: 21 2 configuration.c:87 find_file(): found openocd/olimex-arm-usb-ocd.cfg Debug: 22 2 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_interface ft2232 Debug: 23 2 command.c:133 script_debug(): command - interface ocd_interface ft2232 Debug: 25 2 command.c:346 register_command_handler(): registering 'ocd_ft2232_device_desc'... Debug: 26 2 command.c:346 register_command_handler(): registering 'ocd_ft2232_serial'... Debug: 27 2 command.c:346 register_command_handler(): registering 'ocd_ft2232_layout'... Debug: 28 2 command.c:346 register_command_handler(): registering 'ocd_ft2232_vid_pid'... Debug: 29 2 command.c:346 register_command_handler(): registering 'ocd_ft2232_latency'... Debug: 30 2 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_ft2232_device_desc Olimex OpenOCD JTAG A Debug: 31 2 command.c:133 script_debug(): command - ft2232_device_desc ocd_ft2232_device_desc Olimex OpenOCD JTAG A Debug: 33 2 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_ft2232_layout olimex-jtag Debug: 34 2 command.c:133 script_debug(): command - ft2232_layout ocd_ft2232_layout olimex-jtag Debug: 36 2 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_ft2232_vid_pid 0x15ba 0x0003 Debug: 37 2 command.c:133 script_debug(): command - ft2232_vid_pid ocd_ft2232_vid_pid 0x15ba 0x0003 Debug: 39 2 configuration.c:87 find_file(): found openocd/openocd-sam7s256.cfg Debug: 40 2 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_only srst_pulls_trst Debug: 41 2 command.c:133 script_debug(): command - reset_config ocd_reset_config srst_only srst_pulls_trst User : 43 2 command.c:539 command_print(): srst_only srst_pulls_trst srst_gates_jtag srst_open_drain Debug: 44 2 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_only srst_pulls_trst Debug: 45 2 command.c:133 script_debug(): command - reset_config ocd_reset_config srst_only srst_pulls_trst User : 47 2 command.c:539 command_print(): srst_only srst_pulls_trst srst_gates_jtag srst_open_drain Debug: 48 2 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap sam7se256 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x3f0f0f0f Debug: 49 2 command.c:133 script_debug(): command - ocd_jtag ocd_jtag newtap sam7se256 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x3f0f0f0f Debug: 50 2 tcl.c:568 jim_newtap_cmd(): Creating New Tap, Chip: sam7se256, Tap: cpu, Dotted: sam7se256.cpu, 8 params Debug: 51 2 tcl.c:585 jim_newtap_cmd(): Processing option: -irlen Debug: 52 2 tcl.c:585 jim_newtap_cmd(): Processing option: -ircapture Debug: 53 2 tcl.c:585 jim_newtap_cmd(): Processing option: -irmask Debug: 54 2 tcl.c:585 jim_newtap_cmd(): Processing option: -expected-id Debug: 55 2 core.c:1300 jtag_tap_init(): Created Tap: sam7se256.cpu @ abs position 0, irlen 4, capture: 0x1 mask: 0xf Debug: 56 2 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_target create sam7se256.cpu arm7tdmi -endian little -chain-position sam7se256.cpu -variant arm7tdmi Debug: 57 3 command.c:133 script_debug(): command - ocd_target ocd_target create sam7se256.cpu arm7tdmi -endian little -chain-position sam7se256.cpu -variant arm7tdmi Debug: 58 3 command.c:346 register_command_handler(): registering 'ocd_arm'... Debug: 59 3 command.c:346 register_command_handler(): registering 'ocd_arm'... Debug: 60 3 command.c:346 register_command_handler(): registering 'ocd_arm'... Debug: 61 3 command.c:346 register_command_handler(): registering 'ocd_arm'... Debug: 62 3 command.c:346 register_command_handler(): registering 'ocd_arm'... Debug: 63 3 command.c:346 register_command_handler(): registering 'ocd_etm'... Debug: 64 3 command.c:346 register_command_handler(): registering 'ocd_arm7_9'... Debug: 65 3 command.c:346 register_command_handler(): registering 'ocd_arm7_9'... Debug: 66 3 command.c:346 register_command_handler(): registering 'ocd_arm7_9'... Debug: 67 3 command.c:346 register_command_handler(): registering 'ocd_arm7_9'... Debug: 68 3 armv4_5.c:397 arm_set_cpsr(): set CPSR 0x00000010: User mode, ARM state Debug: 69 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 70 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 71 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 72 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 73 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 74 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 75 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 76 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 77 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 78 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 79 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 80 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 81 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 82 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 83 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 84 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 85 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 86 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 87 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 88 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 89 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 90 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 91 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 92 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 93 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 94 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 95 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 96 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 97 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 98 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 99 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 100 3 command.c:346 register_command_handler(): registering 'ocd_sam7se256.cpu'... Debug: 101 3 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_sam7se256.cpu configure -work-area-phys 0x00200000 -work-area-size 0x4000 -work-area-backup 0 Debug: 102 3 command.c:133 script_debug(): command - ocd_sam7se256.cpu ocd_sam7se256.cpu configure -work-area-phys 0x00200000 -work-area-size 0x4000 -work-area-backup 0 Debug: 103 3 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_flash bank sam7se256.flash at91sam7 0 0 0 0 sam7se256.cpu 0 0 0 0 0 0 0 18432 Debug: 104 3 command.c:133 script_debug(): command - ocd_flash ocd_flash bank sam7se256.flash at91sam7 0 0 0 0 sam7se256.cpu 0 0 0 0 0 0 0 18432 Debug: 106 3 command.c:346 register_command_handler(): registering 'ocd_at91sam7'... Debug: 107 3 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_sam7se256.cpu configure -event gdb-attach reset init Debug: 108 3 command.c:133 script_debug(): command - ocd_sam7se256.cpu ocd_sam7se256.cpu configure -event gdb-attach reset init Debug: 109 3 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_sam7se256.cpu configure -event reset-init mt_reset_init Debug: 110 3 command.c:133 script_debug(): command - ocd_sam7se256.cpu ocd_sam7se256.cpu configure -event reset-init mt_reset_init Debug: 111 3 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_init Debug: 112 3 command.c:133 script_debug(): command - init ocd_init Debug: 114 3 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_target init Debug: 115 3 command.c:133 script_debug(): command - ocd_target ocd_target init Debug: 117 4 target.c:835 handle_target_init_command(): Initializing targets... Debug: 118 4 command.c:346 register_command_handler(): registering 'ocd_target_request'... Debug: 119 4 command.c:346 register_command_handler(): registering 'ocd_trace'... Debug: 120 4 command.c:346 register_command_handler(): registering 'ocd_trace'... Debug: 121 4 command.c:346 register_command_handler(): registering 'ocd_fast_load_image'... Debug: 122 4 command.c:346 register_command_handler(): registering 'ocd_fast_load'... Debug: 123 4 command.c:346 register_command_handler(): registering 'ocd_profile'... Debug: 124 4 command.c:346 register_command_handler(): registering 'ocd_virt2phys'... Debug: 125 4 command.c:346 register_command_handler(): registering 'ocd_reg'... Debug: 126 4 command.c:346 register_command_handler(): registering 'ocd_poll'... Debug: 127 4 command.c:346 register_command_handler(): registering 'ocd_wait_halt'... Debug: 128 4 command.c:346 register_command_handler(): registering 'ocd_halt'... Debug: 129 4 command.c:346 register_command_handler(): registering 'ocd_resume'... Debug: 130 4 command.c:346 register_command_handler(): registering 'ocd_reset'... Debug: 131 4 command.c:346 register_command_handler(): registering 'ocd_soft_reset_halt'... Debug: 132 4 command.c:346 register_command_handler(): registering 'ocd_step'... Debug: 133 4 command.c:346 register_command_handler(): registering 'ocd_mdw'... Debug: 134 4 command.c:346 register_command_handler(): registering 'ocd_mdh'... Debug: 135 4 command.c:346 register_command_handler(): registering 'ocd_mdb'... Debug: 136 4 command.c:346 register_command_handler(): registering 'ocd_mww'... Debug: 137 4 command.c:346 register_command_handler(): registering 'ocd_mwh'... Debug: 138 4 command.c:346 register_command_handler(): registering 'ocd_mwb'... Debug: 139 4 command.c:346 register_command_handler(): registering 'ocd_bp'... Debug: 140 4 command.c:346 register_command_handler(): registering 'ocd_rbp'... Debug: 141 4 command.c:346 register_command_handler(): registering 'ocd_wp'... Debug: 142 4 command.c:346 register_command_handler(): registering 'ocd_rwp'... Debug: 143 4 command.c:346 register_command_handler(): registering 'ocd_load_image'... Debug: 144 4 command.c:346 register_command_handler(): registering 'ocd_dump_image'... Debug: 145 4 command.c:346 register_command_handler(): registering 'ocd_verify_image'... Debug: 146 4 command.c:346 register_command_handler(): registering 'ocd_test_image'... Debug: 147 4 command.c:346 register_command_handler(): registering 'ocd_reset_nag'... Debug: 148 4 ft2232.c:2097 ft2232_init(): ft2232 interface using shortest path jtag state transitions Debug: 149 4 ft2232.c:2011 ft2232_init_libftdi(): 'ft2232' interface using libftdi with 'olimex-jtag' layout (15ba:0003) Debug: 150 2391 ft2232.c:2055 ft2232_init_libftdi(): current latency timer: 2 Debug: 151 2392 ft2232.c:2066 ft2232_init_libftdi(): FTDI chip type: 2 "2232C" Debug: 152 2392 ft2232.c:2443 olimex_jtag_init(): 80 08 1b Debug: 153 2393 ft2232.c:2487 olimex_jtag_init(): 82 09 0f Debug: 154 2394 ft2232.c:523 ft2232_speed(): 86 00 00 Info : 155 2398 core.c:1350 jtag_interface_init(): clock speed 6000 kHz Debug: 156 2398 openocd.c:122 handle_init_command(): jtag interface init complete Debug: 157 2398 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag init Debug: 158 2398 command.c:133 script_debug(): command - ocd_jtag ocd_jtag init Debug: 159 2398 log.c:496 keep_alive(): keep_alive() was not invoked in the 1000ms timelimit (2398). This may cause trouble with GDB connections. Debug: 162 2398 tcl.c:854 handle_jtag_init_command(): Initializing jtag devices... Debug: 163 2398 ft2232.c:1361 olimex_jtag_reset(): trst: 0, srst: 0, high_output: 0x01, high_direction: 0x0f Debug: 164 2399 core.c:672 jtag_add_reset(): SRST line released Debug: 165 2399 core.c:697 jtag_add_reset(): TRST line released Debug: 166 2399 core.c:321 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 167 2399 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init Debug: 168 2399 command.c:133 script_debug(): command - ocd_jtag ocd_jtag arp_init Debug: 169 2399 core.c:1364 jtag_init_inner(): Init JTAG chain Debug: 170 2399 core.c:321 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 171 2400 core.c:1017 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS Debug: 172 2400 core.c:321 jtag_call_event_callbacks(): jtag event: TAP reset Info : 173 2403 core.c:917 jtag_examine_chain_display(): JTAG tap: sam7se256.cpu tap/device found: 0x3f0f0f0f (mfg: 0x787, part: 0xf0f0, ver: 0x3) Debug: 174 2403 core.c:1182 jtag_validate_ircapture(): IR capture validation scan Debug: 175 2405 core.c:1243 jtag_validate_ircapture(): sam7se256.cpu: IR capture 0x01 Debug: 176 2405 openocd.c:132 handle_init_command(): Examining targets... Info : 177 2407 embeddedice.c:229 embeddedice_build_reg_cache(): Embedded ICE version 1 Info : 178 2407 embeddedice.c:301 embeddedice_build_reg_cache(): sam7se256.cpu: hardware has 2 breakpoint/watchpoint units Debug: 179 2407 arm7_9_common.c:75 arm7_9_clear_watchpoints(): - Debug: 180 2407 embeddedice.c:497 embeddedice_write_reg(): 12: 0x00000000 Debug: 181 2407 embeddedice.c:497 embeddedice_write_reg(): 20: 0x00000000 Debug: 182 2408 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_flash init Debug: 183 2408 command.c:133 script_debug(): command - ocd_flash ocd_flash init Debug: 184 2410 arm7_9_common.c:890 arm7_9_poll(): DBGACK already set during server startup. Debug: 185 2410 embeddedice.c:497 embeddedice_write_reg(): 0: 0x00000005 Debug: 186 2410 embeddedice.c:497 embeddedice_write_reg(): 12: 0x00000000 Debug: 187 2414 arm7_9_common.c:1397 arm7_9_debug_entry(): target entered debug from ARM state Error: 188 2417 armv4_5.c:189 arm_mode_to_number(): invalid mode value encountered 1 Error: 189 2417 armv4_5.c:388 arm_set_cpsr(): Jazelle state handling is BROKEN! Debug: 190 2417 armv4_5.c:397 arm_set_cpsr(): set CPSR 0xa5000001: User mode, Jazelle state Error: 191 2417 arm7_9_common.c:1420 arm7_9_debug_entry(): cpsr contains invalid mode value - communication failure Debug: 192 2417 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt) Debug: 194 2417 tcl.c:920 handle_flash_init_command(): Initializing flash devices... Debug: 195 2417 command.c:346 register_command_handler(): registering 'ocd_flash'... Debug: 196 2417 command.c:346 register_command_handler(): registering 'ocd_flash'... Debug: 197 2417 command.c:346 register_command_handler(): registering 'ocd_flash'... Debug: 198 2417 command.c:346 register_command_handler(): registering 'ocd_flash'... Debug: 199 2417 command.c:346 register_command_handler(): registering 'ocd_flash'... Debug: 200 2417 command.c:346 register_command_handler(): registering 'ocd_flash'... Debug: 201 2417 command.c:346 register_command_handler(): registering 'ocd_flash'... Debug: 202 2417 command.c:346 register_command_handler(): registering 'ocd_flash'... Debug: 203 2417 command.c:346 register_command_handler(): registering 'ocd_flash'... Debug: 204 2417 command.c:346 register_command_handler(): registering 'ocd_flash'... Debug: 205 2417 command.c:346 register_command_handler(): registering 'ocd_flash'... Debug: 206 2417 command.c:346 register_command_handler(): registering 'ocd_flash'... Debug: 207 2417 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_mflash init Debug: 208 2417 command.c:133 script_debug(): command - ocd_mflash ocd_mflash init Debug: 209 2419 arm7_9_common.c:890 arm7_9_poll(): DBGACK already set during server startup. Debug: 210 2419 embeddedice.c:497 embeddedice_write_reg(): 0: 0x00000005 Debug: 211 2419 embeddedice.c:497 embeddedice_write_reg(): 12: 0x00000000 Debug: 212 2422 arm7_9_common.c:1397 arm7_9_debug_entry(): target entered debug from ARM state Error: 213 2425 armv4_5.c:189 arm_mode_to_number(): invalid mode value encountered 1 Error: 214 2425 armv4_5.c:388 arm_set_cpsr(): Jazelle state handling is BROKEN! Debug: 215 2425 armv4_5.c:397 arm_set_cpsr(): set CPSR 0xa5000001: User mode, Jazelle state Error: 216 2425 arm7_9_common.c:1420 arm7_9_debug_entry(): cpsr contains invalid mode value - communication failure Debug: 217 2425 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt) Debug: 219 2425 mflash.c:1325 handle_mflash_init_command(): Initializing mflash devices... Debug: 220 2425 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_nand init Debug: 221 2425 command.c:133 script_debug(): command - ocd_nand ocd_nand init Debug: 222 2427 arm7_9_common.c:890 arm7_9_poll(): DBGACK already set during server startup. Debug: 223 2427 embeddedice.c:497 embeddedice_write_reg(): 0: 0x00000005 Debug: 224 2427 embeddedice.c:497 embeddedice_write_reg(): 12: 0x00000000 Debug: 225 2430 arm7_9_common.c:1397 arm7_9_debug_entry(): target entered debug from ARM state Error: 226 2433 armv4_5.c:189 arm_mode_to_number(): invalid mode value encountered 1 Error: 227 2433 armv4_5.c:388 arm_set_cpsr(): Jazelle state handling is BROKEN! Debug: 228 2433 armv4_5.c:397 arm_set_cpsr(): set CPSR 0xa5000001: User mode, Jazelle state Error: 229 2433 arm7_9_common.c:1420 arm7_9_debug_entry(): cpsr contains invalid mode value - communication failure Debug: 230 2433 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt) Debug: 232 2433 tcl.c:536 handle_nand_init_command(): Initializing NAND devices... Debug: 233 2433 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_pld init Debug: 234 2433 command.c:133 script_debug(): command - ocd_pld ocd_pld init Debug: 235 2435 arm7_9_common.c:890 arm7_9_poll(): DBGACK already set during server startup. Debug: 236 2435 embeddedice.c:497 embeddedice_write_reg(): 0: 0x00000005 Debug: 237 2435 embeddedice.c:497 embeddedice_write_reg(): 12: 0x00000000 Debug: 238 2438 arm7_9_common.c:1397 arm7_9_debug_entry(): target entered debug from ARM state Error: 239 2441 armv4_5.c:189 arm_mode_to_number(): invalid mode value encountered 1 Error: 240 2441 armv4_5.c:388 arm_set_cpsr(): Jazelle state handling is BROKEN! Debug: 241 2441 armv4_5.c:397 arm_set_cpsr(): set CPSR 0xa5000001: User mode, Jazelle state Error: 242 2441 arm7_9_common.c:1420 arm7_9_debug_entry(): cpsr contains invalid mode value - communication failure Debug: 243 2441 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt) Debug: 245 2441 pld.c:231 handle_pld_init_command(): Initializing PLDs... Debug: 246 2441 gdb_server.c:2370 gdb_target_start(): gdb service for target 'sam7se256.cpu' on TCP port 3333 Debug: 247 2441 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_halt Debug: 248 2441 command.c:133 script_debug(): command - halt ocd_halt Debug: 249 2443 arm7_9_common.c:890 arm7_9_poll(): DBGACK already set during server startup. Debug: 250 2443 embeddedice.c:497 embeddedice_write_reg(): 0: 0x00000005 Debug: 251 2443 embeddedice.c:497 embeddedice_write_reg(): 12: 0x00000000 Debug: 252 2446 arm7_9_common.c:1397 arm7_9_debug_entry(): target entered debug from ARM state Error: 253 2449 armv4_5.c:189 arm_mode_to_number(): invalid mode value encountered 1 Error: 254 2449 armv4_5.c:388 arm_set_cpsr(): Jazelle state handling is BROKEN! Debug: 255 2449 armv4_5.c:397 arm_set_cpsr(): set CPSR 0xa5000001: User mode, Jazelle state Error: 256 2449 arm7_9_common.c:1420 arm7_9_debug_entry(): cpsr contains invalid mode value - communication failure Debug: 257 2449 target.c:968 target_call_event_callbacks(): target event 2 (gdb-halt) Debug: 259 2449 target.c:2062 handle_halt_command(): - Debug: 260 2449 arm7_9_common.c:1281 arm7_9_halt(): target->state: unknown Warn : 261 2449 arm7_9_common.c:1291 arm7_9_halt(): target was in unknown state when halt was requested Debug: 262 2449 embeddedice.c:497 embeddedice_write_reg(): 9: 0xffffffff Debug: 263 2449 embeddedice.c:497 embeddedice_write_reg(): 11: 0xffffffff Debug: 264 2449 embeddedice.c:497 embeddedice_write_reg(): 12: 0x00000100 Debug: 265 2449 embeddedice.c:497 embeddedice_write_reg(): 13: 0x000000f7 Debug: 266 2451 arm7_9_common.c:890 arm7_9_poll(): DBGACK already set during server startup. Debug: 267 2451 embeddedice.c:497 embeddedice_write_reg(): 0: 0x00000005 Debug: 268 2451 embeddedice.c:497 embeddedice_write_reg(): 12: 0x00000000 Debug: 269 2452 arm7_9_common.c:1397 arm7_9_debug_entry(): target entered debug from ARM state Error: 270 2455 armv4_5.c:189 arm_mode_to_number(): invalid mode value encountered 1 Error: 271 2455 armv4_5.c:388 arm_set_cpsr(): Jazelle state handling is BROKEN! Debug: 272 2455 armv4_5.c:397 arm_set_cpsr(): set CPSR 0xa5000001: User mode, Jazelle state Error: 273 2455 arm7_9_common.c:1420 arm7_9_debug_entry(): cpsr contains invalid mode value - communication failure Debug: 274 2455 command.c:620 run_command(): Command failed with error code -305 User : 275 2455 command.c:824 openocd_jim_vfprintf(): Command handler execution failed User : 278 2455 command.c:824 openocd_jim_vfprintf(): User : 280 2455 command.c:824 openocd_jim_vfprintf(): _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development