Open On-Chip Debugger 0.10.0-dev-00267-g884c33c (2016-03-29-16:35) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html User : 13 2 command.c:546 command_print(): debug_level: 3 Debug: 14 2 options.c:98 add_default_dirs(): bindir=/usr/bin Debug: 15 2 options.c:99 add_default_dirs(): pkgdatadir=/usr/share/openocd Debug: 16 2 options.c:100 add_default_dirs(): run_prefix= Debug: 17 3 configuration.c:44 add_script_search_dir(): adding /usr/share/openocd/site Debug: 18 3 configuration.c:44 add_script_search_dir(): adding /usr/share/openocd/scripts Debug: 19 3 configuration.c:84 find_file(): found stm32f4discovery.cfg Debug: 20 3 configuration.c:84 find_file(): found /Applications/cpp-neon/Eclipse.app/Contents/Eclipse/../../../../../Users/danieljreyes/.p2/pool/plugins/fr.ac6.mcu.debug_1.10.0.201607251855/resources/openocd/scripts/interface/stlink-v2.cfg Debug: 21 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface hla Debug: 22 3 command.c:145 script_debug(): command - interface ocd_interface hla Debug: 24 3 command.c:366 register_command_handler(): registering 'ocd_hla_device_desc'... Debug: 25 3 command.c:366 register_command_handler(): registering 'ocd_hla_serial'... Debug: 26 3 command.c:366 register_command_handler(): registering 'ocd_hla_layout'... Debug: 27 3 command.c:366 register_command_handler(): registering 'ocd_hla_vid_pid'... Debug: 28 3 command.c:366 register_command_handler(): registering 'ocd_hla_command'... Debug: 29 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_hla_layout stlink Debug: 30 3 command.c:145 script_debug(): command - hla_layout ocd_hla_layout stlink Debug: 32 3 hla_interface.c:241 hl_interface_handle_layout_command(): hl_interface_handle_layout_command Debug: 33 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_hla_device_desc ST-LINK/V2 Debug: 34 3 command.c:145 script_debug(): command - hla_device_desc ocd_hla_device_desc ST-LINK/V2 Debug: 36 3 hla_interface.c:215 hl_interface_handle_device_desc_command(): hl_interface_handle_device_desc_command Debug: 37 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_hla_vid_pid 0x0483 0x3748 Debug: 38 3 command.c:145 script_debug(): command - hla_vid_pid ocd_hla_vid_pid 0x0483 0x3748 Debug: 40 3 hla_interface.c:269 hl_interface_handle_vid_pid_command(): hl_interface_handle_vid_pid_command Debug: 41 3 configuration.c:84 find_file(): found /Applications/cpp-neon/Eclipse.app/Contents/Eclipse/../../../../../Users/danieljreyes/.p2/pool/plugins/fr.ac6.mcu.debug_1.10.0.201607251855/resources/openocd/scripts/target/stm32f4x_stlink.cfg Debug: 42 3 configuration.c:84 find_file(): found /Applications/cpp-neon/Eclipse.app/Contents/Eclipse/../../../../../Users/danieljreyes/.p2/pool/plugins/fr.ac6.mcu.debug_1.10.0.201607251855/resources/openocd/scripts/target/stm32f4x.cfg Debug: 43 3 configuration.c:84 find_file(): found /Applications/cpp-neon/Eclipse.app/Contents/Eclipse/../../../../../Users/danieljreyes/.p2/pool/plugins/fr.ac6.mcu.debug_1.10.0.201607251855/resources/openocd/scripts/target/swj-dp.tcl Debug: 44 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 45 3 command.c:145 script_debug(): command - ocd_transport ocd_transport select Info : 46 3 transport.c:287 jim_transport_select(): auto-selecting first available session transport "hla_swd". To override use 'transport select '. Debug: 47 3 hla_transport.c:193 hl_transport_select(): hl_transport_select Debug: 48 3 command.c:366 register_command_handler(): registering 'ocd_hla'... Debug: 49 3 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 50 3 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 51 3 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 52 3 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 53 3 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 54 3 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 55 3 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 56 3 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 57 3 command.c:366 register_command_handler(): registering 'ocd_jtag'... Debug: 58 3 command.c:366 register_command_handler(): registering 'ocd_jtag_ntrst_delay'... Debug: 59 3 configuration.c:84 find_file(): found /Applications/cpp-neon/Eclipse.app/Contents/Eclipse/../../../../../Users/danieljreyes/.p2/pool/plugins/fr.ac6.mcu.debug_1.10.0.201607251855/resources/openocd/scripts/mem_helper.tcl Debug: 60 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mrw address Debug: 61 3 command.c:145 script_debug(): command - add_usage_text ocd_add_usage_text mrw address Debug: 63 3 command.c:1100 help_add_command(): added 'mrw' help text Debug: 64 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mrw Returns value of word in memory. Debug: 65 3 command.c:145 script_debug(): command - add_help_text ocd_add_help_text mrw Returns value of word in memory. Debug: 67 3 command.c:1113 help_add_command(): added 'mrw' help text Debug: 68 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mmw address setbits clearbits Debug: 69 3 command.c:145 script_debug(): command - add_usage_text ocd_add_usage_text mmw address setbits clearbits Debug: 71 3 command.c:1100 help_add_command(): added 'mmw' help text Debug: 72 3 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: 73 3 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: 75 3 command.c:1113 help_add_command(): added 'mmw' help text Debug: 76 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 77 3 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 78 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 79 4 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 80 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 81 4 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 82 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 83 4 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 84 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_hla newtap stm32f4x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x2ba01477 Debug: 85 4 command.c:145 script_debug(): command - ocd_hla ocd_hla newtap stm32f4x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x2ba01477 Debug: 86 4 hla_tcl.c:118 jim_hl_newtap_cmd(): Creating New Tap, Chip: stm32f4x, Tap: cpu, Dotted: stm32f4x.cpu, 8 params Debug: 87 4 hla_tcl.c:128 jim_hl_newtap_cmd(): Processing option: -irlen Debug: 88 4 hla_tcl.c:128 jim_hl_newtap_cmd(): Processing option: -ircapture Debug: 89 4 hla_tcl.c:128 jim_hl_newtap_cmd(): Processing option: -irmask Debug: 90 4 hla_tcl.c:128 jim_hl_newtap_cmd(): Processing option: -expected-id Debug: 91 4 core.c:1306 jtag_tap_init(): Created Tap: stm32f4x.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0 Debug: 92 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 93 4 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 94 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target create stm32f4x.cpu cortex_m -endian little -chain-position stm32f4x.cpu Debug: 95 4 command.c:145 script_debug(): command - ocd_target ocd_target create stm32f4x.cpu cortex_m -endian little -chain-position stm32f4x.cpu Info : 96 4 target.c:5223 target_create(): The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD Debug: 97 4 target.c:1883 target_free_all_working_areas_restore(): freeing all working areas Debug: 98 4 command.c:366 register_command_handler(): registering 'ocd_arm'... Debug: 99 4 command.c:366 register_command_handler(): registering 'ocd_arm'... Debug: 100 4 command.c:366 register_command_handler(): registering 'ocd_arm'... Debug: 101 4 command.c:366 register_command_handler(): registering 'ocd_arm'... Debug: 102 4 command.c:366 register_command_handler(): registering 'ocd_arm'... Debug: 103 4 command.c:366 register_command_handler(): registering 'ocd_arm'... Debug: 104 4 command.c:366 register_command_handler(): registering 'ocd_tpiu'... Debug: 105 4 command.c:366 register_command_handler(): registering 'ocd_itm'... Debug: 106 4 command.c:366 register_command_handler(): registering 'ocd_itm'... Debug: 107 4 hla_target.c:353 adapter_target_create(): adapter_target_create Debug: 108 4 hla_target.c:324 adapter_init_arch_info(): adapter_init_arch_info Debug: 109 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 110 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 111 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 112 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 113 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 114 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 115 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 116 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 117 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 118 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 119 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 120 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 121 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 122 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 123 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 124 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 125 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 126 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 127 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 128 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 129 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 130 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 131 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 132 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 133 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 134 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 135 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 136 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 137 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 138 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 139 4 command.c:366 register_command_handler(): registering 'ocd_stm32f4x.cpu'... Debug: 140 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x10000 -work-area-backup 0 Debug: 141 4 command.c:145 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x10000 -work-area-backup 0 Debug: 142 4 target.c:1883 target_free_all_working_areas_restore(): freeing all working areas Debug: 143 4 target.c:1883 target_free_all_working_areas_restore(): freeing all working areas Debug: 144 4 target.c:1883 target_free_all_working_areas_restore(): freeing all working areas Debug: 145 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash bank stm32f4x.flash stm32f2x 0 0 0 0 stm32f4x.cpu Debug: 146 4 command.c:145 script_debug(): command - ocd_flash ocd_flash bank stm32f4x.flash stm32f2x 0 0 0 0 stm32f4x.cpu Debug: 148 4 command.c:366 register_command_handler(): registering 'ocd_stm32f2x'... Debug: 149 4 command.c:366 register_command_handler(): registering 'ocd_stm32f2x'... Debug: 150 4 command.c:366 register_command_handler(): registering 'ocd_stm32f2x'... Debug: 151 4 tcl.c:1031 handle_flash_bank_command(): 'stm32f2x' driver usage field missing Debug: 152 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 2000 Debug: 153 4 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 2000 Debug: 155 4 core.c:1633 jtag_config_khz(): handle jtag khz Debug: 156 4 core.c:1600 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 157 4 core.c:1600 adapter_khz_to_speed(): convert khz to interface specific speed value User : 158 4 command.c:546 command_print(): adapter speed: 2000 kHz Debug: 159 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 100 Debug: 160 4 command.c:145 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 100 User : 162 4 command.c:546 command_print(): adapter_nsrst_delay: 100 Debug: 163 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 164 4 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 165 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_only srst_nogate connect_assert_srst Debug: 166 5 command.c:145 script_debug(): command - reset_config ocd_reset_config srst_only srst_nogate connect_assert_srst User : 168 5 command.c:546 command_print(): srst_only separate srst_nogate srst_open_drain connect_assert_srst Debug: 169 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 170 5 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 171 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu configure -event examine-end # Enable debug during low power modes (uses more power) # DBGMCU_CR |= DBG_STANDBY | DBG_STOP | DBG_SLEEP mmw 0xE0042004 0x00000007 0 # Stop watchdog counters during halt # DBGMCU_APB1_FZ |= DBG_IWDG_STOP | DBG_WWDG_STOP mmw 0xE0042008 0x00001800 0 Debug: 172 5 command.c:145 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu configure -event examine-end # Enable debug during low power modes (uses more power) # DBGMCU_CR |= DBG_STANDBY | DBG_STOP | DBG_SLEEP mmw 0xE0042004 0x00000007 0 # Stop watchdog counters during halt # DBGMCU_APB1_FZ |= DBG_IWDG_STOP | DBG_WWDG_STOP mmw 0xE0042008 0x00001800 0 Debug: 173 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.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: 174 5 command.c:145 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.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: 175 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu configure -event reset-init echo "configuring PLL" # Configure PLL to boost clock to HSI x 8 (64 MHz) mww 0x40023800 0x00008a81 ;# RCC_CR = HSICAL[bogus = 138] | HSITRIM[16] | HSION (reset value) mww 0x40023808 0x00000000 ;# RCC_CFGR = (all = div1), select HSI as main clock source. (reset value) mww 0x4002380c 0x00000000 ;# RCC_CIR = 0, all off. (reset value) mww 0x40023804 0x24403010 ;# RCC_PLLCFGR = PLLQ[div4] | PLLSRC[HSI] | PLLP[div2] | PLLN[mul192] | PLLM[div16] (reset value) mww 0x40023c00 0x00000103 ;# FLASH_ACR = PRFTEN | LATENCY[2] (we'll run at 84 MHz, see section 3.5.1, table 10 and table 11) mww 0x40023800 0x01008a81 ;# RCC_CR = PLLON | HSICAL[bogus = 138] | HSITRIM[16] | HSION (enable PLL) sleep 10 ;# Wait for PLL to lock mww 0x40023808 0x00000002 ;# RCC_CFGR = (all = div1), select PLL as main clock source. (we should now run at 84 MHz) Debug: 176 5 command.c:145 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu configure -event reset-init echo "configuring PLL" # Configure PLL to boost clock to HSI x 8 (64 MHz) mww 0x40023800 0x00008a81 ;# RCC_CR = HSICAL[bogus = 138] | HSITRIM[16] | HSION (reset value) mww 0x40023808 0x00000000 ;# RCC_CFGR = (all = div1), select HSI as main clock source. (reset value) mww 0x4002380c 0x00000000 ;# RCC_CIR = 0, all off. (reset value) mww 0x40023804 0x24403010 ;# RCC_PLLCFGR = PLLQ[div4] | PLLSRC[HSI] | PLLP[div2] | PLLN[mul192] | PLLM[div16] (reset value) mww 0x40023c00 0x00000103 ;# FLASH_ACR = PRFTEN | LATENCY[2] (we'll run at 84 MHz, see section 3.5.1, table 10 and table 11) mww 0x40023800 0x01008a81 ;# RCC_CR = PLLON | HSICAL[bogus = 138] | HSITRIM[16] | HSION (enable PLL) sleep 10 ;# Wait for PLL to lock mww 0x40023808 0x00000002 ;# RCC_CFGR = (all = div1), select PLL as main clock source. (we should now run at 84 MHz) Debug: 177 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu configure -event gdb-attach # Needed to be able to use the connect_assert_srst in reset_config # otherwise, wrong value when reading device flash size register reset init Debug: 178 5 command.c:145 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu configure -event gdb-attach # Needed to be able to use the connect_assert_srst in reset_config # otherwise, wrong value when reading device flash size register reset init Debug: 179 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu configure -event reset-start # Reduce speed since CPU speed will slow down to 16MHz with the reset adapter_khz 2000 Debug: 180 5 command.c:145 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu configure -event reset-start # Reduce speed since CPU speed will slow down to 16MHz with the reset adapter_khz 2000 Debug: 181 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_only srst_nogate Debug: 182 5 command.c:145 script_debug(): command - reset_config ocd_reset_config srst_only srst_nogate User : 184 5 command.c:546 command_print(): srst_only separate srst_nogate srst_open_drain connect_assert_srst Debug: 185 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_gdb_port 4242 Debug: 186 5 command.c:145 script_debug(): command - gdb_port ocd_gdb_port 4242 Debug: 188 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init Debug: 189 5 command.c:145 script_debug(): command - init ocd_init Debug: 191 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init Debug: 192 5 command.c:145 script_debug(): command - ocd_target ocd_target init Debug: 194 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target names Debug: 195 5 command.c:145 script_debug(): command - ocd_target ocd_target names Debug: 196 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu cget -event gdb-flash-erase-start Debug: 197 5 command.c:145 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu cget -event gdb-flash-erase-start Debug: 198 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu configure -event gdb-flash-erase-start reset init Debug: 199 5 command.c:145 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu configure -event gdb-flash-erase-start reset init Debug: 200 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu cget -event gdb-flash-write-end Debug: 201 5 command.c:145 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu cget -event gdb-flash-write-end Debug: 202 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu configure -event gdb-flash-write-end reset halt Debug: 203 5 command.c:145 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu configure -event gdb-flash-write-end reset halt Debug: 204 5 target.c:1308 handle_target_init_command(): Initializing targets... Debug: 205 5 hla_target.c:343 adapter_init_target(): adapter_init_target Debug: 206 5 command.c:366 register_command_handler(): registering 'ocd_target_request'... Debug: 207 5 command.c:366 register_command_handler(): registering 'ocd_trace'... Debug: 208 5 command.c:366 register_command_handler(): registering 'ocd_trace'... Debug: 209 5 command.c:366 register_command_handler(): registering 'ocd_fast_load_image'... Debug: 210 5 command.c:366 register_command_handler(): registering 'ocd_fast_load'... Debug: 211 5 command.c:366 register_command_handler(): registering 'ocd_profile'... Debug: 212 5 command.c:366 register_command_handler(): registering 'ocd_virt2phys'... Debug: 213 5 command.c:366 register_command_handler(): registering 'ocd_reg'... Debug: 214 5 command.c:366 register_command_handler(): registering 'ocd_poll'... Debug: 215 5 command.c:366 register_command_handler(): registering 'ocd_wait_halt'... Debug: 216 5 command.c:366 register_command_handler(): registering 'ocd_halt'... Debug: 217 5 command.c:366 register_command_handler(): registering 'ocd_resume'... Debug: 218 5 command.c:366 register_command_handler(): registering 'ocd_reset'... Debug: 219 5 command.c:366 register_command_handler(): registering 'ocd_soft_reset_halt'... Debug: 220 5 command.c:366 register_command_handler(): registering 'ocd_step'... Debug: 221 5 command.c:366 register_command_handler(): registering 'ocd_mdw'... Debug: 222 5 command.c:366 register_command_handler(): registering 'ocd_mdh'... Debug: 223 5 command.c:366 register_command_handler(): registering 'ocd_mdb'... Debug: 224 5 command.c:366 register_command_handler(): registering 'ocd_mww'... Debug: 225 5 command.c:366 register_command_handler(): registering 'ocd_mwh'... Debug: 226 5 command.c:366 register_command_handler(): registering 'ocd_mwb'... Debug: 227 5 command.c:366 register_command_handler(): registering 'ocd_bp'... Debug: 228 5 command.c:366 register_command_handler(): registering 'ocd_rbp'... Debug: 229 5 command.c:366 register_command_handler(): registering 'ocd_wp'... Debug: 230 5 command.c:366 register_command_handler(): registering 'ocd_rwp'... Debug: 231 5 command.c:366 register_command_handler(): registering 'ocd_load_image'... Debug: 232 5 command.c:366 register_command_handler(): registering 'ocd_dump_image'... Debug: 233 5 command.c:366 register_command_handler(): registering 'ocd_verify_image'... Debug: 234 5 command.c:366 register_command_handler(): registering 'ocd_test_image'... Debug: 235 6 command.c:366 register_command_handler(): registering 'ocd_reset_nag'... Debug: 236 6 command.c:366 register_command_handler(): registering 'ocd_ps'... Debug: 237 6 command.c:366 register_command_handler(): registering 'ocd_test_mem_access'... Debug: 238 6 hla_interface.c:111 hl_interface_init(): hl_interface_init Debug: 239 6 hla_layout.c:85 hl_layout_init(): hl_layout_init Debug: 240 6 core.c:1600 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 241 6 core.c:1603 adapter_khz_to_speed(): have interface set up Info : 242 6 stlink_usb.c:1663 stlink_speed(): Unable to match requested speed 2000 kHz, using 1800 kHz Debug: 243 6 core.c:1600 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 244 6 core.c:1603 adapter_khz_to_speed(): have interface set up Info : 245 6 stlink_usb.c:1663 stlink_speed(): Unable to match requested speed 2000 kHz, using 1800 kHz Info : 246 6 core.c:1388 adapter_init(): clock speed 1800 kHz Debug: 247 6 openocd.c:137 handle_init_command(): Debug Adapter init complete Debug: 248 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport init Debug: 249 6 command.c:145 script_debug(): command - ocd_transport ocd_transport init Debug: 251 6 transport.c:240 handle_transport_init(): handle_transport_init Debug: 252 6 hla_transport.c:154 hl_transport_init(): hl_transport_init Debug: 253 6 hla_transport.c:171 hl_transport_init(): current transport hla_swd Debug: 254 6 hla_interface.c:44 hl_interface_open(): hl_interface_open Debug: 255 6 hla_layout.c:42 hl_layout_open(): hl_layout_open Debug: 256 6 stlink_usb.c:1697 stlink_usb_open(): stlink_usb_open Debug: 257 6 stlink_usb.c:1714 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x3748 serial: Error: 258 42 stlink_usb.c:1727 stlink_usb_open(): open failed Debug: 259 42 hla_layout.c:49 hl_layout_open(): failed Debug: 260 42 command.c:628 run_command(): Command failed with error code -4 User : 261 42 command.c:689 command_run_line(): in procedure 'init' in procedure 'ocd_bouncer' Debug: 262 42 command.c:628 run_command(): Command failed with error code -4 User : 263 42 command.c:689 command_run_line(): Debug: 264 42 hla_interface.c:119 hl_interface_quit(): hl_interface_quit