Open On-Chip Debugger 0.10.0-dev-00010-g96aab7b (2018-07-13-06:51) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html User : 13 2 command.c:544 command_print(): debug_level: 3 Debug: 14 2 configuration.c:42 add_script_search_dir(): adding XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Debug: 15 3 configuration.c:42 add_script_search_dir(): adding C:/Program Files/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.debug_2.2.0.201807130628/resources/openocd/st_scripts Debug: 16 3 options.c:181 add_default_dirs(): bindir=/src/staging/openocd/win32/bin Debug: 17 3 options.c:182 add_default_dirs(): pkgdatadir=/src/staging/openocd/win32/share/openocd Debug: 18 4 options.c:183 add_default_dirs(): exepath=C:/Program Files/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.openocd.win32_1.18.0.201807130628/tools/openocd/bin Debug: 19 4 options.c:184 add_default_dirs(): bin2data=../share/openocd Debug: 20 4 configuration.c:42 add_script_search_dir(): adding C:\Users\User\AppData\Roaming/OpenOCD Debug: 21 5 configuration.c:42 add_script_search_dir(): adding C:/Program Files/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.openocd.win32_1.18.0.201807130628/tools/openocd/bin/../share/openocd/site Debug: 22 5 configuration.c:42 add_script_search_dir(): adding C:/Program Files/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.openocd.win32_1.18.0.201807130628/tools/openocd/bin/../share/openocd/scripts Debug: 23 7 configuration.c:82 find_file(): found XXXXXXX Debug.cfg Debug: 24 8 configuration.c:82 find_file(): found C:/Program Files/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.debug_2.2.0.201807130628/resources/openocd/st_scripts/interface/stlink-v2.cfg Debug: 25 9 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_interface hla Debug: 26 9 command.c:143 script_debug(): command - interface ocd_interface hla Debug: 28 9 command.c:364 register_command_handler(): registering 'ocd_hla_device_desc'... Debug: 29 9 command.c:364 register_command_handler(): registering 'ocd_hla_serial'... Debug: 30 10 command.c:364 register_command_handler(): registering 'ocd_hla_layout'... Debug: 31 10 command.c:364 register_command_handler(): registering 'ocd_hla_vid_pid'... Debug: 32 10 command.c:364 register_command_handler(): registering 'ocd_hla_command'... Debug: 33 11 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_hla_layout stlink Debug: 34 11 command.c:143 script_debug(): command - hla_layout ocd_hla_layout stlink Debug: 36 11 hla_interface.c:239 hl_interface_handle_layout_command(): hl_interface_handle_layout_command Debug: 37 11 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_hla_device_desc ST-LINK/V2 Debug: 38 12 command.c:143 script_debug(): command - hla_device_desc ocd_hla_device_desc ST-LINK/V2 Debug: 40 12 hla_interface.c:213 hl_interface_handle_device_desc_command(): hl_interface_handle_device_desc_command Debug: 41 12 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_hla_vid_pid 0x0483 0x3748 Debug: 42 13 command.c:143 script_debug(): command - hla_vid_pid ocd_hla_vid_pid 0x0483 0x3748 Debug: 44 13 hla_interface.c:267 hl_interface_handle_vid_pid_command(): hl_interface_handle_vid_pid_command Debug: 45 14 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select hla_swd Debug: 46 14 command.c:143 script_debug(): command - ocd_transport ocd_transport select hla_swd Debug: 47 14 hla_transport.c:191 hl_transport_select(): hl_transport_select Debug: 48 15 command.c:364 register_command_handler(): registering 'ocd_hla'... Debug: 49 15 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 50 15 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 51 15 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 52 16 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 53 16 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 54 16 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 55 16 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 56 17 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 57 17 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 58 17 command.c:364 register_command_handler(): registering 'ocd_jtag_ntrst_delay'... Debug: 59 18 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_reset_config none Debug: 60 18 command.c:143 script_debug(): command - reset_config ocd_reset_config none User : 62 18 command.c:544 command_print(): none separate Debug: 63 19 configuration.c:82 find_file(): found C:/Program Files/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.debug_2.2.0.201807130628/resources/openocd/st_scripts/target/stm32f7x.cfg Debug: 64 21 configuration.c:82 find_file(): found C:/Program Files/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.debug_2.2.0.201807130628/resources/openocd/st_scripts/target/swj-dp.tcl Debug: 65 22 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 66 22 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 67 23 configuration.c:82 find_file(): found C:/Program Files/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.debug_2.2.0.201807130628/resources/openocd/st_scripts/mem_helper.tcl Debug: 68 24 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mrw address Debug: 69 24 command.c:143 script_debug(): command - add_usage_text ocd_add_usage_text mrw address Debug: 71 24 command.c:1098 help_add_command(): added 'mrw' help text Debug: 72 25 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mrw Returns value of word in memory. Debug: 73 25 command.c:143 script_debug(): command - add_help_text ocd_add_help_text mrw Returns value of word in memory. Debug: 75 25 command.c:1111 help_add_command(): added 'mrw' help text Debug: 76 26 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mrb address Debug: 77 26 command.c:143 script_debug(): command - add_usage_text ocd_add_usage_text mrb address Debug: 79 26 command.c:1098 help_add_command(): added 'mrb' help text Debug: 80 26 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mrb Returns value of byte in memory. Debug: 81 27 command.c:143 script_debug(): command - add_help_text ocd_add_help_text mrb Returns value of byte in memory. Debug: 83 27 command.c:1111 help_add_command(): added 'mrb' help text Debug: 84 27 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mmw address setbits clearbits Debug: 85 28 command.c:143 script_debug(): command - add_usage_text ocd_add_usage_text mmw address setbits clearbits Debug: 87 28 command.c:1098 help_add_command(): added 'mmw' help text Debug: 88 28 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 29 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 29 command.c:1111 help_add_command(): added 'mmw' help text Debug: 92 30 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 93 30 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 94 30 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 95 31 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 96 31 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 97 31 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 98 32 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 99 32 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 100 32 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_hla newtap STM32F732RETx cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x5ba02477 Debug: 101 33 command.c:143 script_debug(): command - ocd_hla ocd_hla newtap STM32F732RETx cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x5ba02477 Debug: 102 34 hla_tcl.c:116 jim_hl_newtap_cmd(): Creating New Tap, Chip: STM32F732RETx, Tap: cpu, Dotted: STM32F732RETx.cpu, 8 params Debug: 103 34 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -irlen Debug: 104 34 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -ircapture Debug: 105 34 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -irmask Debug: 106 35 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -expected-id Debug: 107 35 core.c:1304 jtag_tap_init(): Created Tap: STM32F732RETx.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0 Debug: 108 35 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 109 36 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 110 36 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target create STM32F732RETx.cpu cortex_m -endian little -chain-position STM32F732RETx.cpu Debug: 111 36 command.c:143 script_debug(): command - ocd_target ocd_target create STM32F732RETx.cpu cortex_m -endian little -chain-position STM32F732RETx.cpu Info : 112 37 target.c:5471 target_create(): The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD Debug: 113 37 target.c:1920 target_free_all_working_areas_restore(): freeing all working areas Debug: 114 38 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 115 38 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 116 38 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 117 39 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 118 39 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 119 39 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 120 39 command.c:364 register_command_handler(): registering 'ocd_arm'... Debug: 121 40 command.c:364 register_command_handler(): registering 'ocd_tpiu'... Debug: 122 40 command.c:364 register_command_handler(): registering 'ocd_itm'... Debug: 123 40 command.c:364 register_command_handler(): registering 'ocd_itm'... Debug: 124 40 hla_target.c:351 adapter_target_create(): adapter_target_create Debug: 125 41 hla_target.c:322 adapter_init_arch_info(): adapter_init_arch_info Debug: 126 41 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 127 41 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 128 42 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 129 42 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 130 42 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 131 42 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 132 43 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 133 43 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 134 43 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 135 44 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 136 44 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 137 44 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 138 44 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 139 45 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 140 45 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 141 45 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 142 46 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 143 46 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 144 46 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 145 47 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 146 47 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 147 47 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 148 48 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 149 48 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 150 48 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 151 48 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 152 49 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 153 49 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 154 49 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 155 50 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 156 50 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 157 50 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 158 50 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 159 51 command.c:364 register_command_handler(): registering 'ocd_STM32F732RETx.cpu'... Debug: 160 51 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_STM32F732RETx.cpu configure -work-area-phys 0x20000000 -work-area-size 0x8000 -work-area-backup 0 Debug: 161 52 command.c:143 script_debug(): command - ocd_STM32F732RETx.cpu ocd_STM32F732RETx.cpu configure -work-area-phys 0x20000000 -work-area-size 0x8000 -work-area-backup 0 Debug: 162 52 target.c:1920 target_free_all_working_areas_restore(): freeing all working areas Debug: 163 53 target.c:1920 target_free_all_working_areas_restore(): freeing all working areas Debug: 164 53 target.c:1920 target_free_all_working_areas_restore(): freeing all working areas Debug: 165 53 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash bank STM32F732RETx.flash stm32f7x 0x08000000 0 0 0 STM32F732RETx.cpu Debug: 166 54 command.c:143 script_debug(): command - ocd_flash ocd_flash bank STM32F732RETx.flash stm32f7x 0x08000000 0 0 0 STM32F732RETx.cpu Debug: 168 54 command.c:364 register_command_handler(): registering 'ocd_stm32f7x'... Debug: 169 55 command.c:364 register_command_handler(): registering 'ocd_stm32f7x'... Debug: 170 55 command.c:364 register_command_handler(): registering 'ocd_stm32f7x'... Debug: 171 55 tcl.c:1131 handle_flash_bank_command(): 'stm32f7x' driver usage field missing Debug: 172 56 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash bank ITCM_flash stm32f7x 0x00200000 0 0 0 STM32F732RETx.cpu Debug: 173 56 command.c:143 script_debug(): command - ocd_flash ocd_flash bank ITCM_flash stm32f7x 0x00200000 0 0 0 STM32F732RETx.cpu Debug: 175 57 command.c:399 register_command(): command 'stm32f7x' is already registered in '' context Debug: 176 57 command.c:399 register_command(): command 'lock' is already registered in 'stm32f7x' context Debug: 177 57 command.c:399 register_command(): command 'unlock' is already registered in 'stm32f7x' context Debug: 178 57 command.c:399 register_command(): command 'mass_erase' is already registered in 'stm32f7x' context Debug: 179 58 tcl.c:1131 handle_flash_bank_command(): 'stm32f7x' driver usage field missing Debug: 180 58 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 100 Debug: 181 59 command.c:143 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 100 User : 183 59 command.c:544 command_print(): adapter_nsrst_delay: 100 Debug: 184 59 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 185 60 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 186 60 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 1800 Debug: 187 60 command.c:143 script_debug(): command - adapter_khz ocd_adapter_khz 1800 Debug: 189 61 core.c:1631 jtag_config_khz(): handle jtag khz Debug: 190 61 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 191 61 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value User : 192 61 command.c:544 command_print(): adapter speed: 1800 kHz Debug: 193 61 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 194 62 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 195 62 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_STM32F732RETx.cpu configure -event examine-end global ENABLE_LOW_POWER global STOP_WATCHDOG if { [expr ($ENABLE_LOW_POWER == 1)] } { # Enable debug during low power modes (uses more power) # DBGMCU_CR |= DBG_STANDBY | DBG_STOP | DBG_SLEEP mmw 0xE0042004 0x00000007 0 } if { [expr ($ENABLE_LOW_POWER == 0)] } { # Disable debug during low power modes # DBGMCU_CR |= ~(DBG_STANDBY | DBG_STOP | DBG_SLEEP) mmw 0xE0042004 0 0x00000007 } if { [expr ($STOP_WATCHDOG == 1)] } { # Stop watchdog counters during halt # DBGMCU_APB1_FZ |= DBG_IWDG_STOP | DBG_WWDG_STOP mmw 0xE0042008 0x00001800 0 } if { [expr ($STOP_WATCHDOG == 0)] } { # Don't stop watchdog counters during halt # DBGMCU_APB1_FZ |= ~(DBG_IWDG_STOP | DBG_WWDG_STOP) mmw 0xE0042008 0 0x00001800 } Debug: 196 64 command.c:143 script_debug(): command - ocd_STM32F732RETx.cpu ocd_STM32F732RETx.cpu configure -event examine-end global ENABLE_LOW_POWER global STOP_WATCHDOG if { [expr ($ENABLE_LOW_POWER == 1)] } { # Enable debug during low power modes (uses more power) # DBGMCU_CR |= DBG_STANDBY | DBG_STOP | DBG_SLEEP mmw 0xE0042004 0x00000007 0 } if { [expr ($ENABLE_LOW_POWER == 0)] } { # Disable debug during low power modes # DBGMCU_CR |= ~(DBG_STANDBY | DBG_STOP | DBG_SLEEP) mmw 0xE0042004 0 0x00000007 } if { [expr ($STOP_WATCHDOG == 1)] } { # Stop watchdog counters during halt # DBGMCU_APB1_FZ |= DBG_IWDG_STOP | DBG_WWDG_STOP mmw 0xE0042008 0x00001800 0 } if { [expr ($STOP_WATCHDOG == 0)] } { # Don't stop watchdog counters during halt # DBGMCU_APB1_FZ |= ~(DBG_IWDG_STOP | DBG_WWDG_STOP) mmw 0xE0042008 0 0x00001800 } Debug: 197 67 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_STM32F732RETx.cpu configure -event gdb-attach global CONNECT_UNDER_RESET # Needed to be able to use the connect_assert_srst in reset_config # otherwise, can't read device flash size register if { [expr ($CONNECT_UNDER_RESET == 1)] } { reset init } Debug: 198 68 command.c:143 script_debug(): command - ocd_STM32F732RETx.cpu ocd_STM32F732RETx.cpu configure -event gdb-attach global CONNECT_UNDER_RESET # Needed to be able to use the connect_assert_srst in reset_config # otherwise, can't read device flash size register if { [expr ($CONNECT_UNDER_RESET == 1)] } { reset init } Debug: 199 69 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_STM32F732RETx.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: 200 69 command.c:143 script_debug(): command - ocd_STM32F732RETx.cpu ocd_STM32F732RETx.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: 201 70 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_STM32F732RETx.cpu configure -event reset-start if {[using_jtag]} { adapter_khz 1125 } else { adapter_khz 1800 } Debug: 202 71 command.c:143 script_debug(): command - ocd_STM32F732RETx.cpu ocd_STM32F732RETx.cpu configure -event reset-start if {[using_jtag]} { adapter_khz 1125 } else { adapter_khz 1800 } Debug: 203 71 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_STM32F732RETx.cpu configure -event reset-init global _CLOCK_FREQ global _BOARDNAME mww 0x40023C00 0x00000006 ;# 6 WS for 192 MHz HCLK mww 0x40023804 0x24003008 ;# 192 MHz: PLLM=8, PLLN=192, PLLP=2 mww 0x40023808 0x00009400 ;# APB1: /4, APB2: /2 mmw 0x40023800 0x01000000 0x00000000 ;# PLL on sleep 10 mmw 0x40023808 0x00000002 0x00000000 ;# switch to PLL adapter_khz $_CLOCK_FREQ if { [regexp -nocase {STM32F723E-DISCO|STM32746G-EVAL|STM32746G-EVAL2|STM32756G-EVAL|STM32756G-EVAL2} $_BOARDNAME] } { qspi_init } # if { [regexp -nocase {STM32746G-EVAL|STM32746G-EVAL2|STM32756G-EVAL|STM32756G-EVAL2} $_BOARDNAME] } { # stm32_enable_fmc # } Debug: 204 73 command.c:143 script_debug(): command - ocd_STM32F732RETx.cpu ocd_STM32F732RETx.cpu configure -event reset-init global _CLOCK_FREQ global _BOARDNAME mww 0x40023C00 0x00000006 ;# 6 WS for 192 MHz HCLK mww 0x40023804 0x24003008 ;# 192 MHz: PLLM=8, PLLN=192, PLLP=2 mww 0x40023808 0x00009400 ;# APB1: /4, APB2: /2 mmw 0x40023800 0x01000000 0x00000000 ;# PLL on sleep 10 mmw 0x40023808 0x00000002 0x00000000 ;# switch to PLL adapter_khz $_CLOCK_FREQ if { [regexp -nocase {STM32F723E-DISCO|STM32746G-EVAL|STM32746G-EVAL2|STM32756G-EVAL|STM32756G-EVAL2} $_BOARDNAME] } { qspi_init } # if { [regexp -nocase {STM32746G-EVAL|STM32746G-EVAL2|STM32756G-EVAL|STM32756G-EVAL2} $_BOARDNAME] } { # stm32_enable_fmc # } Debug: 205 76 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_STM32F732RETx.cpu configure -event gdb-detach # to close connection if debug mode entered shutdown Debug: 206 76 command.c:143 script_debug(): command - ocd_STM32F732RETx.cpu ocd_STM32F732RETx.cpu configure -event gdb-detach # to close connection if debug mode entered shutdown Debug: 207 77 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_gdb_port 3333 Debug: 208 77 command.c:143 script_debug(): command - gdb_port ocd_gdb_port 3333 Debug: 210 78 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_tcl_port 6666 Debug: 211 78 command.c:143 script_debug(): command - tcl_port ocd_tcl_port 6666 Debug: 213 78 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_telnet_port 4444 Debug: 214 79 command.c:143 script_debug(): command - telnet_port ocd_telnet_port 4444 Debug: 216 81 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_init Debug: 217 81 command.c:143 script_debug(): command - init ocd_init Debug: 219 81 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target init Debug: 220 81 command.c:143 script_debug(): command - ocd_target ocd_target init Debug: 222 82 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target names Debug: 223 82 command.c:143 script_debug(): command - ocd_target ocd_target names Debug: 224 82 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_STM32F732RETx.cpu cget -event gdb-flash-erase-start Debug: 225 83 command.c:143 script_debug(): command - ocd_STM32F732RETx.cpu ocd_STM32F732RETx.cpu cget -event gdb-flash-erase-start Debug: 226 83 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_STM32F732RETx.cpu configure -event gdb-flash-erase-start reset init Debug: 227 84 command.c:143 script_debug(): command - ocd_STM32F732RETx.cpu ocd_STM32F732RETx.cpu configure -event gdb-flash-erase-start reset init Debug: 228 84 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_STM32F732RETx.cpu cget -event gdb-flash-write-end Debug: 229 84 command.c:143 script_debug(): command - ocd_STM32F732RETx.cpu ocd_STM32F732RETx.cpu cget -event gdb-flash-write-end Debug: 230 85 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_STM32F732RETx.cpu configure -event gdb-flash-write-end reset halt Debug: 231 86 command.c:143 script_debug(): command - ocd_STM32F732RETx.cpu ocd_STM32F732RETx.cpu configure -event gdb-flash-write-end reset halt Debug: 232 86 target.c:1329 handle_target_init_command(): Initializing targets... Debug: 233 86 hla_target.c:341 adapter_init_target(): adapter_init_target Debug: 234 87 command.c:364 register_command_handler(): registering 'ocd_target_request'... Debug: 235 87 command.c:364 register_command_handler(): registering 'ocd_trace'... Debug: 236 87 command.c:364 register_command_handler(): registering 'ocd_trace'... Debug: 237 87 command.c:364 register_command_handler(): registering 'ocd_fast_load_image'... Debug: 238 88 command.c:364 register_command_handler(): registering 'ocd_fast_load'... Debug: 239 88 command.c:364 register_command_handler(): registering 'ocd_profile'... Debug: 240 88 command.c:364 register_command_handler(): registering 'ocd_virt2phys'... Debug: 241 89 command.c:364 register_command_handler(): registering 'ocd_reg'... Debug: 242 89 command.c:364 register_command_handler(): registering 'ocd_poll'... Debug: 243 89 command.c:364 register_command_handler(): registering 'ocd_wait_halt'... Debug: 244 89 command.c:364 register_command_handler(): registering 'ocd_halt'... Debug: 245 90 command.c:364 register_command_handler(): registering 'ocd_resume'... Debug: 246 90 command.c:364 register_command_handler(): registering 'ocd_reset'... Debug: 247 90 command.c:364 register_command_handler(): registering 'ocd_soft_reset_halt'... Debug: 248 91 command.c:364 register_command_handler(): registering 'ocd_step'... Debug: 249 91 command.c:364 register_command_handler(): registering 'ocd_mdd'... Debug: 250 91 command.c:364 register_command_handler(): registering 'ocd_mdw'... Debug: 251 92 command.c:364 register_command_handler(): registering 'ocd_mdh'... Debug: 252 92 command.c:364 register_command_handler(): registering 'ocd_mdb'... Debug: 253 92 command.c:364 register_command_handler(): registering 'ocd_mwd'... Debug: 254 93 command.c:364 register_command_handler(): registering 'ocd_mww'... Debug: 255 93 command.c:364 register_command_handler(): registering 'ocd_mwh'... Debug: 256 93 command.c:364 register_command_handler(): registering 'ocd_mwb'... Debug: 257 94 command.c:364 register_command_handler(): registering 'ocd_bp'... Debug: 258 94 command.c:364 register_command_handler(): registering 'ocd_rbp'... Debug: 259 94 command.c:364 register_command_handler(): registering 'ocd_wp'... Debug: 260 94 command.c:364 register_command_handler(): registering 'ocd_rwp'... Debug: 261 95 command.c:364 register_command_handler(): registering 'ocd_load_image'... Debug: 262 95 command.c:364 register_command_handler(): registering 'ocd_dump_image'... Debug: 263 95 command.c:364 register_command_handler(): registering 'ocd_verify_image_checksum'... Debug: 264 96 command.c:364 register_command_handler(): registering 'ocd_verify_image'... Debug: 265 97 command.c:364 register_command_handler(): registering 'ocd_test_image'... Debug: 266 98 command.c:364 register_command_handler(): registering 'ocd_reset_nag'... Debug: 267 98 command.c:364 register_command_handler(): registering 'ocd_ps'... Debug: 268 98 command.c:364 register_command_handler(): registering 'ocd_test_mem_access'... Debug: 269 99 hla_interface.c:109 hl_interface_init(): hl_interface_init Debug: 270 99 hla_layout.c:89 hl_layout_init(): hl_layout_init Debug: 271 99 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 272 99 core.c:1601 adapter_khz_to_speed(): have interface set up Debug: 273 100 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 274 100 core.c:1601 adapter_khz_to_speed(): have interface set up Info : 275 100 core.c:1386 adapter_init(): clock speed 1800 kHz Debug: 276 100 openocd.c:140 handle_init_command(): Debug Adapter init complete Debug: 277 101 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport init Debug: 278 101 command.c:143 script_debug(): command - ocd_transport ocd_transport init Debug: 280 101 transport.c:239 handle_transport_init(): handle_transport_init Debug: 281 102 hla_transport.c:152 hl_transport_init(): hl_transport_init Debug: 282 102 hla_transport.c:169 hl_transport_init(): current transport hla_swd Debug: 283 103 hla_interface.c:42 hl_interface_open(): hl_interface_open Debug: 284 103 hla_layout.c:40 hl_layout_open(): hl_layout_open Debug: 285 103 stlink_usb.c:2070 stlink_usb_open(): stlink_usb_open Debug: 286 103 stlink_usb.c:2086 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x3748 serial: Error: 287 124 libusb1_common.c:193 jtag_libusb_open(): libusb_get_device_list() failed with LIBUSB_ERROR_OTHER Error: 288 124 stlink_usb.c:2099 stlink_usb_open(): open failed (no matching adapter found) Debug: 289 124 hla_layout.c:47 hl_layout_open(): failed Debug: 290 125 command.c:626 run_command(): Command failed with error code -4 User : 291 125 command.c:687 command_run_line(): in procedure 'init' in procedure 'ocd_bouncer' Debug: 292 125 command.c:626 run_command(): Command failed with error code -4 User : 293 125 command.c:687 command_run_line(): Debug: 294 126 hla_interface.c:117 hl_interface_quit(): hl_interface_quit