GNU MCU Eclipse 64-bits Open On-Chip Debugger 0.10.0+dev-00478-g34180b9 (2017-06-07-21:41) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html User : 13 6 command.c:544 command_print(): debug_level: 3 Debug: 14 6 options.c:181 add_default_dirs(): bindir=bin Debug: 15 7 options.c:182 add_default_dirs(): pkgdatadir= Debug: 16 7 options.c:183 add_default_dirs(): exepath=C:/Program Files/GNU MCU Eclipse/OpenOCD/0.10.0-1-20170607-2132-dev/bin Debug: 17 7 options.c:184 add_default_dirs(): bin2data=../ Debug: 18 7 configuration.c:42 add_script_search_dir(): adding C:\Users\haytick\AppData\Roaming/OpenOCD Debug: 19 8 configuration.c:42 add_script_search_dir(): adding C:/Program Files/GNU MCU Eclipse/OpenOCD/0.10.0-1-20170607-2132-dev/bin/..//site Debug: 20 8 configuration.c:42 add_script_search_dir(): adding C:/Program Files/GNU MCU Eclipse/OpenOCD/0.10.0-1-20170607-2132-dev/bin/..//scripts Debug: 21 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_gdb_port 3333 Debug: 22 10 command.c:143 script_debug(): command - gdb_port ocd_gdb_port 3333 Debug: 24 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_telnet_port 4444 Debug: 25 11 command.c:143 script_debug(): command - telnet_port ocd_telnet_port 4444 Debug: 27 11 configuration.c:82 find_file(): found C:/Program Files/GNU MCU Eclipse/OpenOCD/0.10.0-1-20170607-2132-dev/bin/..//scripts/board\st_nucleo_f0.cfg Debug: 28 13 configuration.c:82 find_file(): found C:/Program Files/GNU MCU Eclipse/OpenOCD/0.10.0-1-20170607-2132-dev/bin/..//scripts/interface/stlink-v2-1.cfg Debug: 29 14 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_interface hla Debug: 30 14 command.c:143 script_debug(): command - interface ocd_interface hla Debug: 32 14 command.c:364 register_command_handler(): registering 'ocd_hla_device_desc'... Debug: 33 15 command.c:364 register_command_handler(): registering 'ocd_hla_serial'... Debug: 34 15 command.c:364 register_command_handler(): registering 'ocd_hla_layout'... Debug: 35 15 command.c:364 register_command_handler(): registering 'ocd_hla_vid_pid'... Debug: 36 16 command.c:364 register_command_handler(): registering 'ocd_hla_command'... Debug: 37 16 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_hla_layout stlink Debug: 38 16 command.c:143 script_debug(): command - hla_layout ocd_hla_layout stlink Debug: 40 17 hla_interface.c:239 hl_interface_handle_layout_command(): hl_interface_handle_layout_command Debug: 41 17 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_hla_device_desc ST-LINK/V2-1 Debug: 42 18 command.c:143 script_debug(): command - hla_device_desc ocd_hla_device_desc ST-LINK/V2-1 Debug: 44 18 hla_interface.c:213 hl_interface_handle_device_desc_command(): hl_interface_handle_device_desc_command Debug: 45 18 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_hla_vid_pid 0x0483 0x374b Debug: 46 19 command.c:143 script_debug(): command - hla_vid_pid ocd_hla_vid_pid 0x0483 0x374b Debug: 48 19 hla_interface.c:267 hl_interface_handle_vid_pid_command(): hl_interface_handle_vid_pid_command Debug: 49 19 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select hla_swd Debug: 50 20 command.c:143 script_debug(): command - ocd_transport ocd_transport select hla_swd Debug: 51 20 hla_transport.c:191 hl_transport_select(): hl_transport_select Debug: 52 20 command.c:364 register_command_handler(): registering 'ocd_hla'... Debug: 53 20 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 54 21 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 55 21 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 56 21 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 57 21 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 58 22 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 59 22 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 60 22 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 61 22 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 62 23 command.c:364 register_command_handler(): registering 'ocd_jtag_ntrst_delay'... Debug: 63 24 configuration.c:82 find_file(): found C:/Program Files/GNU MCU Eclipse/OpenOCD/0.10.0-1-20170607-2132-dev/bin/..//scripts/target/stm32f0x.cfg Debug: 64 25 configuration.c:82 find_file(): found C:/Program Files/GNU MCU Eclipse/OpenOCD/0.10.0-1-20170607-2132-dev/bin/..//scripts/target/swj-dp.tcl Debug: 65 26 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 66 26 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 67 27 configuration.c:82 find_file(): found C:/Program Files/GNU MCU Eclipse/OpenOCD/0.10.0-1-20170607-2132-dev/bin/..//scripts/mem_helper.tcl Debug: 68 28 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mrw address Debug: 69 28 command.c:143 script_debug(): command - add_usage_text ocd_add_usage_text mrw address Debug: 71 28 command.c:1098 help_add_command(): added 'mrw' help text Debug: 72 29 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mrw Returns value of word in memory. Debug: 73 29 command.c:143 script_debug(): command - add_help_text ocd_add_help_text mrw Returns value of word in memory. Debug: 75 29 command.c:1111 help_add_command(): added 'mrw' help text Debug: 76 29 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mrb address Debug: 77 30 command.c:143 script_debug(): command - add_usage_text ocd_add_usage_text mrb address Debug: 79 30 command.c:1098 help_add_command(): added 'mrb' help text Debug: 80 30 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mrb Returns value of byte in memory. Debug: 81 31 command.c:143 script_debug(): command - add_help_text ocd_add_help_text mrb Returns value of byte in memory. Debug: 83 31 command.c:1111 help_add_command(): added 'mrb' help text Debug: 84 32 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mmw address setbits clearbits Debug: 85 32 command.c:143 script_debug(): command - add_usage_text ocd_add_usage_text mmw address setbits clearbits Debug: 87 32 command.c:1098 help_add_command(): added 'mmw' help text Debug: 88 33 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mmw Modify word in memory. new_val = (old_val & ~clearbits) | setbits; Debug: 89 33 command.c:143 script_debug(): command - add_help_text ocd_add_help_text mmw Modify word in memory. new_val = (old_val & ~clearbits) | setbits; Debug: 91 33 command.c:1111 help_add_command(): added 'mmw' help text Debug: 92 34 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 93 35 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 94 35 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 95 35 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 96 36 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 97 36 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 98 37 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_hla newtap stm32f0x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x0bb11477 Debug: 99 37 command.c:143 script_debug(): command - ocd_hla ocd_hla newtap stm32f0x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x0bb11477 Debug: 100 38 hla_tcl.c:116 jim_hl_newtap_cmd(): Creating New Tap, Chip: stm32f0x, Tap: cpu, Dotted: stm32f0x.cpu, 8 params Debug: 101 38 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -irlen Debug: 102 39 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -ircapture Debug: 103 39 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -irmask Debug: 104 39 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -expected-id Debug: 105 39 core.c:1426 jtag_tap_init(): Created Tap: stm32f0x.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0 Debug: 106 40 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target create stm32f0x.cpu cortex_m -endian little -chain-position stm32f0x.cpu Debug: 107 41 command.c:143 script_debug(): command - ocd_target ocd_target create stm32f0x.cpu cortex_m -endian little -chain-position stm32f0x.cpu Info : 108 41 target.c:5553 target_create(): The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD Debug: 109 42 target.c:1959 target_free_all_working_areas_restore(): freeing all working areas Debug: 110 42 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 111 42 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 112 43 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 113 43 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 114 43 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 115 44 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 116 44 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 117 44 command.c:364 register_command_handler(): registering 'ocd_tpiu'... Debug: 118 45 command.c:364 register_command_handler(): registering 'ocd_itm'... Debug: 119 49 command.c:364 register_command_handler(): registering 'ocd_itm'... Debug: 120 50 hla_target.c:351 adapter_target_create(): adapter_target_create Debug: 121 52 hla_target.c:322 adapter_init_arch_info(): adapter_init_arch_info Debug: 122 52 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 123 53 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 124 53 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 125 53 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 126 53 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 127 54 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 128 54 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 129 54 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 130 54 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 131 55 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 132 55 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 133 55 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 134 56 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 135 56 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 136 56 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 137 56 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 138 57 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 139 57 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 140 57 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 141 57 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 142 58 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 143 58 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 144 58 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 145 58 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 146 59 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 147 59 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 148 59 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 149 59 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 150 60 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 151 60 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 152 60 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 153 60 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 154 61 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 155 61 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'... Debug: 156 62 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x1000 -work-area-backup 0 Debug: 157 62 command.c:143 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x1000 -work-area-backup 0 Debug: 158 63 target.c:1959 target_free_all_working_areas_restore(): freeing all working areas Debug: 159 63 target.c:1959 target_free_all_working_areas_restore(): freeing all working areas Debug: 160 63 target.c:1959 target_free_all_working_areas_restore(): freeing all working areas Debug: 161 64 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash bank stm32f0x.flash stm32f1x 0x08000000 0 0 0 stm32f0x.cpu Debug: 162 64 command.c:143 script_debug(): command - ocd_flash ocd_flash bank stm32f0x.flash stm32f1x 0x08000000 0 0 0 stm32f0x.cpu Debug: 164 65 command.c:364 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 165 65 command.c:364 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 166 65 command.c:364 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 167 65 command.c:364 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 168 66 command.c:364 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 169 66 tcl.c:1041 handle_flash_bank_command(): 'stm32f1x' driver usage field missing Debug: 170 66 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 1000 Debug: 171 67 command.c:143 script_debug(): command - adapter_khz ocd_adapter_khz 1000 Debug: 173 67 core.c:1753 jtag_config_khz(): handle jtag khz Debug: 174 69 core.c:1720 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 175 74 core.c:1720 adapter_khz_to_speed(): convert khz to interface specific speed value User : 176 76 command.c:544 command_print(): adapter speed: 1000 kHz Debug: 177 77 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 100 Debug: 178 77 command.c:143 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 100 User : 180 77 command.c:544 command_print(): adapter_nsrst_delay: 100 Debug: 181 78 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_nogate Debug: 182 78 command.c:143 script_debug(): command - reset_config ocd_reset_config srst_nogate User : 184 79 command.c:544 command_print(): none separate Debug: 185 79 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 186 79 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 187 80 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -event examine-end stm32f0x_default_examine_end Debug: 188 81 command.c:143 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -event examine-end stm32f0x_default_examine_end Debug: 189 81 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -event reset-start stm32f0x_default_reset_start Debug: 190 82 command.c:143 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -event reset-start stm32f0x_default_reset_start Debug: 191 82 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -event reset-init stm32f0x_default_reset_init Debug: 192 83 command.c:143 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -event reset-init stm32f0x_default_reset_init Debug: 193 84 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_only Debug: 194 84 command.c:143 script_debug(): command - reset_config ocd_reset_config srst_only User : 196 84 command.c:544 command_print(): srst_only separate srst_nogate srst_open_drain connect_deassert_srst Debug: 197 85 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_echo Started by GNU ARM Eclipse Debug: 198 85 command.c:143 script_debug(): command - echo ocd_echo Started by GNU ARM Eclipse User : 200 85 command.c:762 jim_echo(): Started by GNU ARM Eclipse Debug: 201 89 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_init Debug: 202 89 command.c:143 script_debug(): command - init ocd_init Debug: 204 89 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target init Debug: 205 90 command.c:143 script_debug(): command - ocd_target ocd_target init Debug: 207 90 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target names Debug: 208 96 command.c:143 script_debug(): command - ocd_target ocd_target names Debug: 209 96 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu cget -event gdb-flash-erase-start Debug: 210 97 command.c:143 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu cget -event gdb-flash-erase-start Debug: 211 97 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -event gdb-flash-erase-start reset init Debug: 212 98 command.c:143 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -event gdb-flash-erase-start reset init Debug: 213 99 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu cget -event gdb-flash-write-end Debug: 214 100 command.c:143 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu cget -event gdb-flash-write-end Debug: 215 100 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -event gdb-flash-write-end reset halt Debug: 216 100 command.c:143 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -event gdb-flash-write-end reset halt Debug: 217 101 target.c:1368 handle_target_init_command(): Initializing targets... Debug: 218 101 hla_target.c:341 adapter_init_target(): adapter_init_target Debug: 219 114 command.c:364 register_command_handler(): registering 'ocd_target_request'... Debug: 220 114 command.c:364 register_command_handler(): registering 'ocd_trace'... Debug: 221 115 command.c:364 register_command_handler(): registering 'ocd_trace'... Debug: 222 115 command.c:364 register_command_handler(): registering 'ocd_fast_load_image'... Debug: 223 115 command.c:364 register_command_handler(): registering 'ocd_fast_load'... Debug: 224 116 command.c:364 register_command_handler(): registering 'ocd_profile'... Debug: 225 116 command.c:364 register_command_handler(): registering 'ocd_virt2phys'... Debug: 226 117 command.c:364 register_command_handler(): registering 'ocd_reg'... Debug: 227 117 command.c:364 register_command_handler(): registering 'ocd_poll'... Debug: 228 118 command.c:364 register_command_handler(): registering 'ocd_wait_halt'... Debug: 229 118 command.c:364 register_command_handler(): registering 'ocd_halt'... Debug: 230 118 command.c:364 register_command_handler(): registering 'ocd_resume'... Debug: 231 119 command.c:364 register_command_handler(): registering 'ocd_reset'... Debug: 232 119 command.c:364 register_command_handler(): registering 'ocd_soft_reset_halt'... Debug: 233 119 command.c:364 register_command_handler(): registering 'ocd_step'... Debug: 234 120 command.c:364 register_command_handler(): registering 'ocd_mdd'... Debug: 235 120 command.c:364 register_command_handler(): registering 'ocd_mdw'... Debug: 236 121 command.c:364 register_command_handler(): registering 'ocd_mdh'... Debug: 237 121 command.c:364 register_command_handler(): registering 'ocd_mdb'... Debug: 238 121 command.c:364 register_command_handler(): registering 'ocd_mwd'... Debug: 239 122 command.c:364 register_command_handler(): registering 'ocd_mww'... Debug: 240 122 command.c:364 register_command_handler(): registering 'ocd_mwh'... Debug: 241 123 command.c:364 register_command_handler(): registering 'ocd_mwb'... Debug: 242 123 command.c:364 register_command_handler(): registering 'ocd_bp'... Debug: 243 123 command.c:364 register_command_handler(): registering 'ocd_rbp'... Debug: 244 124 command.c:364 register_command_handler(): registering 'ocd_wp'... Debug: 245 124 command.c:364 register_command_handler(): registering 'ocd_rwp'... Debug: 246 124 command.c:364 register_command_handler(): registering 'ocd_load_image'... Debug: 247 126 command.c:364 register_command_handler(): registering 'ocd_dump_image'... Debug: 248 126 command.c:364 register_command_handler(): registering 'ocd_verify_image_checksum'... Debug: 249 128 command.c:364 register_command_handler(): registering 'ocd_verify_image'... Debug: 250 128 command.c:364 register_command_handler(): registering 'ocd_test_image'... Debug: 251 128 command.c:364 register_command_handler(): registering 'ocd_reset_nag'... Debug: 252 129 command.c:364 register_command_handler(): registering 'ocd_ps'... Debug: 253 129 command.c:364 register_command_handler(): registering 'ocd_test_mem_access'... Debug: 254 130 hla_interface.c:109 hl_interface_init(): hl_interface_init Debug: 255 130 hla_layout.c:83 hl_layout_init(): hl_layout_init Debug: 256 130 core.c:1720 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 257 130 core.c:1723 adapter_khz_to_speed(): have interface set up Info : 258 130 stlink_usb.c:1608 stlink_speed(): Unable to match requested speed 1000 kHz, using 950 kHz Debug: 259 132 core.c:1720 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 260 132 core.c:1723 adapter_khz_to_speed(): have interface set up Info : 261 133 stlink_usb.c:1608 stlink_speed(): Unable to match requested speed 1000 kHz, using 950 kHz Info : 262 133 core.c:1508 adapter_init(): clock speed 950 kHz Debug: 263 133 openocd.c:164 handle_init_command(): Debug Adapter init complete Debug: 264 133 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport init Debug: 265 134 command.c:143 script_debug(): command - ocd_transport ocd_transport init Debug: 267 135 transport.c:239 handle_transport_init(): handle_transport_init Debug: 268 135 hla_transport.c:152 hl_transport_init(): hl_transport_init Debug: 269 135 hla_transport.c:169 hl_transport_init(): current transport hla_swd Debug: 270 136 hla_interface.c:42 hl_interface_open(): hl_interface_open Debug: 271 136 hla_layout.c:40 hl_layout_open(): hl_layout_open Debug: 272 136 stlink_usb.c:1642 stlink_usb_open(): stlink_usb_open Debug: 273 137 stlink_usb.c:1659 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x374b serial: Info : 274 441 stlink_usb.c:563 stlink_usb_version(): STLINK v2 JTAG v27 API v2 SWIM v15 VID 0x0483 PID 0x374B Info : 275 441 stlink_usb.c:1770 stlink_usb_open(): using stlink api v2 Debug: 276 443 stlink_usb.c:762 stlink_usb_init_mode(): MODE: 0x01 Info : 277 445 stlink_usb.c:595 stlink_usb_check_voltage(): Target voltage: 3.257933 Debug: 278 445 stlink_usb.c:817 stlink_usb_init_mode(): MODE: 0x01 Debug: 279 446 stlink_usb.c:843 stlink_usb_init_mode(): MODE: 0x02 Debug: 280 446 stlink_usb.c:1785 stlink_usb_open(): Supported clock speeds are: Debug: 281 446 stlink_usb.c:1788 stlink_usb_open(): 4000 kHz Debug: 282 447 stlink_usb.c:1788 stlink_usb_open(): 1800 kHz Debug: 283 447 stlink_usb.c:1788 stlink_usb_open(): 1200 kHz Debug: 284 447 stlink_usb.c:1788 stlink_usb_open(): 950 kHz Debug: 285 447 stlink_usb.c:1788 stlink_usb_open(): 480 kHz Debug: 286 447 stlink_usb.c:1788 stlink_usb_open(): 240 kHz Debug: 287 448 stlink_usb.c:1788 stlink_usb_open(): 125 kHz Debug: 288 448 stlink_usb.c:1788 stlink_usb_open(): 100 kHz Debug: 289 448 stlink_usb.c:1788 stlink_usb_open(): 50 kHz Debug: 290 448 stlink_usb.c:1788 stlink_usb_open(): 25 kHz Debug: 291 449 stlink_usb.c:1788 stlink_usb_open(): 15 kHz Debug: 292 449 stlink_usb.c:1788 stlink_usb_open(): 5 kHz Debug: 293 450 stlink_usb.c:1808 stlink_usb_open(): Using TAR autoincrement: 1024 Debug: 294 451 hla_interface.c:127 hl_interface_execute_queue(): hl_interface_execute_queue: ignored Debug: 295 451 core.c:729 jtag_add_reset(): SRST line released Debug: 296 451 core.c:753 jtag_add_reset(): TRST line released Debug: 297 452 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 298 452 hla_interface.c:67 hl_interface_init_target(): hl_interface_init_target Debug: 299 453 stlink_usb.c:868 stlink_usb_idcode(): IDCODE: 0x0BB11477 Debug: 300 453 openocd.c:177 handle_init_command(): Examining targets... Debug: 301 454 target.c:1561 target_call_event_callbacks(): target event 21 (examine-start) Debug: 302 454 hla_target.c:751 adapter_read_memory(): adapter_read_memory 0xe000ed00 4 1 Debug: 303 455 target.c:2311 target_read_u32(): address: 0xe000ed00, value: 0x410cc200 Debug: 304 455 cortex_m.c:1947 cortex_m_examine(): Cortex-M0 r0p0 processor detected Debug: 305 456 cortex_m.c:1955 cortex_m_examine(): cpuid: 0x410cc200 Debug: 306 456 target.c:2399 target_write_u32(): address: 0xe000edfc, value: 0x01000000 Debug: 307 456 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe000edfc 4 1 Debug: 308 457 hla_target.c:751 adapter_read_memory(): adapter_read_memory 0xe0002000 4 1 Debug: 309 459 target.c:2311 target_read_u32(): address: 0xe0002000, value: 0x00000040 Debug: 310 459 target.c:2399 target_write_u32(): address: 0xe0002008, value: 0x00000000 Debug: 311 459 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0002008 4 1 Debug: 312 460 target.c:2399 target_write_u32(): address: 0xe000200c, value: 0x00000000 Debug: 313 460 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe000200c 4 1 Debug: 314 462 target.c:2399 target_write_u32(): address: 0xe0002010, value: 0x00000000 Debug: 315 462 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0002010 4 1 Debug: 316 463 target.c:2399 target_write_u32(): address: 0xe0002014, value: 0x00000000 Debug: 317 463 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0002014 4 1 Debug: 318 465 cortex_m.c:2046 cortex_m_examine(): FPB fpcr 0x40, numcode 4, numlit 0 Debug: 319 465 hla_target.c:751 adapter_read_memory(): adapter_read_memory 0xe0001000 4 1 Debug: 320 520 target.c:2311 target_read_u32(): address: 0xe0001000, value: 0x20000000 Debug: 321 520 target.c:2399 target_write_u32(): address: 0xe0001028, value: 0x00000000 Debug: 322 521 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0001028 4 1 Debug: 323 522 target.c:2399 target_write_u32(): address: 0xe0001038, value: 0x00000000 Debug: 324 522 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0001038 4 1 Debug: 325 524 cortex_m.c:1857 cortex_m_dwt_setup(): DWT dwtcr 0x20000000, comp 2, watch/trigger Info : 326 524 cortex_m.c:2056 cortex_m_examine(): stm32f0x.cpu: hardware has 4 breakpoints, 2 watchpoints Debug: 327 524 target.c:1561 target_call_event_callbacks(): target event 22 (examine-end) Debug: 328 525 target.c:4500 target_handle_event(): target: (0) stm32f0x.cpu (hla_target) event: 22 (examine-end) action: stm32f0x_default_examine_end Debug: 329 525 hla_target.c:751 adapter_read_memory(): adapter_read_memory 0x40015804 4 1 Debug: 330 531 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_mww 0x40015804 6 Debug: 331 532 command.c:143 script_debug(): command - mww ocd_mww 0x40015804 6 Debug: 334 533 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0x40015804 4 1 Debug: 335 534 hla_target.c:751 adapter_read_memory(): adapter_read_memory 0x40015808 4 1 Debug: 336 537 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_mww 0x40015808 6144 Debug: 337 538 command.c:143 script_debug(): command - mww ocd_mww 0x40015808 6144 Debug: 339 543 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0x40015808 4 1 Debug: 340 545 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash init Debug: 341 546 command.c:143 script_debug(): command - ocd_flash ocd_flash init Debug: 343 550 tcl.c:1107 handle_flash_init_command(): Initializing flash devices... Debug: 344 550 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 345 551 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 346 551 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 347 552 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 348 552 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 349 558 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 350 558 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 351 558 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 352 559 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 353 559 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 354 559 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 355 560 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 356 560 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 357 560 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 358 561 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_mflash init Debug: 359 571 command.c:143 script_debug(): command - ocd_mflash ocd_mflash init Debug: 361 575 mflash.c:1377 handle_mflash_init_command(): Initializing mflash devices... Debug: 362 576 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_nand init Debug: 363 576 command.c:143 script_debug(): command - ocd_nand ocd_nand init Debug: 365 586 tcl.c:497 handle_nand_init_command(): Initializing NAND devices... Debug: 366 586 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_pld init Debug: 367 587 command.c:143 script_debug(): command - ocd_pld ocd_pld init Debug: 369 593 pld.c:205 handle_pld_init_command(): Initializing PLDs... Info : 370 1115 server.c:96 add_connection(): accepting 'gdb' connection on tcp/3333 Debug: 371 1115 breakpoints.c:357 breakpoint_clear_target_internal(): Delete all breakpoints for target: stm32f0x.cpu Debug: 372 1115 breakpoints.c:497 watchpoint_clear_target(): Delete all watchpoints for target: stm32f0x.cpu Debug: 373 1116 target.c:1561 target_call_event_callbacks(): target event 23 (gdb-attach) Debug: 374 1116 hla_target.c:751 adapter_read_memory(): adapter_read_memory 0xe000ed00 4 1 Debug: 375 1117 target.c:2311 target_read_u32(): address: 0xe000ed00, value: 0x410cc200 Debug: 376 1121 hla_target.c:751 adapter_read_memory(): adapter_read_memory 0x40015800 4 1 Debug: 377 1123 target.c:2311 target_read_u32(): address: 0x40015800, value: 0x20016448 Info : 378 1123 stm32f1x.c:866 stm32x_probe(): device id = 0x20016448 Debug: 379 1123 hla_target.c:751 adapter_read_memory(): adapter_read_memory 0xe000ed00 4 1 Debug: 380 1124 target.c:2311 target_read_u32(): address: 0xe000ed00, value: 0x410cc200 Debug: 381 1124 hla_target.c:751 adapter_read_memory(): adapter_read_memory 0x1ffff7cc 2 1 Debug: 382 1125 target.c:2335 target_read_u16(): address: 0x1ffff7cc, value: 0x0080 Info : 383 1126 stm32f1x.c:994 stm32x_probe(): flash size = 128kbytes Debug: 384 1126 gdb_server.c:996 gdb_new_connection(): New GDB Connection: 1, Target stm32f0x.cpu, state: running Debug: 385 1126 gdb_server.c:2868 gdb_input_inner(): received packet: 'qSupported:multiprocess+;swbreak+;hwbreak+;qRelocInsn+;fork-events+;vfork-events+;exec-events+;vContSupported+;QThreadEvents+;no-resumed+' Debug: 386 1127 gdb_server.c:2868 gdb_input_inner(): received packet: 'vMustReplyEmpty' Debug: 387 1127 gdb_server.c:2868 gdb_input_inner(): received packet: 'QStartNoAckMode' Debug: 388 1128 gdb_server.c:632 gdb_get_packet_inner(): Received first acknowledgment after entering noack mode. Ignoring it. Debug: 389 1129 gdb_server.c:2868 gdb_input_inner(): received packet: 'Hg0' Debug: 390 1129 gdb_server.c:2868 gdb_input_inner(): received packet: 'qXfer:features:read:target.xml:0,fff' Debug: 391 1134 gdb_server.c:2868 gdb_input_inner(): received packet: 'qTStatus' Debug: 392 1134 gdb_server.c:2868 gdb_input_inner(): received packet: '?' User : 393 1134 gdb_server.c:153 gdb_last_signal(): undefined debug reason 7 - target needs reset Debug: 394 1135 gdb_server.c:2868 gdb_input_inner(): received packet: 'qXfer:threads:read::0,fff' Debug: 395 1136 gdb_server.c:2868 gdb_input_inner(): received packet: 'Hc-1' Debug: 396 1137 gdb_server.c:2868 gdb_input_inner(): received packet: 'qC' Debug: 397 1137 gdb_server.c:2868 gdb_input_inner(): received packet: 'qAttached' Debug: 398 1144 gdb_server.c:2868 gdb_input_inner(): received packet: 'g' Debug: 399 1145 gdb_server.c:1174 gdb_get_registers_packet(): Couldn't get register r0. Debug: 400 1145 gdb_server.c:1386 gdb_error(): Reporting -304 to GDB as generic error Debug: 401 1145 gdb_server.c:1022 gdb_connection_closed(): GDB Close, Target: stm32f0x.cpu, state: running, gdb_actual_connections=0 Debug: 402 1146 target.c:1561 target_call_event_callbacks(): target event 6 (gdb-end) Debug: 403 1146 target.c:1561 target_call_event_callbacks(): target event 24 (gdb-detach) Info : 404 1146 server.c:520 server_loop(): dropped 'gdb' connection