I. COMMAND: =========== C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.externaltools.openocd.win32_1.2.0.201505291716\tools\openocd\bin\openocd.exe -f c:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.debug_1.2.0.201506021103\resources\openocd\scripts\board\stm32f3discovery.cfg -d3 -l d:\openocd_SysWb_log.txt II. RESPONSE (log is generated in file 'openocd_SysWb_log.txt'): ================================================================ Open On-Chip Debugger 0.9.0-dev-00415-g2d4ae3f-dirty (2015-04-22-11:10) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html User : 13 0 command.c:546 command_print(): debug_level: 3 Debug: 14 16 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_log_output d:openocd_SysWb_log.txt Debug: 15 16 command.c:145 script_debug(): command - log_output ocd_log_output d:openocd_SysWb_log.txt III. Log file - openocd_SysWb_log.txt ===================================== Debug: 17 32 options.c:98 add_default_dirs(): bindir=/usr/bin Debug: 18 32 options.c:99 add_default_dirs(): pkgdatadir=/usr/share/openocd Debug: 19 32 options.c:100 add_default_dirs(): run_prefix=C:/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.openocd.win32_1.2.0.201505291716/tools/openocd/bin Debug: 20 32 configuration.c:44 add_script_search_dir(): adding C:\Users\ciprian\AppData\Roaming/OpenOCD Debug: 21 47 configuration.c:44 add_script_search_dir(): adding C:/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.openocd.win32_1.2.0.201505291716/tools/openocd/bin/usr/share/openocd/site Debug: 22 47 configuration.c:44 add_script_search_dir(): adding C:/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.openocd.win32_1.2.0.201505291716/tools/openocd/bin/usr/share/openocd/scripts Debug: 23 47 configuration.c:84 find_file(): found c:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.debug_1.2.0.201506021103\resources\openocd\scripts\board\stm32f3discovery.cfg User : 24 47 command.c:689 command_run_line(): c:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.debug_1.2.0.201506021103\resources\openocd\scripts\board\stm32f3discovery.cfg:4: Error: Can't find interface/stlink-v2.cfg in procedure 'script' at file "embedded:startup.tcl", line 60 at file "c:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.debug_1.2.0.201506021103\resources\openocd\scripts\board\stm32f3discovery.cfg", line 4 The same for Freddie Chopin build I. COMMAND: =========== C:\openocd-0.9.0_fc\bin\openocd.exe -f c:\openocd-0.9.0_fc\scripts\board\stm32f3discovery.cfg -d3 -l d:\openocd_log_fc.txt II. RESPONSE (log is generated in file 'openocd_log_fc.txt'): ============================================================= Open On-Chip Debugger 0.9.0 (2015-05-19-12:06) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html User : 13 0 command.c:546 command_print(): debug_level: 3 Debug: 14 16 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_log_output d:openocd_log_fc.txt Debug: 15 16 command.c:145 script_debug(): command - log_output ocd_log_output d:openocd_log_fc.txt III. Log file - openocd_log_fc.txt ================================== Debug: 17 32 options.c:98 add_default_dirs(): bindir=bin Debug: 18 32 options.c:99 add_default_dirs(): pkgdatadir= Debug: 19 32 options.c:100 add_default_dirs(): run_prefix=C:/openocd-0.9.0_fc/ Debug: 20 32 configuration.c:44 add_script_search_dir(): adding C:\Users\ciprian\AppData\Roaming/OpenOCD Debug: 21 32 configuration.c:44 add_script_search_dir(): adding C:/openocd-0.9.0_fc//site Debug: 22 32 configuration.c:44 add_script_search_dir(): adding C:/openocd-0.9.0_fc//scripts Debug: 23 32 configuration.c:84 find_file(): found c:\openocd-0.9.0_fc\scripts\board\stm32f3discovery.cfg Debug: 24 32 configuration.c:84 find_file(): found C:/openocd-0.9.0_fc//scripts/interface/stlink-v2.cfg Debug: 25 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface hla Debug: 26 32 command.c:145 script_debug(): command - interface ocd_interface hla Debug: 28 32 command.c:366 register_command_handler(): registering 'ocd_hla_device_desc'... Debug: 29 32 command.c:366 register_command_handler(): registering 'ocd_hla_serial'... Debug: 30 32 command.c:366 register_command_handler(): registering 'ocd_hla_layout'... Debug: 31 32 command.c:366 register_command_handler(): registering 'ocd_hla_vid_pid'... Debug: 32 32 command.c:366 register_command_handler(): registering 'ocd_hla_command'... Debug: 33 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_hla_layout stlink Debug: 34 32 command.c:145 script_debug(): command - hla_layout ocd_hla_layout stlink Debug: 36 32 hla_interface.c:241 hl_interface_handle_layout_command(): hl_interface_handle_layout_command Debug: 37 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_hla_device_desc ST-LINK/V2 Debug: 38 32 command.c:145 script_debug(): command - hla_device_desc ocd_hla_device_desc ST-LINK/V2 Debug: 40 32 hla_interface.c:215 hl_interface_handle_device_desc_command(): hl_interface_handle_device_desc_command Debug: 41 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_hla_vid_pid 0x0483 0x3748 Debug: 42 32 command.c:145 script_debug(): command - hla_vid_pid ocd_hla_vid_pid 0x0483 0x3748 Debug: 44 32 hla_interface.c:269 hl_interface_handle_vid_pid_command(): hl_interface_handle_vid_pid_command Debug: 45 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select hla_swd Debug: 46 32 command.c:145 script_debug(): command - ocd_transport ocd_transport select hla_swd Debug: 47 32 hla_transport.c:193 hl_transport_select(): hl_transport_select Debug: 48 32 command.c:366 register_command_handler(): registering 'ocd_hla'... Debug: 49 32 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 50 32 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 51 32 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 52 32 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 53 32 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 54 32 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 55 32 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 56 32 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 57 32 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 58 32 command.c:366 register_command_handler(): registering 'ocd_jtag_ntrst_delay'... Debug: 59 32 configuration.c:84 find_file(): found C:/openocd-0.9.0_fc//scripts/target/stm32f3x.cfg Debug: 60 32 configuration.c:84 find_file(): found C:/openocd-0.9.0_fc//scripts/target/swj-dp.tcl Debug: 61 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 62 32 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 63 32 configuration.c:84 find_file(): found C:/openocd-0.9.0_fc//scripts/mem_helper.tcl Debug: 64 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mrw address Debug: 65 32 command.c:145 script_debug(): command - add_usage_text ocd_add_usage_text mrw address Debug: 67 32 command.c:1100 help_add_command(): added 'mrw' help text Debug: 68 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mrw Returns value of word in memory. Debug: 69 32 command.c:145 script_debug(): command - add_help_text ocd_add_help_text mrw Returns value of word in memory. Debug: 71 32 command.c:1113 help_add_command(): added 'mrw' help text Debug: 72 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mmw address setbits clearbits Debug: 73 32 command.c:145 script_debug(): command - add_usage_text ocd_add_usage_text mmw address setbits clearbits Debug: 75 32 command.c:1100 help_add_command(): added 'mmw' help text Debug: 76 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mmw Modify word in memory. new_val = (old_val & ~clearbits) | setbits; Debug: 77 32 command.c:145 script_debug(): command - add_help_text ocd_add_help_text mmw Modify word in memory. new_val = (old_val & ~clearbits) | setbits; Debug: 79 32 command.c:1113 help_add_command(): added 'mmw' help text Debug: 80 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 1000 Debug: 81 32 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 1000 Debug: 83 32 core.c:1629 jtag_config_khz(): handle jtag khz Debug: 84 32 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 85 32 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value User : 86 32 command.c:546 command_print(): adapter speed: 1000 kHz Debug: 87 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 100 Debug: 88 32 command.c:145 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 100 User : 90 32 command.c:546 command_print(): adapter_nsrst_delay: 100 Debug: 91 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 92 32 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 93 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 94 32 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 95 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 96 32 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 97 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 98 32 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 99 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 100 32 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 101 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_hla newtap stm32f3x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x2ba01477 Debug: 102 32 command.c:145 script_debug(): command - ocd_hla ocd_hla newtap stm32f3x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x2ba01477 Debug: 103 32 hla_tcl.c:116 jim_hl_newtap_cmd(): Creating New Tap, Chip: stm32f3x, Tap: cpu, Dotted: stm32f3x.cpu, 8 params Debug: 104 32 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -irlen Debug: 105 32 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -ircapture Debug: 106 32 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -irmask Debug: 107 32 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -expected-id Debug: 108 32 core.c:1302 jtag_tap_init(): Created Tap: stm32f3x.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0 Debug: 109 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 110 32 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 111 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target create stm32f3x.cpu cortex_m -endian little -chain-position stm32f3x.cpu Debug: 112 32 command.c:145 script_debug(): command - ocd_target ocd_target create stm32f3x.cpu cortex_m -endian little -chain-position stm32f3x.cpu Info : 113 32 target.c:5178 target_create(): The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD Debug: 114 32 target.c:1837 target_free_all_working_areas_restore(): freeing all working areas Debug: 115 32 command.c:366 register_command_handler(): registering 'ocd_arm'... Debug: 116 32 command.c:366 register_command_handler(): registering 'ocd_arm'... Debug: 117 32 command.c:366 register_command_handler(): registering 'ocd_arm'... Debug: 118 32 command.c:366 register_command_handler(): registering 'ocd_arm'... Debug: 119 32 command.c:366 register_command_handler(): registering 'ocd_arm'... Debug: 120 32 command.c:366 register_command_handler(): registering 'ocd_arm'... Debug: 121 32 command.c:366 register_command_handler(): registering 'ocd_tpiu'... Debug: 122 32 command.c:366 register_command_handler(): registering 'ocd_itm'... Debug: 123 32 command.c:366 register_command_handler(): registering 'ocd_itm'... Debug: 124 32 hla_target.c:353 adapter_target_create(): adapter_target_create Debug: 125 32 hla_target.c:324 adapter_init_arch_info(): adapter_init_arch_info Debug: 126 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 127 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 128 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 129 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 130 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 131 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 132 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 133 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 134 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 135 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 136 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 137 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 138 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 139 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 140 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 141 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 142 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 143 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 144 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 145 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 146 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 147 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 148 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 149 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 150 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 151 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 152 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 153 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 154 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 155 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 156 32 command.c:366 register_command_handler(): registering 'ocd_stm32f3x.cpu'... Debug: 157 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f3x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x4000 -work-area-backup 0 Debug: 158 32 command.c:145 script_debug(): command - ocd_stm32f3x.cpu ocd_stm32f3x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x4000 -work-area-backup 0 Debug: 159 32 target.c:1837 target_free_all_working_areas_restore(): freeing all working areas Debug: 160 32 target.c:1837 target_free_all_working_areas_restore(): freeing all working areas Debug: 161 32 target.c:1837 target_free_all_working_areas_restore(): freeing all working areas Debug: 162 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash bank stm32f3x.flash stm32f1x 0 0 0 0 stm32f3x.cpu Debug: 163 32 command.c:145 script_debug(): command - ocd_flash ocd_flash bank stm32f3x.flash stm32f1x 0 0 0 0 stm32f3x.cpu Debug: 165 32 command.c:366 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 166 32 command.c:366 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 167 32 command.c:366 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 168 32 command.c:366 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 169 32 command.c:366 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 170 32 tcl.c:824 handle_flash_bank_command(): 'stm32f1x' driver usage field missing Debug: 171 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_nogate Debug: 172 32 command.c:145 script_debug(): command - reset_config ocd_reset_config srst_nogate User : 174 32 command.c:546 command_print(): none separate Debug: 175 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 176 32 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 177 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f3x.cpu configure -event examine-end stm32f3x_default_examine_end Debug: 178 32 command.c:145 script_debug(): command - ocd_stm32f3x.cpu ocd_stm32f3x.cpu configure -event examine-end stm32f3x_default_examine_end Debug: 179 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f3x.cpu configure -event reset-start stm32f3x_default_reset_start Debug: 180 47 command.c:145 script_debug(): command - ocd_stm32f3x.cpu ocd_stm32f3x.cpu configure -event reset-start stm32f3x_default_reset_start Debug: 181 47 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f3x.cpu configure -event reset-init stm32f3x_default_reset_init Debug: 182 47 command.c:145 script_debug(): command - ocd_stm32f3x.cpu ocd_stm32f3x.cpu configure -event reset-init stm32f3x_default_reset_init Debug: 183 47 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f3x.cpu configure -event trace-config # Set TRACE_IOEN; TRACE_MODE is set to async; when using sync # change this value accordingly to configure trace pins # assignment mmw 0xe0042004 0x00000020 0 Debug: 184 47 command.c:145 script_debug(): command - ocd_stm32f3x.cpu ocd_stm32f3x.cpu configure -event trace-config # Set TRACE_IOEN; TRACE_MODE is set to async; when using sync # change this value accordingly to configure trace pins # assignment mmw 0xe0042004 0x00000020 0 Debug: 185 47 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_only Debug: 186 47 command.c:145 script_debug(): command - reset_config ocd_reset_config srst_only User : 188 47 command.c:546 command_print(): srst_only separate srst_nogate srst_open_drain connect_deassert_srst Debug: 189 47 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init Debug: 190 47 command.c:145 script_debug(): command - init ocd_init Debug: 192 47 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init Debug: 193 47 command.c:145 script_debug(): command - ocd_target ocd_target init Debug: 195 47 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target names Debug: 196 47 command.c:145 script_debug(): command - ocd_target ocd_target names Debug: 197 47 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f3x.cpu cget -event gdb-flash-erase-start Debug: 198 47 command.c:145 script_debug(): command - ocd_stm32f3x.cpu ocd_stm32f3x.cpu cget -event gdb-flash-erase-start Debug: 199 47 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f3x.cpu configure -event gdb-flash-erase-start reset init Debug: 200 47 command.c:145 script_debug(): command - ocd_stm32f3x.cpu ocd_stm32f3x.cpu configure -event gdb-flash-erase-start reset init Debug: 201 47 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f3x.cpu cget -event gdb-flash-write-end Debug: 202 47 command.c:145 script_debug(): command - ocd_stm32f3x.cpu ocd_stm32f3x.cpu cget -event gdb-flash-write-end Debug: 203 47 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f3x.cpu configure -event gdb-flash-write-end reset halt Debug: 204 47 command.c:145 script_debug(): command - ocd_stm32f3x.cpu ocd_stm32f3x.cpu configure -event gdb-flash-write-end reset halt Debug: 205 47 target.c:1313 handle_target_init_command(): Initializing targets... Debug: 206 47 hla_target.c:343 adapter_init_target(): adapter_init_target Debug: 207 47 command.c:366 register_command_handler(): registering 'ocd_target_request'... Debug: 208 47 command.c:366 register_command_handler(): registering 'ocd_trace'... Debug: 209 47 command.c:366 register_command_handler(): registering 'ocd_trace'... Debug: 210 47 command.c:366 register_command_handler(): registering 'ocd_fast_load_image'... Debug: 211 47 command.c:366 register_command_handler(): registering 'ocd_fast_load'... Debug: 212 47 command.c:366 register_command_handler(): registering 'ocd_profile'... Debug: 213 47 command.c:366 register_command_handler(): registering 'ocd_virt2phys'... Debug: 214 47 command.c:366 register_command_handler(): registering 'ocd_reg'... Debug: 215 47 command.c:366 register_command_handler(): registering 'ocd_poll'... Debug: 216 47 command.c:366 register_command_handler(): registering 'ocd_wait_halt'... Debug: 217 47 command.c:366 register_command_handler(): registering 'ocd_halt'... Debug: 218 47 command.c:366 register_command_handler(): registering 'ocd_resume'... Debug: 219 47 command.c:366 register_command_handler(): registering 'ocd_reset'... Debug: 220 47 command.c:366 register_command_handler(): registering 'ocd_soft_reset_halt'... Debug: 221 47 command.c:366 register_command_handler(): registering 'ocd_step'... Debug: 222 47 command.c:366 register_command_handler(): registering 'ocd_mdw'... Debug: 223 47 command.c:366 register_command_handler(): registering 'ocd_mdh'... Debug: 224 47 command.c:366 register_command_handler(): registering 'ocd_mdb'... Debug: 225 47 command.c:366 register_command_handler(): registering 'ocd_mww'... Debug: 226 47 command.c:366 register_command_handler(): registering 'ocd_mwh'... Debug: 227 47 command.c:366 register_command_handler(): registering 'ocd_mwb'... Debug: 228 47 command.c:366 register_command_handler(): registering 'ocd_bp'... Debug: 229 47 command.c:366 register_command_handler(): registering 'ocd_rbp'... Debug: 230 47 command.c:366 register_command_handler(): registering 'ocd_wp'... Debug: 231 47 command.c:366 register_command_handler(): registering 'ocd_rwp'... Debug: 232 47 command.c:366 register_command_handler(): registering 'ocd_load_image'... Debug: 233 47 command.c:366 register_command_handler(): registering 'ocd_dump_image'... Debug: 234 47 command.c:366 register_command_handler(): registering 'ocd_verify_image'... Debug: 235 47 command.c:366 register_command_handler(): registering 'ocd_test_image'... Debug: 236 47 command.c:366 register_command_handler(): registering 'ocd_reset_nag'... Debug: 237 47 command.c:366 register_command_handler(): registering 'ocd_ps'... Debug: 238 47 command.c:366 register_command_handler(): registering 'ocd_test_mem_access'... Debug: 239 47 hla_interface.c:111 hl_interface_init(): hl_interface_init Debug: 240 47 hla_layout.c:85 hl_layout_init(): hl_layout_init Debug: 241 47 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 242 47 core.c:1599 adapter_khz_to_speed(): have interface set up Info : 243 47 stlink_usb.c:1568 stlink_speed(): Unable to match requested speed 1000 kHz, using 950 kHz Debug: 244 47 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 245 47 core.c:1599 adapter_khz_to_speed(): have interface set up Info : 246 47 stlink_usb.c:1568 stlink_speed(): Unable to match requested speed 1000 kHz, using 950 kHz Info : 247 47 core.c:1384 adapter_init(): clock speed 950 kHz Debug: 248 47 openocd.c:137 handle_init_command(): Debug Adapter init complete Debug: 249 47 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport init Debug: 250 47 command.c:145 script_debug(): command - ocd_transport ocd_transport init Debug: 252 47 transport.c:240 handle_transport_init(): handle_transport_init Debug: 253 47 hla_transport.c:154 hl_transport_init(): hl_transport_init Debug: 254 47 hla_transport.c:171 hl_transport_init(): current transport hla_swd Debug: 255 47 hla_interface.c:44 hl_interface_open(): hl_interface_open Debug: 256 47 hla_layout.c:42 hl_layout_open(): hl_layout_open Debug: 257 47 stlink_usb.c:1602 stlink_usb_open(): stlink_usb_open Debug: 258 47 stlink_usb.c:1619 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x3748 serial: Info : 259 120 stlink_usb.c:523 stlink_usb_version(): STLINK v2 JTAG v23 API v2 SWIM v0 VID 0x0483 PID 0x3748 Info : 260 120 stlink_usb.c:1730 stlink_usb_open(): using stlink api v2 Debug: 261 120 stlink_usb.c:722 stlink_usb_init_mode(): MODE: 0x02 Info : 262 120 stlink_usb.c:555 stlink_usb_check_voltage(): Target voltage: 2.907062 Debug: 263 120 stlink_usb.c:777 stlink_usb_init_mode(): MODE: 0x02 Debug: 264 120 stlink_usb.c:803 stlink_usb_init_mode(): MODE: 0x02 Debug: 265 120 stlink_usb.c:1745 stlink_usb_open(): Supported clock speeds are: Debug: 266 120 stlink_usb.c:1748 stlink_usb_open(): 4000 kHz Debug: 267 120 stlink_usb.c:1748 stlink_usb_open(): 1800 kHz Debug: 268 120 stlink_usb.c:1748 stlink_usb_open(): 1200 kHz Debug: 269 120 stlink_usb.c:1748 stlink_usb_open(): 950 kHz Debug: 270 120 stlink_usb.c:1748 stlink_usb_open(): 480 kHz Debug: 271 120 stlink_usb.c:1748 stlink_usb_open(): 240 kHz Debug: 272 120 stlink_usb.c:1748 stlink_usb_open(): 125 kHz Debug: 273 120 stlink_usb.c:1748 stlink_usb_open(): 100 kHz Debug: 274 120 stlink_usb.c:1748 stlink_usb_open(): 50 kHz Debug: 275 120 stlink_usb.c:1748 stlink_usb_open(): 25 kHz Debug: 276 120 stlink_usb.c:1748 stlink_usb_open(): 15 kHz Debug: 277 120 stlink_usb.c:1748 stlink_usb_open(): 5 kHz Debug: 278 120 stlink_usb.c:1768 stlink_usb_open(): Using TAR autoincrement: 4096 Debug: 279 120 hla_interface.c:129 hl_interface_execute_queue(): hl_interface_execute_queue: ignored Debug: 280 120 core.c:730 jtag_add_reset(): SRST line released Debug: 281 120 core.c:754 jtag_add_reset(): TRST line released Debug: 282 120 core.c:328 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 283 120 hla_interface.c:69 hl_interface_init_target(): hl_interface_init_target Debug: 284 120 stlink_usb.c:828 stlink_usb_idcode(): IDCODE: 0x2BA01477 Debug: 285 120 openocd.c:150 handle_init_command(): Examining targets... Debug: 286 120 target.c:1465 target_call_event_callbacks(): target event 21 (examine-start) Debug: 287 120 hla_target.c:752 adapter_read_memory(): adapter_read_memory 0xe000ed00 4 1 Debug: 288 120 target.c:2179 target_read_u32(): address: 0xe000ed00, value: 0x410fc241 Debug: 289 120 cortex_m.c:1906 cortex_m_examine(): Cortex-M4 r0p1 processor detected Debug: 290 120 cortex_m.c:1907 cortex_m_examine(): cpuid: 0x410fc241 Debug: 291 120 hla_target.c:752 adapter_read_memory(): adapter_read_memory 0xe000ef40 4 1 Debug: 292 120 target.c:2179 target_read_u32(): address: 0xe000ef40, value: 0x10110021 Debug: 293 120 hla_target.c:752 adapter_read_memory(): adapter_read_memory 0xe000ef44 4 1 Debug: 294 120 target.c:2179 target_read_u32(): address: 0xe000ef44, value: 0x11000011 Debug: 295 120 cortex_m.c:1915 cortex_m_examine(): Cortex-M4 floating point feature FPv4_SP found Debug: 296 120 target.c:2267 target_write_u32(): address: 0xe000edfc, value: 0x01000000 Debug: 297 120 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe000edfc 4 1 Debug: 298 120 hla_target.c:752 adapter_read_memory(): adapter_read_memory 0xe0002000 4 1 Debug: 299 120 target.c:2179 target_read_u32(): address: 0xe0002000, value: 0x00000260 Debug: 300 120 target.c:2267 target_write_u32(): address: 0xe0002008, value: 0x00000000 Debug: 301 120 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0002008 4 1 Debug: 302 120 target.c:2267 target_write_u32(): address: 0xe000200c, value: 0x00000000 Debug: 303 120 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe000200c 4 1 Debug: 304 120 target.c:2267 target_write_u32(): address: 0xe0002010, value: 0x00000000 Debug: 305 120 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0002010 4 1 Debug: 306 120 target.c:2267 target_write_u32(): address: 0xe0002014, value: 0x00000000 Debug: 307 120 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0002014 4 1 Debug: 308 120 target.c:2267 target_write_u32(): address: 0xe0002018, value: 0x00000000 Debug: 309 120 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0002018 4 1 Debug: 310 120 target.c:2267 target_write_u32(): address: 0xe000201c, value: 0x00000000 Debug: 311 120 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe000201c 4 1 Debug: 312 120 target.c:2267 target_write_u32(): address: 0xe0002020, value: 0x00000000 Debug: 313 120 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0002020 4 1 Debug: 314 136 target.c:2267 target_write_u32(): address: 0xe0002024, value: 0x00000000 Debug: 315 136 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0002024 4 1 Debug: 316 136 cortex_m.c:1974 cortex_m_examine(): FPB fpcr 0x260, numcode 6, numlit 2 Debug: 317 136 hla_target.c:752 adapter_read_memory(): adapter_read_memory 0xe0001000 4 1 Debug: 318 136 target.c:2179 target_read_u32(): address: 0xe0001000, value: 0x40000000 Debug: 319 136 target.c:2267 target_write_u32(): address: 0xe0001028, value: 0x00000000 Debug: 320 136 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0001028 4 1 Debug: 321 136 target.c:2267 target_write_u32(): address: 0xe0001038, value: 0x00000000 Debug: 322 136 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0001038 4 1 Debug: 323 136 target.c:2267 target_write_u32(): address: 0xe0001048, value: 0x00000000 Debug: 324 136 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0001048 4 1 Debug: 325 136 target.c:2267 target_write_u32(): address: 0xe0001058, value: 0x00000000 Debug: 326 136 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0001058 4 1 Debug: 327 136 cortex_m.c:1842 cortex_m_dwt_setup(): DWT dwtcr 0x40000000, comp 4, watch/trigger Info : 328 136 cortex_m.c:1984 cortex_m_examine(): stm32f3x.cpu: hardware has 6 breakpoints, 4 watchpoints Debug: 329 136 target.c:1465 target_call_event_callbacks(): target event 22 (examine-end) Debug: 330 136 target.c:4209 target_handle_event(): target: (0) stm32f3x.cpu (hla_target) event: 22 (examine-end) action: stm32f3x_default_examine_end Debug: 331 136 hla_target.c:752 adapter_read_memory(): adapter_read_memory 0xe0042004 4 1 Debug: 332 136 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mww 0xe0042004 7 Debug: 333 136 command.c:145 script_debug(): command - mww ocd_mww 0xe0042004 7 Debug: 335 136 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0042004 4 1 Debug: 336 136 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mww 0xe0042008 0x00001800 Debug: 337 136 command.c:145 script_debug(): command - mww ocd_mww 0xe0042008 0x00001800 Debug: 339 136 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0042008 4 1 Debug: 340 136 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash init Debug: 341 136 command.c:145 script_debug(): command - ocd_flash ocd_flash init Debug: 343 136 tcl.c:890 handle_flash_init_command(): Initializing flash devices... Debug: 344 136 command.c:366 register_command_handler(): registering 'ocd_flash'... Debug: 345 136 command.c:366 register_command_handler(): registering 'ocd_flash'... Debug: 346 136 command.c:366 register_command_handler(): registering 'ocd_flash'... Debug: 347 136 command.c:366 register_command_handler(): registering 'ocd_flash'... Debug: 348 136 command.c:366 register_command_handler(): registering 'ocd_flash'... Debug: 349 136 command.c:366 register_command_handler(): registering 'ocd_flash'... Debug: 350 136 command.c:366 register_command_handler(): registering 'ocd_flash'... Debug: 351 136 command.c:366 register_command_handler(): registering 'ocd_flash'... Debug: 352 136 command.c:366 register_command_handler(): registering 'ocd_flash'... Debug: 353 136 command.c:366 register_command_handler(): registering 'ocd_flash'... Debug: 354 136 command.c:366 register_command_handler(): registering 'ocd_flash'... Debug: 355 136 command.c:366 register_command_handler(): registering 'ocd_flash'... Debug: 356 136 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mflash init Debug: 357 136 command.c:145 script_debug(): command - ocd_mflash ocd_mflash init Debug: 359 136 mflash.c:1379 handle_mflash_init_command(): Initializing mflash devices... Debug: 360 136 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_nand init Debug: 361 136 command.c:145 script_debug(): command - ocd_nand ocd_nand init Debug: 363 136 tcl.c:497 handle_nand_init_command(): Initializing NAND devices... Debug: 364 136 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_pld init Debug: 365 136 command.c:145 script_debug(): command - ocd_pld ocd_pld init Debug: 367 136 pld.c:207 handle_pld_init_command(): Initializing PLDs... Debug: 368 9768 hla_interface.c:119 hl_interface_quit(): hl_interface_quit