./bin/openocd -f scripts/interface/stlink-v2.cfg -f scripts/target/stm32f1x.cfg -c "init" -c "halt" -c "stm32f1x unlock 0" -c "shutdown" -d3 GNU MCU Eclipse 64-bits Open On-Chip Debugger 0.10.0+dev-00254-g2ec04e4e (2017-11-10-11:27) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html User : 13 1 command.c:544 command_print(): debug_level: 3 Debug: 14 1 options.c:181 add_default_dirs(): bindir=bin Debug: 15 1 options.c:182 add_default_dirs(): pkgdatadir= Debug: 16 1 options.c:183 add_default_dirs(): exepath=/media/daten_hdd/Downloads/vdr/wakeup/irmp_stm32_usb/gnu-mcu-eclipse/openocd/0.10.0-5-20171110-1117/bin Debug: 17 1 options.c:184 add_default_dirs(): bin2data=../ Debug: 18 1 configuration.c:42 add_script_search_dir(): adding /home/thilo/.openocd Debug: 19 1 configuration.c:42 add_script_search_dir(): adding /media/daten_hdd/Downloads/vdr/wakeup/irmp_stm32_usb/gnu-mcu-eclipse/openocd/0.10.0-5-20171110-1117/bin/..//site Debug: 20 1 configuration.c:42 add_script_search_dir(): adding /media/daten_hdd/Downloads/vdr/wakeup/irmp_stm32_usb/gnu-mcu-eclipse/openocd/0.10.0-5-20171110-1117/bin/..//scripts Debug: 21 1 configuration.c:82 find_file(): found scripts/interface/stlink-v2.cfg Debug: 22 1 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_interface hla Debug: 23 1 command.c:143 script_debug(): command - interface ocd_interface hla Debug: 25 1 command.c:364 register_command_handler(): registering 'ocd_hla_device_desc'... Debug: 26 1 command.c:364 register_command_handler(): registering 'ocd_hla_serial'... Debug: 27 1 command.c:364 register_command_handler(): registering 'ocd_hla_layout'... Debug: 28 1 command.c:364 register_command_handler(): registering 'ocd_hla_vid_pid'... Debug: 29 1 command.c:364 register_command_handler(): registering 'ocd_hla_command'... Debug: 30 1 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_hla_layout stlink Debug: 31 1 command.c:143 script_debug(): command - hla_layout ocd_hla_layout stlink Debug: 33 1 hla_interface.c:239 hl_interface_handle_layout_command(): hl_interface_handle_layout_command Debug: 34 1 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_hla_device_desc ST-LINK/V2 Debug: 35 1 command.c:143 script_debug(): command - hla_device_desc ocd_hla_device_desc ST-LINK/V2 Debug: 37 1 hla_interface.c:213 hl_interface_handle_device_desc_command(): hl_interface_handle_device_desc_command Debug: 38 1 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_hla_vid_pid 0x0483 0x3748 Debug: 39 1 command.c:143 script_debug(): command - hla_vid_pid ocd_hla_vid_pid 0x0483 0x3748 Debug: 41 1 hla_interface.c:267 hl_interface_handle_vid_pid_command(): hl_interface_handle_vid_pid_command Debug: 42 1 configuration.c:82 find_file(): found scripts/target/stm32f1x.cfg Debug: 43 1 configuration.c:82 find_file(): found /media/daten_hdd/Downloads/vdr/wakeup/irmp_stm32_usb/gnu-mcu-eclipse/openocd/0.10.0-5-20171110-1117/bin/..//scripts/target/swj-dp.tcl Debug: 44 1 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 45 1 command.c:143 script_debug(): command - ocd_transport ocd_transport select Info : 46 1 transport.c:286 jim_transport_select(): auto-selecting first available session transport "hla_swd". To override use 'transport select '. Debug: 47 1 hla_transport.c:191 hl_transport_select(): hl_transport_select Debug: 48 1 command.c:364 register_command_handler(): registering 'ocd_hla'... Debug: 49 1 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 50 1 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 51 1 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 52 1 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 53 1 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 54 1 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 55 1 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 56 1 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 57 1 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 58 1 command.c:364 register_command_handler(): registering 'ocd_jtag_ntrst_delay'... Debug: 59 1 configuration.c:82 find_file(): found /media/daten_hdd/Downloads/vdr/wakeup/irmp_stm32_usb/gnu-mcu-eclipse/openocd/0.10.0-5-20171110-1117/bin/..//scripts/mem_helper.tcl Debug: 60 1 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mrw address Debug: 61 1 command.c:143 script_debug(): command - add_usage_text ocd_add_usage_text mrw address Debug: 63 1 command.c:1098 help_add_command(): added 'mrw' help text Debug: 64 1 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mrw Returns value of word in memory. Debug: 65 1 command.c:143 script_debug(): command - add_help_text ocd_add_help_text mrw Returns value of word in memory. Debug: 67 1 command.c:1111 help_add_command(): added 'mrw' help text Debug: 68 1 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mrb address Debug: 69 1 command.c:143 script_debug(): command - add_usage_text ocd_add_usage_text mrb address Debug: 71 1 command.c:1098 help_add_command(): added 'mrb' help text Debug: 72 1 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mrb Returns value of byte in memory. Debug: 73 1 command.c:143 script_debug(): command - add_help_text ocd_add_help_text mrb Returns value of byte in memory. Debug: 75 1 command.c:1111 help_add_command(): added 'mrb' help text Debug: 76 1 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mmw address setbits clearbits Debug: 77 1 command.c:143 script_debug(): command - add_usage_text ocd_add_usage_text mmw address setbits clearbits Debug: 79 1 command.c:1098 help_add_command(): added 'mmw' help text Debug: 80 1 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: 81 1 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: 83 1 command.c:1111 help_add_command(): added 'mmw' help text Debug: 84 1 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 85 1 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 86 1 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 87 1 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 88 1 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 89 1 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 90 1 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 91 1 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 92 1 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_hla newtap stm32f1x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x1ba01477 Debug: 93 1 command.c:143 script_debug(): command - ocd_hla ocd_hla newtap stm32f1x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x1ba01477 Debug: 94 1 hla_tcl.c:116 jim_hl_newtap_cmd(): Creating New Tap, Chip: stm32f1x, Tap: cpu, Dotted: stm32f1x.cpu, 8 params Debug: 95 1 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -irlen Debug: 96 1 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -ircapture Debug: 97 1 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -irmask Debug: 98 2 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -expected-id Debug: 99 2 core.c:1426 jtag_tap_init(): Created Tap: stm32f1x.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0 Debug: 100 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 101 2 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 102 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target create stm32f1x.cpu cortex_m -endian little -chain-position stm32f1x.cpu Debug: 103 2 command.c:143 script_debug(): command - ocd_target ocd_target create stm32f1x.cpu cortex_m -endian little -chain-position stm32f1x.cpu Info : 104 2 target.c:5536 target_create(): The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD Debug: 105 2 target.c:1958 target_free_all_working_areas_restore(): freeing all working areas Debug: 106 2 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 107 2 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 108 2 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 109 2 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 110 2 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 111 2 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 112 2 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 113 2 command.c:364 register_command_handler(): registering 'ocd_tpiu'... Debug: 114 2 command.c:364 register_command_handler(): registering 'ocd_itm'... Debug: 115 2 command.c:364 register_command_handler(): registering 'ocd_itm'... Debug: 116 2 hla_target.c:351 adapter_target_create(): adapter_target_create Debug: 117 2 hla_target.c:322 adapter_init_arch_info(): adapter_init_arch_info Debug: 118 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 119 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 120 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 121 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 122 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 123 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 124 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 125 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 126 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 127 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 128 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 129 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 130 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 131 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 132 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 133 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 134 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 135 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 136 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 137 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 138 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 139 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 140 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 141 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 142 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 143 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 144 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 145 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 146 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 147 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 148 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 149 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 150 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 151 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 152 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f1x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x1000 -work-area-backup 0 Debug: 153 2 command.c:143 script_debug(): command - ocd_stm32f1x.cpu ocd_stm32f1x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x1000 -work-area-backup 0 Debug: 154 2 target.c:1958 target_free_all_working_areas_restore(): freeing all working areas Debug: 155 2 target.c:1958 target_free_all_working_areas_restore(): freeing all working areas Debug: 156 2 target.c:1958 target_free_all_working_areas_restore(): freeing all working areas Debug: 157 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash bank stm32f1x.flash stm32f1x 0x08000000 0 0 0 stm32f1x.cpu Debug: 158 2 command.c:143 script_debug(): command - ocd_flash ocd_flash bank stm32f1x.flash stm32f1x 0x08000000 0 0 0 stm32f1x.cpu Debug: 160 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 161 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 162 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 163 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 164 2 command.c:364 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 165 2 tcl.c:1100 handle_flash_bank_command(): 'stm32f1x' driver usage field missing Debug: 166 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 1000 Debug: 167 2 command.c:143 script_debug(): command - adapter_khz ocd_adapter_khz 1000 Debug: 169 2 core.c:1753 jtag_config_khz(): handle jtag khz Debug: 170 2 core.c:1720 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 171 2 core.c:1720 adapter_khz_to_speed(): convert khz to interface specific speed value User : 172 2 command.c:544 command_print(): adapter speed: 1000 kHz Debug: 173 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 100 Debug: 174 2 command.c:143 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 100 User : 176 2 command.c:544 command_print(): adapter_nsrst_delay: 100 Debug: 177 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 178 2 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 179 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_nogate Debug: 180 2 command.c:143 script_debug(): command - reset_config ocd_reset_config srst_nogate User : 182 2 command.c:544 command_print(): none separate Debug: 183 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 184 2 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 185 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f1x.cpu configure -event examine-end # DBGMCU_CR |= DBG_WWDG_STOP | DBG_IWDG_STOP | # DBG_STANDBY | DBG_STOP | DBG_SLEEP mmw 0xE0042004 0x00000307 0 Debug: 186 2 command.c:143 script_debug(): command - ocd_stm32f1x.cpu ocd_stm32f1x.cpu configure -event examine-end # DBGMCU_CR |= DBG_WWDG_STOP | DBG_IWDG_STOP | # DBG_STANDBY | DBG_STOP | DBG_SLEEP mmw 0xE0042004 0x00000307 0 Debug: 187 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f1x.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: 188 2 command.c:143 script_debug(): command - ocd_stm32f1x.cpu ocd_stm32f1x.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: 189 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_init Debug: 190 2 command.c:143 script_debug(): command - init ocd_init Debug: 192 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target init Debug: 193 2 command.c:143 script_debug(): command - ocd_target ocd_target init Debug: 195 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target names Debug: 196 2 command.c:143 script_debug(): command - ocd_target ocd_target names Debug: 197 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f1x.cpu cget -event gdb-flash-erase-start Debug: 198 2 command.c:143 script_debug(): command - ocd_stm32f1x.cpu ocd_stm32f1x.cpu cget -event gdb-flash-erase-start Debug: 199 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f1x.cpu configure -event gdb-flash-erase-start reset init Debug: 200 2 command.c:143 script_debug(): command - ocd_stm32f1x.cpu ocd_stm32f1x.cpu configure -event gdb-flash-erase-start reset init Debug: 201 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f1x.cpu cget -event gdb-flash-write-end Debug: 202 2 command.c:143 script_debug(): command - ocd_stm32f1x.cpu ocd_stm32f1x.cpu cget -event gdb-flash-write-end Debug: 203 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f1x.cpu configure -event gdb-flash-write-end reset halt Debug: 204 2 command.c:143 script_debug(): command - ocd_stm32f1x.cpu ocd_stm32f1x.cpu configure -event gdb-flash-write-end reset halt Debug: 205 2 target.c:1367 handle_target_init_command(): Initializing targets... Debug: 206 2 hla_target.c:341 adapter_init_target(): adapter_init_target Debug: 207 2 command.c:364 register_command_handler(): registering 'ocd_target_request'... Debug: 208 2 command.c:364 register_command_handler(): registering 'ocd_trace'... Debug: 209 2 command.c:364 register_command_handler(): registering 'ocd_trace'... Debug: 210 2 command.c:364 register_command_handler(): registering 'ocd_fast_load_image'... Debug: 211 2 command.c:364 register_command_handler(): registering 'ocd_fast_load'... Debug: 212 2 command.c:364 register_command_handler(): registering 'ocd_profile'... Debug: 213 2 command.c:364 register_command_handler(): registering 'ocd_virt2phys'... Debug: 214 2 command.c:364 register_command_handler(): registering 'ocd_reg'... Debug: 215 2 command.c:364 register_command_handler(): registering 'ocd_poll'... Debug: 216 2 command.c:364 register_command_handler(): registering 'ocd_wait_halt'... Debug: 217 2 command.c:364 register_command_handler(): registering 'ocd_halt'... Debug: 218 2 command.c:364 register_command_handler(): registering 'ocd_resume'... Debug: 219 2 command.c:364 register_command_handler(): registering 'ocd_reset'... Debug: 220 2 command.c:364 register_command_handler(): registering 'ocd_soft_reset_halt'... Debug: 221 2 command.c:364 register_command_handler(): registering 'ocd_step'... Debug: 222 2 command.c:364 register_command_handler(): registering 'ocd_mdd'... Debug: 223 2 command.c:364 register_command_handler(): registering 'ocd_mdw'... Debug: 224 2 command.c:364 register_command_handler(): registering 'ocd_mdh'... Debug: 225 2 command.c:364 register_command_handler(): registering 'ocd_mdb'... Debug: 226 2 command.c:364 register_command_handler(): registering 'ocd_mwd'... Debug: 227 2 command.c:364 register_command_handler(): registering 'ocd_mww'... Debug: 228 2 command.c:364 register_command_handler(): registering 'ocd_mwh'... Debug: 229 2 command.c:364 register_command_handler(): registering 'ocd_mwb'... Debug: 230 2 command.c:364 register_command_handler(): registering 'ocd_bp'... Debug: 231 2 command.c:364 register_command_handler(): registering 'ocd_rbp'... Debug: 232 2 command.c:364 register_command_handler(): registering 'ocd_wp'... Debug: 233 2 command.c:364 register_command_handler(): registering 'ocd_rwp'... Debug: 234 2 command.c:364 register_command_handler(): registering 'ocd_load_image'... Debug: 235 2 command.c:364 register_command_handler(): registering 'ocd_dump_image'... Debug: 236 2 command.c:364 register_command_handler(): registering 'ocd_verify_image_checksum'... Debug: 237 2 command.c:364 register_command_handler(): registering 'ocd_verify_image'... Debug: 238 2 command.c:364 register_command_handler(): registering 'ocd_test_image'... Debug: 239 2 command.c:364 register_command_handler(): registering 'ocd_reset_nag'... Debug: 240 2 command.c:364 register_command_handler(): registering 'ocd_ps'... Debug: 241 2 command.c:364 register_command_handler(): registering 'ocd_test_mem_access'... Debug: 242 2 hla_interface.c:109 hl_interface_init(): hl_interface_init Debug: 243 2 hla_layout.c:83 hl_layout_init(): hl_layout_init Debug: 244 2 core.c:1720 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 245 2 core.c:1723 adapter_khz_to_speed(): have interface set up Info : 246 2 stlink_usb.c:1608 stlink_speed(): Unable to match requested speed 1000 kHz, using 950 kHz Debug: 247 2 core.c:1720 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 248 2 core.c:1723 adapter_khz_to_speed(): have interface set up Info : 249 2 stlink_usb.c:1608 stlink_speed(): Unable to match requested speed 1000 kHz, using 950 kHz Info : 250 2 core.c:1508 adapter_init(): clock speed 950 kHz Debug: 251 2 openocd.c:164 handle_init_command(): Debug Adapter init complete Debug: 252 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport init Debug: 253 2 command.c:143 script_debug(): command - ocd_transport ocd_transport init Debug: 255 2 transport.c:239 handle_transport_init(): handle_transport_init Debug: 256 2 hla_transport.c:152 hl_transport_init(): hl_transport_init Debug: 257 2 hla_transport.c:169 hl_transport_init(): current transport hla_swd Debug: 258 2 hla_interface.c:42 hl_interface_open(): hl_interface_open Debug: 259 2 hla_layout.c:40 hl_layout_open(): hl_layout_open Debug: 260 2 stlink_usb.c:1642 stlink_usb_open(): stlink_usb_open Debug: 261 2 stlink_usb.c:1659 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x3748 serial: Info : 262 4 stlink_usb.c:563 stlink_usb_version(): STLINK v2 JTAG v21 API v2 SWIM v4 VID 0x0483 PID 0x3748 Info : 263 4 stlink_usb.c:1770 stlink_usb_open(): using stlink api v2 Debug: 264 4 stlink_usb.c:762 stlink_usb_init_mode(): MODE: 0x00 Info : 265 7 stlink_usb.c:595 stlink_usb_check_voltage(): Target voltage: 3.252736 Debug: 266 7 stlink_usb.c:817 stlink_usb_init_mode(): MODE: 0x01 Debug: 267 7 stlink_usb.c:843 stlink_usb_init_mode(): MODE: 0x02 Debug: 268 8 stlink_usb.c:1808 stlink_usb_open(): Using TAR autoincrement: 4096 Debug: 269 8 hla_interface.c:127 hl_interface_execute_queue(): hl_interface_execute_queue: ignored Debug: 270 8 core.c:729 jtag_add_reset(): SRST line released Debug: 271 8 core.c:753 jtag_add_reset(): TRST line released Debug: 272 8 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 273 8 hla_interface.c:67 hl_interface_init_target(): hl_interface_init_target Debug: 274 8 stlink_usb.c:868 stlink_usb_idcode(): IDCODE: 0x1BA01477 Debug: 275 8 openocd.c:177 handle_init_command(): Examining targets... Debug: 276 8 target.c:1560 target_call_event_callbacks(): target event 21 (examine-start) Debug: 277 8 hla_target.c:751 adapter_read_memory(): adapter_read_memory 0xe000ed00 4 1 Debug: 278 8 target.c:2300 target_read_u32(): address: 0xe000ed00, value: 0x411fc231 Debug: 279 8 cortex_m.c:1947 cortex_m_examine(): Cortex-M3 r1p1 processor detected Debug: 280 8 cortex_m.c:1955 cortex_m_examine(): cpuid: 0x411fc231 Debug: 281 8 target.c:2388 target_write_u32(): address: 0xe000edfc, value: 0x01000000 Debug: 282 8 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe000edfc 4 1 Debug: 283 9 hla_target.c:751 adapter_read_memory(): adapter_read_memory 0xe0002000 4 1 Debug: 284 9 target.c:2300 target_read_u32(): address: 0xe0002000, value: 0x00000260 Debug: 285 9 target.c:2388 target_write_u32(): address: 0xe0002008, value: 0x00000000 Debug: 286 9 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0002008 4 1 Debug: 287 9 target.c:2388 target_write_u32(): address: 0xe000200c, value: 0x00000000 Debug: 288 9 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe000200c 4 1 Debug: 289 9 target.c:2388 target_write_u32(): address: 0xe0002010, value: 0x00000000 Debug: 290 9 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0002010 4 1 Debug: 291 10 target.c:2388 target_write_u32(): address: 0xe0002014, value: 0x00000000 Debug: 292 10 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0002014 4 1 Debug: 293 10 target.c:2388 target_write_u32(): address: 0xe0002018, value: 0x00000000 Debug: 294 10 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0002018 4 1 Debug: 295 10 target.c:2388 target_write_u32(): address: 0xe000201c, value: 0x00000000 Debug: 296 10 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe000201c 4 1 Debug: 297 10 target.c:2388 target_write_u32(): address: 0xe0002020, value: 0x00000000 Debug: 298 10 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0002020 4 1 Debug: 299 11 target.c:2388 target_write_u32(): address: 0xe0002024, value: 0x00000000 Debug: 300 11 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0002024 4 1 Debug: 301 11 cortex_m.c:2046 cortex_m_examine(): FPB fpcr 0x260, numcode 6, numlit 2 Debug: 302 11 hla_target.c:751 adapter_read_memory(): adapter_read_memory 0xe0001000 4 1 Debug: 303 11 target.c:2300 target_read_u32(): address: 0xe0001000, value: 0x40000000 Debug: 304 11 target.c:2388 target_write_u32(): address: 0xe0001028, value: 0x00000000 Debug: 305 11 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0001028 4 1 Debug: 306 12 target.c:2388 target_write_u32(): address: 0xe0001038, value: 0x00000000 Debug: 307 12 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0001038 4 1 Debug: 308 12 target.c:2388 target_write_u32(): address: 0xe0001048, value: 0x00000000 Debug: 309 12 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0001048 4 1 Debug: 310 12 target.c:2388 target_write_u32(): address: 0xe0001058, value: 0x00000000 Debug: 311 12 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0001058 4 1 Debug: 312 12 cortex_m.c:1857 cortex_m_dwt_setup(): DWT dwtcr 0x40000000, comp 4, watch/trigger Info : 313 12 cortex_m.c:2056 cortex_m_examine(): stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints Debug: 314 12 target.c:1560 target_call_event_callbacks(): target event 22 (examine-end) Debug: 315 12 target.c:4494 target_handle_event(): target: (0) stm32f1x.cpu (hla_target) event: 22 (examine-end) action: # DBGMCU_CR |= DBG_WWDG_STOP | DBG_IWDG_STOP | # DBG_STANDBY | DBG_STOP | DBG_SLEEP mmw 0xE0042004 0x00000307 0 Debug: 316 13 hla_target.c:751 adapter_read_memory(): adapter_read_memory 0xe0042004 4 1 Debug: 317 13 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_mww 0xE0042004 775 Debug: 318 13 command.c:143 script_debug(): command - mww ocd_mww 0xE0042004 775 Debug: 320 13 hla_target.c:766 adapter_write_memory(): adapter_write_memory 0xe0042004 4 1 Debug: 321 13 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash init Debug: 322 13 command.c:143 script_debug(): command - ocd_flash ocd_flash init Debug: 324 14 tcl.c:1166 handle_flash_init_command(): Initializing flash devices... Debug: 325 14 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 326 14 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 327 14 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 328 14 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 329 14 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 330 14 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 331 14 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 332 14 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 333 14 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 334 14 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 335 14 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 336 14 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 337 14 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 338 14 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 339 14 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_mflash init Debug: 340 14 command.c:143 script_debug(): command - ocd_mflash ocd_mflash init Debug: 342 14 mflash.c:1377 handle_mflash_init_command(): Initializing mflash devices... Debug: 343 14 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_nand init Debug: 344 14 command.c:143 script_debug(): command - ocd_nand ocd_nand init Debug: 346 14 tcl.c:497 handle_nand_init_command(): Initializing NAND devices... Debug: 347 14 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_pld init Debug: 348 14 command.c:143 script_debug(): command - ocd_pld ocd_pld init Debug: 350 14 pld.c:205 handle_pld_init_command(): Initializing PLDs... Info : 351 14 server.c:312 add_service(): Listening on port 3333 for gdb connections Debug: 352 14 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_halt Debug: 353 14 command.c:143 script_debug(): command - halt ocd_halt Debug: 355 15 target.c:2988 handle_halt_command(): - Debug: 356 15 hla_target.c:566 adapter_halt(): adapter_halt Debug: 357 15 stlink_usb.c:421 stlink_usb_error_check(): STLINK_SWD_AP_PARITY_ERROR Error: 358 15 hla_target.c:446 adapter_poll(): jtag status contains invalid mode value - communication failure Debug: 359 15 command.c:626 run_command(): Command failed with error code -305 User : 360 15 command.c:687 command_run_line(): Debug: 361 15 hla_interface.c:117 hl_interface_quit(): hl_interface_quit