Hi, I'm currently trying to set up an Eclipse-based toolchain for the STM32F4 with OpenOCD and GDB. I have tested several compatible JTAG probes and I'm running this toolchain (tested on Linux and MacOS):
https://github.com/MikeSmith/summon-arm-toolchain I can easily flash and debug my target via the commandline, I had no luck though in setting up Eclipse correctly. I have attached the complete logs. It looks like Eclipse / GDB / OpenOCD die here: Debug: 495 3205 gdb_server.c:2214 gdb_input_inner(): received packet: 'qfThreadInfo' Debug: 496 3205 gdb_server.c:2214 gdb_input_inner(): received packet: 'qL1200000000000000000' Debug: 497 3401 gdb_server.c:2214 gdb_input_inner(): received packet: 'qL1200000000000000000' Debug: 498 3401 gdb_server.c:2214 gdb_input_inner(): received packet: 'p19' Error: 499 3401 gdb_server.c:1175 gdb_get_register_packet(): gdb requested a non-existing register And this seems to be a new feature since April 2011 (the last OpenOCD version that worked for me on the STM32F2xx was from before that): http://comments.gmane.org/gmane.comp.debugging.openocd.devel/16356 Did I configure Eclipse wrong (I'm using the GDB Hardware Debugging Plugin provided by the Eclipse website)? Or is this rather a real issue with OpenOCD? I did get past that point with ST-Link in the same setup (unfortunately this failed at a later stage, but I could start/stop the chip at least). Thanks for any info or help. -Lorenz FULL LOGS: Please find attached the GDB and the OpenOCD Outputs: 467,094 2-environment-cd /src/f4test 467,094 2^done 467,095 (gdb) 467,095 3source .gdbinit 467,095 &"source .gdbinit\n" 467,096 &".gdbinit: No such file or directory.\n" 467,096 3^error,msg=".gdbinit: No such file or directory." 467,096 (gdb) 467,097 4-gdb-set auto-solib-add on 467,098 4^done 467,098 (gdb) 467,099 5symbol-file /src/f4test/f4test.elf 467,100 &"symbol-file /src/f4test/f4test.elf\n" 467,100 ~"Reading symbols from /src/f4test/f4test.elf..." 467,101 ~"done.\n" 467,101 5^done 467,101 (gdb) 467,101 &"\n" 467,101 ^done 467,101 (gdb) 467,102 6-target-select remote localhost:3333 467,102 7monitor reset init 467,102 8monitor sleep 1000 467,102 9monitor soft_reset_halt 468,507 =thread-group-started,id="i1",pid="42000" 468,507 =thread-created,id="1",group-id="i1" 468,507 10-list-thread-groups 468,509 11-list-thread-groups --available 468,577 *stopped,frame={addr="0x0800069c",func="??",args=[]},thread-id="1",stopped-threads="all" 468,578 6^connected 468,578 (gdb) 468,578 &"monitor reset init\n" 468,584 @"JTAG tap: stm32f4xxx.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)\ \n" 468,584 @"JTAG tap: stm32f4xxx.bs tap/device found: 0x06413041 (mfg: 0x020, part: 0x6413, ver: 0x0)\\ n" 468,810 @"target state: halted\n" 468,811 @"target halted due to debug-request, current mode: Thread \n" 468,811 @"xPSR: 0x01000000 pc: 0x0800069c msp: 0x20000800\n" 468,816 7^done 468,816 (gdb) 468,816 &"monitor sleep 1000\n" 469,821 8^done 469,822 (gdb) 469,823 &"monitor soft_reset_halt\n" 469,825 @"requesting target halt and executing a soft reset\n" 469,985 @"target state: halted\n" 469,986 @"target halted due to debug-request, current mode: Thread \n" 469,986 @"xPSR: 0x01000000 pc: 0x0800069c msp: 0x20000800\n" 469,987 9^done 469,987 (gdb) 469,988 10^done,groups=[{id="i1",type="process",pid="42000"}] 469,988 (gdb) 469,988 11^error,msg="Can not fetch data now." 469,988 (gdb) 470,183 12-list-thread-groups i1 470,192 =thread-group-exited,id="i1" 470,192 12^error,msg="Remote connection closed" 470,193 (gdb) 470,195 13-gdb-exit 470,195 13^exit Open On-Chip Debugger 0.6.0-dev-00220-g9e1a166-dirty (2012-01-24-10:53) Licensed under GNU GPL v2 For bug reports, read http://openocd.sourceforge.net/doc/doxygen/bugs.html User : 11 2 command.c:557 command_print(): debug_level: 3 Debug: 12 2 configuration.c:45 add_script_search_dir(): adding /.openocd Debug: 13 2 configuration.c:45 add_script_search_dir(): adding /sat/share/openocd/site Debug: 14 2 configuration.c:45 add_script_search_dir(): adding /sat/share/openocd/scripts Debug: 15 2 configuration.c:87 find_file(): found /sat/share/openocd/scripts/interface/jtagkey-tiny.cfg Debug: 16 52 configuration.c:87 find_file(): found /sat/share/openocd/scripts/interface/jtagkey.cfg Debug: 17 53 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_interface ft2232 Debug: 18 53 command.c:151 script_debug(): command - interface ocd_interface ft2232 Debug: 20 53 command.c:364 register_command_handler(): registering 'ocd_ft2232_device_desc'... Debug: 21 53 command.c:364 register_command_handler(): registering 'ocd_ft2232_serial'... Debug: 22 53 command.c:364 register_command_handler(): registering 'ocd_ft2232_layout'... Debug: 23 53 command.c:364 register_command_handler(): registering 'ocd_ft2232_vid_pid'... Debug: 24 53 command.c:364 register_command_handler(): registering 'ocd_ft2232_latency'... Info : 25 53 transport.c:123 allow_transports(): only one transport option; autoselect 'jtag' Debug: 26 53 command.c:364 register_command_handler(): registering 'ocd_jtag_flush_queue_sleep'... Debug: 27 53 command.c:364 register_command_handler(): registering 'ocd_jtag_rclk'... Debug: 28 53 command.c:364 register_command_handler(): registering 'ocd_jtag_ntrst_delay'... Debug: 29 53 command.c:364 register_command_handler(): registering 'ocd_jtag_ntrst_assert_width'... Debug: 30 53 command.c:364 register_command_handler(): registering 'ocd_scan_chain'... Debug: 31 53 command.c:364 register_command_handler(): registering 'ocd_jtag_reset'... Debug: 32 53 command.c:364 register_command_handler(): registering 'ocd_runtest'... Debug: 33 53 command.c:364 register_command_handler(): registering 'ocd_irscan'... Debug: 34 53 command.c:364 register_command_handler(): registering 'ocd_verify_ircapture'... Debug: 35 53 command.c:364 register_command_handler(): registering 'ocd_verify_jtag'... Debug: 36 53 command.c:364 register_command_handler(): registering 'ocd_tms_sequence'... Debug: 37 53 command.c:364 register_command_handler(): registering 'ocd_wait_srst_deassert'... Debug: 38 53 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 39 53 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 40 53 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 41 53 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 42 53 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 43 53 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 44 53 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 45 53 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 46 53 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 47 53 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 48 53 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 49 53 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 50 53 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 51 53 command.c:364 register_command_handler(): registering 'ocd_svf'... Debug: 52 53 command.c:364 register_command_handler(): registering 'ocd_xsvf'... Debug: 53 53 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_ft2232_device_desc Amontec JTAGkey Debug: 54 53 command.c:151 script_debug(): command - ft2232_device_desc ocd_ft2232_device_desc Amontec JTAGkey Debug: 56 53 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_ft2232_layout jtagkey Debug: 57 53 command.c:151 script_debug(): command - ft2232_layout ocd_ft2232_layout jtagkey Debug: 59 53 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_ft2232_vid_pid 0x0403 0xcff8 Debug: 60 53 command.c:151 script_debug(): command - ft2232_vid_pid ocd_ft2232_vid_pid 0x0403 0xcff8 Debug: 62 53 configuration.c:87 find_file(): found stm32f4x.cfg Debug: 63 53 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 1000 Debug: 64 53 command.c:151 script_debug(): command - adapter_khz ocd_adapter_khz 1000 Debug: 66 53 core.c:1639 jtag_config_khz(): handle jtag khz Debug: 67 53 core.c:1602 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 68 53 core.c:1602 adapter_khz_to_speed(): convert khz to interface specific speed value User : 69 53 command.c:557 command_print(): 1000 kHz Debug: 70 53 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 100 Debug: 71 53 command.c:151 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 100 User : 73 53 command.c:557 command_print(): adapter_nsrst_delay: 100 Debug: 74 53 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_jtag_ntrst_delay 100 Debug: 75 54 command.c:151 script_debug(): command - jtag_ntrst_delay ocd_jtag_ntrst_delay 100 User : 77 54 command.c:557 command_print(): jtag_ntrst_delay: 100 Debug: 78 54 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap stm32f4xxx cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x4ba00477 Debug: 79 54 command.c:151 script_debug(): command - ocd_jtag ocd_jtag newtap stm32f4xxx cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x4ba00477 Debug: 80 54 tcl.c:578 jim_newtap_cmd(): Creating New Tap, Chip: stm32f4xxx, Tap: cpu, Dotted: stm32f4xxx.cpu, 8 params Debug: 81 54 tcl.c:595 jim_newtap_cmd(): Processing option: -irlen Debug: 82 54 tcl.c:595 jim_newtap_cmd(): Processing option: -ircapture Debug: 83 54 tcl.c:595 jim_newtap_cmd(): Processing option: -irmask Debug: 84 54 tcl.c:595 jim_newtap_cmd(): Processing option: -expected-id Debug: 85 54 core.c:1337 jtag_tap_init(): Created Tap: stm32f4xxx.cpu @ abs position 0, irlen 4, capture: 0x1 mask: 0xf Debug: 86 54 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap stm32f4xxx bs -irlen 5 -expected-id 0x06413041 Debug: 87 54 command.c:151 script_debug(): command - ocd_jtag ocd_jtag newtap stm32f4xxx bs -irlen 5 -expected-id 0x06413041 Debug: 88 54 tcl.c:578 jim_newtap_cmd(): Creating New Tap, Chip: stm32f4xxx, Tap: bs, Dotted: stm32f4xxx.bs, 4 params Debug: 89 54 tcl.c:595 jim_newtap_cmd(): Processing option: -irlen Debug: 90 54 tcl.c:595 jim_newtap_cmd(): Processing option: -expected-id Debug: 91 54 core.c:1337 jtag_tap_init(): Created Tap: stm32f4xxx.bs @ abs position 0, irlen 5, capture: 0x1 mask: 0x3 Debug: 92 54 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_target create stm32f4xxx.cpu cortex_m3 -endian little -chain-position stm32f4xxx.cpu -rtos auto Debug: 93 54 command.c:151 script_debug(): command - ocd_target ocd_target create stm32f4xxx.cpu cortex_m3 -endian little -chain-position stm32f4xxx.cpu -rtos auto Debug: 94 54 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 95 54 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 96 54 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 97 54 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 98 54 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 99 54 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 100 54 command.c:364 register_command_handler(): registering 'ocd_dap'... Debug: 101 54 command.c:364 register_command_handler(): registering 'ocd_dap'... Debug: 102 54 command.c:364 register_command_handler(): registering 'ocd_dap'... Debug: 103 54 command.c:364 register_command_handler(): registering 'ocd_dap'... Debug: 104 54 command.c:364 register_command_handler(): registering 'ocd_dap'... Debug: 105 54 command.c:364 register_command_handler(): registering 'ocd_cortex_m3'... Debug: 106 54 command.c:364 register_command_handler(): registering 'ocd_cortex_m3'... Debug: 107 54 command.c:364 register_command_handler(): registering 'ocd_cortex_m3'... Debug: 108 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 109 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 110 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 111 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 112 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 113 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 114 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 115 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 116 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 117 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 118 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 119 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 120 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 121 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 122 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 123 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 124 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 125 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 126 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 127 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 128 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 129 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 130 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 131 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 132 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 133 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 134 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 135 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 136 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 137 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 138 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 139 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 140 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 141 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 142 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 143 54 command.c:364 register_command_handler(): registering 'ocd_stm32f4xxx.cpu'... Debug: 144 54 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu configure -work-area-phys 0x20000000 -work-area-size 0x10000 -work-area-backup 0 Debug: 145 54 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu configure -work-area-phys 0x20000000 -work-area-size 0x10000 -work-area-backup 0 Debug: 146 54 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_flash bank stm32f4xxx.flash stm32f2x 0 0 0 0 stm32f4xxx.cpu Debug: 147 54 command.c:151 script_debug(): command - ocd_flash ocd_flash bank stm32f4xxx.flash stm32f2x 0 0 0 0 stm32f4xxx.cpu Debug: 149 54 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_cortex_m3 reset_config sysresetreq Debug: 150 54 command.c:151 script_debug(): command - ocd_cortex_m3 ocd_cortex_m3 reset_config sysresetreq User : 152 54 command.c:557 command_print(): cortex_m3 reset_config sysresetreq Debug: 153 55 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_init Debug: 154 55 command.c:151 script_debug(): command - init ocd_init Debug: 156 55 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_target init Debug: 157 55 command.c:151 script_debug(): command - ocd_target ocd_target init Debug: 159 55 target.c:1057 handle_target_init_command(): Initializing targets... Debug: 160 55 command.c:364 register_command_handler(): registering 'ocd_target_request'... Debug: 161 55 command.c:364 register_command_handler(): registering 'ocd_trace'... Debug: 162 55 command.c:364 register_command_handler(): registering 'ocd_trace'... Debug: 163 55 command.c:364 register_command_handler(): registering 'ocd_fast_load_image'... Debug: 164 55 command.c:364 register_command_handler(): registering 'ocd_fast_load'... Debug: 165 55 command.c:364 register_command_handler(): registering 'ocd_profile'... Debug: 166 55 command.c:364 register_command_handler(): registering 'ocd_virt2phys'... Debug: 167 55 command.c:364 register_command_handler(): registering 'ocd_reg'... Debug: 168 55 command.c:364 register_command_handler(): registering 'ocd_poll'... Debug: 169 55 command.c:364 register_command_handler(): registering 'ocd_wait_halt'... Debug: 170 55 command.c:364 register_command_handler(): registering 'ocd_halt'... Debug: 171 55 command.c:364 register_command_handler(): registering 'ocd_resume'... Debug: 172 55 command.c:364 register_command_handler(): registering 'ocd_reset'... Debug: 173 55 command.c:364 register_command_handler(): registering 'ocd_soft_reset_halt'... Debug: 174 55 command.c:364 register_command_handler(): registering 'ocd_step'... Debug: 175 55 command.c:364 register_command_handler(): registering 'ocd_mdw'... Debug: 176 55 command.c:364 register_command_handler(): registering 'ocd_mdh'... Debug: 177 55 command.c:364 register_command_handler(): registering 'ocd_mdb'... Debug: 178 55 command.c:364 register_command_handler(): registering 'ocd_mww'... Debug: 179 55 command.c:364 register_command_handler(): registering 'ocd_mwh'... Debug: 180 55 command.c:364 register_command_handler(): registering 'ocd_mwb'... Debug: 181 55 command.c:364 register_command_handler(): registering 'ocd_bp'... Debug: 182 55 command.c:364 register_command_handler(): registering 'ocd_rbp'... Debug: 183 55 command.c:364 register_command_handler(): registering 'ocd_wp'... Debug: 184 55 command.c:364 register_command_handler(): registering 'ocd_rwp'... Debug: 185 55 command.c:364 register_command_handler(): registering 'ocd_load_image'... Debug: 186 55 command.c:364 register_command_handler(): registering 'ocd_dump_image'... Debug: 187 55 command.c:364 register_command_handler(): registering 'ocd_verify_image'... Debug: 188 55 command.c:364 register_command_handler(): registering 'ocd_test_image'... Debug: 189 55 command.c:364 register_command_handler(): registering 'ocd_reset_nag'... Debug: 190 55 ft2232.c:2477 ft2232_init(): ft2232 interface using shortest path jtag state transitions Debug: 191 55 ft2232.c:2350 ft2232_init_libftdi(): 'ft2232' interface using libftdi with 'jtagkey' layout (0403:cff8) Debug: 192 1293 ft2232.c:2397 ft2232_init_libftdi(): current latency timer: 2 Debug: 193 1293 ft2232.c:2408 ft2232_init_libftdi(): FTDI chip type: 2 "2232C" Debug: 194 1294 ft2232.c:2434 ft2232_set_data_bits_low_byte(): 80 08 1b Debug: 195 1294 ft2232.c:2454 ft2232_set_data_bits_high_byte(): 82 09 0f Debug: 196 1295 core.c:1602 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 197 1295 core.c:1606 adapter_khz_to_speed(): have interface set up Debug: 198 1295 ft2232.c:677 ft2232_speed(): 86 05 00 Debug: 199 1295 core.c:1602 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 200 1295 core.c:1606 adapter_khz_to_speed(): have interface set up Info : 201 1295 core.c:1421 adapter_init(): clock speed 1000 kHz Debug: 202 1295 openocd.c:137 handle_init_command(): Debug Adapter init complete Debug: 203 1295 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_transport init Debug: 204 1295 command.c:151 script_debug(): command - ocd_transport ocd_transport init Debug: 205 1295 log.c:437 keep_alive(): keep_alive() was not invoked in the 1000ms timelimit (1295). This may cause trouble with GDB connections. Debug: 208 1295 transport.c:255 handle_transport_init(): handle_transport_init Debug: 209 1295 ft2232.c:1480 jtagkey_reset(): trst: 0, srst: 0, high_output: 0x09, high_direction: 0x0f Debug: 210 1295 core.c:713 jtag_add_reset(): SRST line released Debug: 211 1295 core.c:737 jtag_add_reset(): TRST line released Debug: 212 1295 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 213 1496 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init Debug: 214 1496 command.c:151 script_debug(): command - ocd_jtag ocd_jtag arp_init Debug: 215 1496 core.c:1435 jtag_init_inner(): Init JTAG chain Debug: 216 1496 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 217 1496 core.c:1055 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS Debug: 218 1496 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset Info : 219 1498 core.c:955 jtag_examine_chain_display(): JTAG tap: stm32f4xxx.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4) Info : 220 1498 core.c:955 jtag_examine_chain_display(): JTAG tap: stm32f4xxx.bs tap/device found: 0x06413041 (mfg: 0x020, part: 0x6413, ver: 0x0) Debug: 221 1498 core.c:1219 jtag_validate_ircapture(): IR capture validation scan Debug: 222 1500 core.c:1280 jtag_validate_ircapture(): stm32f4xxx.cpu: IR capture 0x01 Debug: 223 1500 core.c:1280 jtag_validate_ircapture(): stm32f4xxx.bs: IR capture 0x01 Debug: 224 1501 openocd.c:150 handle_init_command(): Examining targets... Debug: 225 1501 arm_adi_v5.c:1165 ahbap_debugport_init(): Debug: 226 1502 arm_adi_v5.c:1127 dap_syssec(): DAP: mdmap_init for idcode: 4ba00477 Debug: 227 1504 arm_adi_v5.c:1004 dap_syssec_kinetis_mdmap(): id doesn't match 00000000 != 0x001C0000 Debug: 228 1506 target.c:1733 target_read_u32(): address: 0xe000ed00, value: 0x410fc241 Debug: 229 1506 cortex_m.c:1912 cortex_m3_examine(): cpuid: 0x410fc241 Debug: 230 1508 target.c:1733 target_read_u32(): address: 0xe0002000, value: 0x00000261 Debug: 231 1508 cortex_m.c:1929 cortex_m3_examine(): FPB fpcr 0x261, numcode 6, numlit 2 Debug: 232 1510 target.c:1733 target_read_u32(): address: 0xe0001000, value: 0x40000000 Debug: 233 1510 cortex_m.c:1881 cortex_m3_dwt_setup(): DWT dwtcr 0x40000000, comp 4, watch/trigger Info : 234 1511 cortex_m.c:1938 cortex_m3_examine(): stm32f4xxx.cpu: hardware has 6 breakpoints, 4 watchpoints Debug: 235 1511 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_flash init Debug: 236 1511 command.c:151 script_debug(): command - ocd_flash ocd_flash init Debug: 238 1512 tcl.c:912 handle_flash_init_command(): Initializing flash devices... Debug: 239 1512 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 240 1512 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 241 1512 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 242 1512 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 243 1512 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 244 1512 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 245 1512 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 246 1512 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 247 1512 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 248 1513 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 249 1513 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 250 1513 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_mflash init Debug: 251 1513 command.c:151 script_debug(): command - ocd_mflash ocd_mflash init Debug: 253 1514 mflash.c:1331 handle_mflash_init_command(): Initializing mflash devices... Debug: 254 1515 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_nand init Debug: 255 1515 command.c:151 script_debug(): command - ocd_nand ocd_nand init Debug: 257 1516 tcl.c:521 handle_nand_init_command(): Initializing NAND devices... Debug: 258 1517 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_pld init Debug: 259 1517 command.c:151 script_debug(): command - ocd_pld ocd_pld init Debug: 261 1518 pld.c:232 handle_pld_init_command(): Initializing PLDs... Info : 262 1722 server.c:84 add_connection(): accepting 'gdb' connection from 3333 Debug: 263 1722 breakpoints.c:370 breakpoint_clear_target_internal(): Delete all breakpoints for target: stm32f4xxx.cpu Debug: 264 1722 breakpoints.c:525 watchpoint_clear_target(): Delete all watchpoints for target: stm32f4xxx.cpu Debug: 265 1722 target.c:1190 target_call_event_callbacks(): target event 25 (gdb-attach) Debug: 266 1724 target.c:1733 target_read_u32(): address: 0xe0042000, value: 0x20006411 Info : 267 1724 stm32f2x.c:578 stm32x_probe(): device id = 0x20006411 Info : 268 1724 stm32f2x.c:615 stm32x_probe(): flash size = 1024kBytes Debug: 269 1724 gdb_server.c:880 gdb_new_connection(): New GDB Connection: 1, Target stm32f4xxx.cpu, state: halted Debug: 270 1724 gdb_server.c:2214 gdb_input_inner(): received packet: 'qSupported:qRelocInsn+' Debug: 271 1724 gdb_server.c:2214 gdb_input_inner(): received packet: 'QStartNoAckMode' Warn : 272 1724 gdb_server.c:654 gdb_get_packet_inner(): acknowledgment received, but no packet pending Debug: 273 1724 gdb_server.c:2214 gdb_input_inner(): received packet: 'Hg0' Debug: 274 1725 gdb_server.c:2214 gdb_input_inner(): received packet: '?' User : 275 1725 gdb_server.c:130 gdb_last_signal(): undefined debug reason 6 - target needs reset Debug: 276 1725 gdb_server.c:2214 gdb_input_inner(): received packet: 'Hc-1' Debug: 277 1725 gdb_server.c:2214 gdb_input_inner(): received packet: 'qC' Debug: 278 1725 gdb_server.c:2214 gdb_input_inner(): received packet: 'qAttached' Debug: 279 1725 gdb_server.c:2214 gdb_input_inner(): received packet: 'qOffsets' Debug: 280 1725 gdb_server.c:2214 gdb_input_inner(): received packet: 'g' Debug: 281 1728 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 0 value 0x0 Debug: 282 1732 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 1 value 0x0 Debug: 283 1736 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 2 value 0x0 Debug: 284 1740 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 3 value 0x0 Debug: 285 1744 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 4 value 0x0 Debug: 286 1748 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 5 value 0x0 Debug: 287 1752 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 6 value 0x0 Debug: 288 1756 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 7 value 0x0 Debug: 289 1760 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 8 value 0x0 Debug: 290 1764 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 9 value 0x0 Debug: 291 1768 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 10 value 0x0 Debug: 292 1772 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 11 value 0x0 Debug: 293 1776 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 12 value 0x0 Debug: 294 1780 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 13 value 0x20000800 Debug: 295 1784 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 14 value 0xffffffff Debug: 296 1788 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 15 value 0x800069c Debug: 297 1792 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 16 value 0x1000000 Debug: 298 1792 gdb_server.c:2214 gdb_input_inner(): received packet: 'qXfer:memory-map:read::0,fff' Debug: 299 1793 gdb_server.c:2214 gdb_input_inner(): received packet: 'm800069c,4' Debug: 300 1793 gdb_server.c:1286 gdb_read_memory_packet(): addr: 0x0800069c, len: 0x00000004 Debug: 301 1793 target.c:1571 target_read_buffer(): reading buffer of 4 byte at 0x0800069c Debug: 302 1795 gdb_server.c:2214 gdb_input_inner(): received packet: 'qTStatus' Debug: 303 1795 gdb_server.c:2214 gdb_input_inner(): received packet: 'qRcmd,726573657420696e6974' Debug: 304 1796 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_reset init Debug: 305 1796 command.c:151 script_debug(): command - reset ocd_reset init Debug: 307 1798 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_target names Debug: 308 1798 command.c:151 script_debug(): command - ocd_target ocd_target names Debug: 309 1798 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu invoke-event reset-start Debug: 310 1798 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu invoke-event reset-start Debug: 311 1799 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init-reset Debug: 312 1799 command.c:151 script_debug(): command - ocd_jtag ocd_jtag arp_init-reset Debug: 313 1799 core.c:1530 jtag_init_reset(): Initializing with hard TRST+SRST reset Debug: 314 1799 core.c:726 jtag_add_reset(): JTAG reset with TLR instead of TRST Debug: 315 1799 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 316 1799 core.c:1435 jtag_init_inner(): Init JTAG chain Debug: 317 1799 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 318 1799 core.c:1055 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS Debug: 319 1799 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset Info : 320 1801 core.c:955 jtag_examine_chain_display(): JTAG tap: stm32f4xxx.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4) Info : 321 1801 core.c:955 jtag_examine_chain_display(): JTAG tap: stm32f4xxx.bs tap/device found: 0x06413041 (mfg: 0x020, part: 0x6413, ver: 0x0) Debug: 322 1801 core.c:1219 jtag_validate_ircapture(): IR capture validation scan Debug: 323 1803 core.c:1280 jtag_validate_ircapture(): stm32f4xxx.cpu: IR capture 0x01 Debug: 324 1803 core.c:1280 jtag_validate_ircapture(): stm32f4xxx.bs: IR capture 0x01 Debug: 325 1803 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu cget -chain-position Debug: 326 1803 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu cget -chain-position Debug: 327 1803 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled stm32f4xxx.cpu Debug: 328 1803 command.c:151 script_debug(): command - ocd_jtag ocd_jtag tapisenabled stm32f4xxx.cpu Debug: 329 1803 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu arp_examine Debug: 330 1803 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu arp_examine Debug: 331 1803 arm_adi_v5.c:1165 ahbap_debugport_init(): Debug: 332 1805 arm_adi_v5.c:1127 dap_syssec(): DAP: mdmap_init for idcode: 4ba00477 Debug: 333 1807 arm_adi_v5.c:1004 dap_syssec_kinetis_mdmap(): id doesn't match 00000000 != 0x001C0000 Debug: 334 1807 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu invoke-event reset-assert-pre Debug: 335 1807 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu invoke-event reset-assert-pre Debug: 336 1807 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu cget -chain-position Debug: 337 1808 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu cget -chain-position Debug: 338 1808 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled stm32f4xxx.cpu Debug: 339 1808 command.c:151 script_debug(): command - ocd_jtag ocd_jtag tapisenabled stm32f4xxx.cpu Debug: 340 1808 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu arp_reset assert 1 Debug: 341 1808 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu arp_reset assert 1 Debug: 342 1808 cortex_m.c:1014 cortex_m3_assert_reset(): target->state: halted Debug: 343 1813 cortex_m.c:1101 cortex_m3_assert_reset(): Using Cortex-M3 SYSRESETREQ Debug: 344 1815 cortex_m.c:640 cortex_m3_halt(): target->state: reset Debug: 345 1815 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu invoke-event reset-assert-post Debug: 346 1815 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu invoke-event reset-assert-post Debug: 347 1815 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu invoke-event reset-deassert-pre Debug: 348 1815 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu invoke-event reset-deassert-pre Debug: 349 1816 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu cget -chain-position Debug: 350 1816 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu cget -chain-position Debug: 351 1816 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled stm32f4xxx.cpu Debug: 352 1816 command.c:151 script_debug(): command - ocd_jtag ocd_jtag tapisenabled stm32f4xxx.cpu Debug: 353 1816 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu arp_reset deassert 1 Debug: 354 1816 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu arp_reset deassert 1 Debug: 355 1816 cortex_m.c:1137 cortex_m3_deassert_reset(): target->state: reset Debug: 356 1816 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu invoke-event reset-deassert-post Debug: 357 1816 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu invoke-event reset-deassert-post Debug: 358 1816 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu cget -chain-position Debug: 359 1816 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu cget -chain-position Debug: 360 1816 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled stm32f4xxx.cpu Debug: 361 1816 command.c:151 script_debug(): command - ocd_jtag ocd_jtag tapisenabled stm32f4xxx.cpu Debug: 362 1816 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu arp_waitstate halted 1000 Debug: 363 1816 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu arp_waitstate halted 1000 Debug: 364 1870 cortex_m.c:587 cortex_m3_poll(): Exit from reset with dcb_dhcsr 0x30003 Debug: 365 1872 cortex_m.c:236 cortex_m3_endreset_event(): DCB_DEMCR = 0x01000501 Debug: 366 1876 target.c:1810 target_write_u32(): address: 0xe0002000, value: 0x00000003 Debug: 367 1878 target.c:1810 target_write_u32(): address: 0xe0002008, value: 0x00000000 Debug: 368 1880 target.c:1810 target_write_u32(): address: 0xe000200c, value: 0x00000000 Debug: 369 1882 target.c:1810 target_write_u32(): address: 0xe0002010, value: 0x00000000 Debug: 370 1884 target.c:1810 target_write_u32(): address: 0xe0002014, value: 0x00000000 Debug: 371 1886 target.c:1810 target_write_u32(): address: 0xe0002018, value: 0x00000000 Debug: 372 1888 target.c:1810 target_write_u32(): address: 0xe000201c, value: 0x00000000 Debug: 373 1890 target.c:1810 target_write_u32(): address: 0xe0002020, value: 0x00000000 Debug: 374 1892 target.c:1810 target_write_u32(): address: 0xe0002024, value: 0x00000000 Debug: 375 1894 target.c:1810 target_write_u32(): address: 0xe0001020, value: 0x00000000 Debug: 376 1896 target.c:1810 target_write_u32(): address: 0xe0001024, value: 0x00000000 Debug: 377 1898 target.c:1810 target_write_u32(): address: 0xe0001028, value: 0x00000000 Debug: 378 1900 target.c:1810 target_write_u32(): address: 0xe0001030, value: 0x00000000 Debug: 379 1902 target.c:1810 target_write_u32(): address: 0xe0001034, value: 0x00000000 Debug: 380 1904 target.c:1810 target_write_u32(): address: 0xe0001038, value: 0x00000000 Debug: 381 1906 target.c:1810 target_write_u32(): address: 0xe0001040, value: 0x00000000 Debug: 382 1908 target.c:1810 target_write_u32(): address: 0xe0001044, value: 0x00000000 Debug: 383 1910 target.c:1810 target_write_u32(): address: 0xe0001048, value: 0x00000000 Debug: 384 1912 target.c:1810 target_write_u32(): address: 0xe0001050, value: 0x00000000 Debug: 385 1920 target.c:1810 target_write_u32(): address: 0xe0001054, value: 0x00000000 Debug: 386 1922 target.c:1810 target_write_u32(): address: 0xe0001058, value: 0x00000000 Debug: 387 1928 cortex_m.c:441 cortex_m3_debug_entry(): Debug: 388 1934 cortex_m.c:182 cortex_m3_clear_halt(): NVIC_DFSR 0x9 Debug: 389 1940 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 0 value 0x0 Debug: 390 1944 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 1 value 0x0 Debug: 391 1948 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 2 value 0x0 Debug: 392 1952 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 3 value 0x0 Debug: 393 1956 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 4 value 0x0 Debug: 394 1960 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 5 value 0x0 Debug: 395 1964 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 6 value 0x0 Debug: 396 1968 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 7 value 0x0 Debug: 397 1972 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 8 value 0x0 Debug: 398 1976 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 9 value 0x0 Debug: 399 1980 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 10 value 0x0 Debug: 400 1984 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 11 value 0x0 Debug: 401 1988 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 12 value 0x0 Debug: 402 1992 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 13 value 0x20000800 Debug: 403 1996 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 14 value 0xffffffff Debug: 404 2000 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 15 value 0x800069c Debug: 405 2004 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 16 value 0x1000000 Debug: 406 2008 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 17 value 0x20000800 Debug: 407 2012 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 18 value 0x0 Debug: 408 2016 cortex_m.c:1595 cortex_m3_load_core_reg_u32(): load from special reg 19 value 0x0 Debug: 409 2020 cortex_m.c:1595 cortex_m3_load_core_reg_u32(): load from special reg 20 value 0x0 Debug: 410 2024 cortex_m.c:1595 cortex_m3_load_core_reg_u32(): load from special reg 21 value 0x0 Debug: 411 2028 cortex_m.c:1595 cortex_m3_load_core_reg_u32(): load from special reg 22 value 0x0 Debug: 412 2028 cortex_m.c:519 cortex_m3_debug_entry(): entered debug state in core mode: Thread at PC 0x800069c, target->state: halted Debug: 413 2028 target.c:1190 target_call_event_callbacks(): target event 2 (gdb-halt) Debug: 414 2028 target.c:1190 target_call_event_callbacks(): target event 3 (halted) User : 415 2028 target.c:1467 target_arch_state(): target state: halted User : 416 2028 armv7m.c:489 armv7m_arch_state(): target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x0800069c msp: 0x20000800 Debug: 417 2028 target.c:1190 target_call_event_callbacks(): target event 8 (gdb-end) Debug: 418 2028 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu curstate Debug: 419 2028 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu curstate Debug: 420 2028 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu cget -chain-position Debug: 421 2028 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu cget -chain-position Debug: 422 2028 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled stm32f4xxx.cpu Debug: 423 2028 command.c:151 script_debug(): command - ocd_jtag ocd_jtag tapisenabled stm32f4xxx.cpu Debug: 424 2028 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu arp_waitstate halted 5000 Debug: 425 2028 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu arp_waitstate halted 5000 Debug: 426 2030 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu invoke-event reset-init Debug: 427 2030 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu invoke-event reset-init Debug: 428 2030 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_stm32f4xxx.cpu invoke-event reset-end Debug: 429 2030 command.c:151 script_debug(): command - ocd_stm32f4xxx.cpu ocd_stm32f4xxx.cpu invoke-event reset-end Debug: 430 2034 gdb_server.c:2214 gdb_input_inner(): received packet: 'qRcmd,736c6565702031303030' Debug: 431 2036 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_sleep 1000 Debug: 432 2036 command.c:151 script_debug(): command - sleep ocd_sleep 1000 Debug: 435 3039 gdb_server.c:2214 gdb_input_inner(): received packet: 'qRcmd,736f66745f72657365745f68616c74' Debug: 436 3041 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_soft_reset_halt Debug: 437 3041 command.c:151 script_debug(): command - soft_reset_halt ocd_soft_reset_halt User : 439 3043 target.c:2370 handle_soft_reset_halt_command(): requesting target halt and executing a soft reset Debug: 440 3049 cortex_m.c:717 cortex_m3_soft_reset_halt(): system reset-halted, DHCSR 0x02030003, DFSR 0x00000008 Debug: 441 3051 cortex_m.c:587 cortex_m3_poll(): Exit from reset with dcb_dhcsr 0x30003 Debug: 442 3053 cortex_m.c:236 cortex_m3_endreset_event(): DCB_DEMCR = 0x01000501 Debug: 443 3057 target.c:1810 target_write_u32(): address: 0xe0002000, value: 0x00000003 Debug: 444 3059 target.c:1810 target_write_u32(): address: 0xe0002008, value: 0x00000000 Debug: 445 3061 target.c:1810 target_write_u32(): address: 0xe000200c, value: 0x00000000 Debug: 446 3063 target.c:1810 target_write_u32(): address: 0xe0002010, value: 0x00000000 Debug: 447 3065 target.c:1810 target_write_u32(): address: 0xe0002014, value: 0x00000000 Debug: 448 3067 target.c:1810 target_write_u32(): address: 0xe0002018, value: 0x00000000 Debug: 449 3069 target.c:1810 target_write_u32(): address: 0xe000201c, value: 0x00000000 Debug: 450 3071 target.c:1810 target_write_u32(): address: 0xe0002020, value: 0x00000000 Debug: 451 3073 target.c:1810 target_write_u32(): address: 0xe0002024, value: 0x00000000 Debug: 452 3075 target.c:1810 target_write_u32(): address: 0xe0001020, value: 0x00000000 Debug: 453 3077 target.c:1810 target_write_u32(): address: 0xe0001024, value: 0x00000000 Debug: 454 3079 target.c:1810 target_write_u32(): address: 0xe0001028, value: 0x00000000 Debug: 455 3081 target.c:1810 target_write_u32(): address: 0xe0001030, value: 0x00000000 Debug: 456 3083 target.c:1810 target_write_u32(): address: 0xe0001034, value: 0x00000000 Debug: 457 3085 target.c:1810 target_write_u32(): address: 0xe0001038, value: 0x00000000 Debug: 458 3087 target.c:1810 target_write_u32(): address: 0xe0001040, value: 0x00000000 Debug: 459 3089 target.c:1810 target_write_u32(): address: 0xe0001044, value: 0x00000000 Debug: 460 3091 target.c:1810 target_write_u32(): address: 0xe0001048, value: 0x00000000 Debug: 461 3093 target.c:1810 target_write_u32(): address: 0xe0001050, value: 0x00000000 Debug: 462 3095 target.c:1810 target_write_u32(): address: 0xe0001054, value: 0x00000000 Debug: 463 3097 target.c:1810 target_write_u32(): address: 0xe0001058, value: 0x00000000 Debug: 464 3103 cortex_m.c:441 cortex_m3_debug_entry(): Debug: 465 3109 cortex_m.c:182 cortex_m3_clear_halt(): NVIC_DFSR 0x9 Debug: 466 3115 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 0 value 0x0 Debug: 467 3119 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 1 value 0x0 Debug: 468 3123 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 2 value 0x0 Debug: 469 3127 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 3 value 0x0 Debug: 470 3131 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 4 value 0x0 Debug: 471 3135 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 5 value 0x0 Debug: 472 3139 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 6 value 0x0 Debug: 473 3143 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 7 value 0x0 Debug: 474 3147 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 8 value 0x0 Debug: 475 3151 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 9 value 0x0 Debug: 476 3155 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 10 value 0x0 Debug: 477 3159 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 11 value 0x0 Debug: 478 3163 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 12 value 0x0 Debug: 479 3167 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 13 value 0x20000800 Debug: 480 3171 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 14 value 0xffffffff Debug: 481 3175 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 15 value 0x800069c Debug: 482 3179 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 16 value 0x1000000 Debug: 483 3183 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 17 value 0x20000800 Debug: 484 3187 cortex_m.c:1563 cortex_m3_load_core_reg_u32(): load from core reg 18 value 0x0 Debug: 485 3191 cortex_m.c:1595 cortex_m3_load_core_reg_u32(): load from special reg 19 value 0x0 Debug: 486 3195 cortex_m.c:1595 cortex_m3_load_core_reg_u32(): load from special reg 20 value 0x0 Debug: 487 3199 cortex_m.c:1595 cortex_m3_load_core_reg_u32(): load from special reg 21 value 0x0 Debug: 488 3203 cortex_m.c:1595 cortex_m3_load_core_reg_u32(): load from special reg 22 value 0x0 Debug: 489 3203 cortex_m.c:519 cortex_m3_debug_entry(): entered debug state in core mode: Thread at PC 0x800069c, target->state: halted Debug: 490 3203 target.c:1190 target_call_event_callbacks(): target event 2 (gdb-halt) Debug: 491 3203 target.c:1190 target_call_event_callbacks(): target event 3 (halted) User : 492 3203 target.c:1467 target_arch_state(): target state: halted User : 493 3203 armv7m.c:489 armv7m_arch_state(): target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x0800069c msp: 0x20000800 Debug: 494 3203 target.c:1190 target_call_event_callbacks(): target event 8 (gdb-end) Debug: 495 3205 gdb_server.c:2214 gdb_input_inner(): received packet: 'qfThreadInfo' Debug: 496 3205 gdb_server.c:2214 gdb_input_inner(): received packet: 'qL1200000000000000000' Debug: 497 3401 gdb_server.c:2214 gdb_input_inner(): received packet: 'qL1200000000000000000' Debug: 498 3401 gdb_server.c:2214 gdb_input_inner(): received packet: 'p19' Error: 499 3401 gdb_server.c:1175 gdb_get_register_packet(): gdb requested a non-existing register ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
