Debug Issues in Mac OS X
I am running 10.11.6 as well, this is a custom board with an STM32F030K6T6 target. I used their create new board wizard to set up the board for my project. It does not work in either just loading or loading and debugging. The console output when trying to load is:
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 configuration.c:44 add_script_search_dir(): adding /Users/kyleprice/Google Drive/ARM Development/STM/STM32/SystemWorkbenchSTM32/otherTest
Debug: 15 2 configuration.c:44 add_script_search_dir(): adding /Applications/Ac6/SystemWorkbench.app/Contents/Eclipse/plugins/fr.ac6.mcu.debug_1.8.0.201603291114/resources/openocd/scripts
Debug: 16 2 options.c:98 add_default_dirs(): bindir=/usr/bin
Debug: 17 2 options.c:99 add_default_dirs(): pkgdatadir=/usr/share/openocd
Debug: 18 2 options.c:100 add_default_dirs(): run_prefix=
Debug: 19 2 configuration.c:44 add_script_search_dir(): adding /usr/share/openocd/site
Debug: 20 2 configuration.c:44 add_script_search_dir(): adding /usr/share/openocd/scripts
Debug: 21 2 configuration.c:84 find_file(): found KyleBareF030K6T6.cfg
Debug: 22 3 configuration.c:84 find_file(): found /Applications/Ac6/SystemWorkbench.app/Contents/Eclipse/plugins/fr.ac6.mcu.debug_1.8.0.201603291114/resources/openocd/scripts/interface/stlink-v2.cfg
Debug: 23 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface hla
Debug: 24 3 command.c:145 script_debug(): command - interface ocd_interface hla
Debug: 26 3 command.c:366 register_command_handler(): registering 'ocd_hla_device_desc'...
Debug: 27 3 command.c:366 register_command_handler(): registering 'ocd_hla_serial'...
Debug: 28 3 command.c:366 register_command_handler(): registering 'ocd_hla_layout'...
Debug: 29 3 command.c:366 register_command_handler(): registering 'ocd_hla_vid_pid'...
Debug: 30 3 command.c:366 register_command_handler(): registering 'ocd_hla_command'...
Debug: 31 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_hla_layout stlink
Debug: 32 3 command.c:145 script_debug(): command - hla_layout ocd_hla_layout stlink
Debug: 34 3 hla_interface.c:241 hl_interface_handle_layout_command(): hl_interface_handle_layout_command
Debug: 35 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_hla_device_desc ST-LINK/V2
Debug: 36 3 command.c:145 script_debug(): command - hla_device_desc ocd_hla_device_desc ST-LINK/V2
Debug: 38 3 hla_interface.c:215 hl_interface_handle_device_desc_command(): hl_interface_handle_device_desc_command
Debug: 39 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_hla_vid_pid 0x0483 0x3748
Debug: 40 3 command.c:145 script_debug(): command - hla_vid_pid ocd_hla_vid_pid 0x0483 0x3748
Debug: 42 3 hla_interface.c:269 hl_interface_handle_vid_pid_command(): hl_interface_handle_vid_pid_command
Debug: 43 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select hla_swd
Debug: 44 3 command.c:145 script_debug(): command - ocd_transport ocd_transport select hla_swd
Debug: 45 3 hla_transport.c:193 hl_transport_select(): hl_transport_select
Debug: 46 3 command.c:366 register_command_handler(): registering 'ocd_hla'...
Debug: 47 3 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 48 3 command.c:366 register_command_handler(): registering 'ocd_jtag'...
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_ntrst_delay'...
Debug: 57 3 configuration.c:84 find_file(): found /Applications/Ac6/SystemWorkbench.app/Contents/Eclipse/plugins/fr.ac6.mcu.debug_1.8.0.201603291114/resources/openocd/scripts/target/stm32f0x_stlink.cfg
Debug: 58 3 configuration.c:84 find_file(): found /Applications/Ac6/SystemWorkbench.app/Contents/Eclipse/plugins/fr.ac6.mcu.debug_1.8.0.201603291114/resources/openocd/scripts/target/stm32f0x.cfg
Debug: 59 3 configuration.c:84 find_file(): found /Applications/Ac6/SystemWorkbench.app/Contents/Eclipse/plugins/fr.ac6.mcu.debug_1.8.0.201603291114/resources/openocd/scripts/target/swj-dp.tcl
Debug: 60 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 61 3 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 62 3 configuration.c:84 find_file(): found /Applications/Ac6/SystemWorkbench.app/Contents/Eclipse/plugins/fr.ac6.mcu.debug_1.8.0.201603291114/resources/openocd/scripts/mem_helper.tcl
Debug: 63 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mrw address
Debug: 64 3 command.c:145 script_debug(): command - add_usage_text ocd_add_usage_text mrw address
Debug: 66 3 command.c:1100 help_add_command(): added 'mrw' help text
Debug: 67 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mrw Returns value of word in memory.
Debug: 68 3 command.c:145 script_debug(): command - add_help_text ocd_add_help_text mrw Returns value of word in memory.
Debug: 70 3 command.c:1113 help_add_command(): added 'mrw' help text
Debug: 71 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mmw address setbits clearbits
Debug: 72 4 command.c:145 script_debug(): command - add_usage_text ocd_add_usage_text mmw address setbits clearbits
Debug: 74 4 command.c:1100 help_add_command(): added 'mmw' help text
Debug: 75 4 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: 76 4 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: 78 4 command.c:1113 help_add_command(): added 'mmw' help text
Debug: 79 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 80 4 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 81 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 82 4 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 83 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 84 4 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 85 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_hla newtap stm32f0x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x0bb11477
Debug: 86 4 command.c:145 script_debug(): command - ocd_hla ocd_hla newtap stm32f0x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x0bb11477
Debug: 87 4 hla_tcl.c:118 jim_hl_newtap_cmd(): Creating New Tap, Chip: stm32f0x, Tap: cpu, Dotted: stm32f0x.cpu, 8 params
Debug: 88 4 hla_tcl.c:128 jim_hl_newtap_cmd(): Processing option: -irlen
Debug: 89 4 hla_tcl.c:128 jim_hl_newtap_cmd(): Processing option: -ircapture
Debug: 90 4 hla_tcl.c:128 jim_hl_newtap_cmd(): Processing option: -irmask
Debug: 91 4 hla_tcl.c:128 jim_hl_newtap_cmd(): Processing option: -expected-id
Debug: 92 4 core.c:1306 jtag_tap_init(): Created Tap: stm32f0x.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0
Debug: 93 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target create stm32f0x.cpu cortex_m -endian little -chain-position stm32f0x.cpu
Debug: 94 4 command.c:145 script_debug(): command - ocd_target ocd_target create stm32f0x.cpu cortex_m -endian little -chain-position stm32f0x.cpu
Info : 95 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: 96 4 target.c:1883 target_free_all_working_areas_restore(): freeing all working areas
Debug: 97 4 command.c:366 register_command_handler(): registering 'ocd_arm'...
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_tpiu'...
Debug: 104 4 command.c:366 register_command_handler(): registering 'ocd_itm'...
Debug: 105 4 command.c:366 register_command_handler(): registering 'ocd_itm'...
Debug: 106 4 hla_target.c:353 adapter_target_create(): adapter_target_create
Debug: 107 4 hla_target.c:324 adapter_init_arch_info(): adapter_init_arch_info
Debug: 108 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 109 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 110 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 111 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 112 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 113 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 114 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 115 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 116 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 117 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 118 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 119 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 120 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 121 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 122 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 123 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 124 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 125 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 126 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 127 4 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 128 5 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 129 5 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 130 5 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 131 5 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 132 5 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 133 5 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 134 5 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 135 5 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 136 5 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 137 5 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 138 5 command.c:366 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 139 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x1000 -work-area-backup 0
Debug: 140 5 command.c:145 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x1000 -work-area-backup 0
Debug: 141 5 target.c:1883 target_free_all_working_areas_restore(): freeing all working areas
Debug: 142 5 target.c:1883 target_free_all_working_areas_restore(): freeing all working areas
Debug: 143 5 target.c:1883 target_free_all_working_areas_restore(): freeing all working areas
Debug: 144 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash bank stm32f0x.flash stm32f1x 0x08000000 0 0 0 stm32f0x.cpu
Debug: 145 5 command.c:145 script_debug(): command - ocd_flash ocd_flash bank stm32f0x.flash stm32f1x 0x08000000 0 0 0 stm32f0x.cpu
Debug: 147 5 command.c:366 register_command_handler(): registering 'ocd_stm32f1x'...
Debug: 148 5 command.c:366 register_command_handler(): registering 'ocd_stm32f1x'...
Debug: 149 5 command.c:366 register_command_handler(): registering 'ocd_stm32f1x'...
Debug: 150 5 command.c:366 register_command_handler(): registering 'ocd_stm32f1x'...
Debug: 151 5 command.c:366 register_command_handler(): registering 'ocd_stm32f1x'...
Debug: 152 5 tcl.c:1031 handle_flash_bank_command(): 'stm32f1x' driver usage field missing
Debug: 153 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 1000
Debug: 154 5 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 1000
Debug: 156 5 core.c:1633 jtag_config_khz(): handle jtag khz
Debug: 157 5 core.c:1600 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 158 5 core.c:1600 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 159 5 command.c:546 command_print(): adapter speed: 1000 kHz
Debug: 160 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 100
Debug: 161 5 command.c:145 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 100
User : 163 5 command.c:546 command_print(): adapter_nsrst_delay: 100
Debug: 164 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_only srst_nogate connect_assert_srst
Debug: 165 5 command.c:145 script_debug(): command - reset_config ocd_reset_config srst_only srst_nogate connect_assert_srst
User : 167 5 command.c:546 command_print(): srst_only separate srst_nogate srst_open_drain connect_assert_srst
Debug: 168 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 169 5 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 170 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -event gdb-attach
# Needed to be able to use the connect_assert_srst in reset_config
# otherwise, can't read device id
reset init
Debug: 171 5 command.c:145 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -event gdb-attach
# Needed to be able to use the connect_assert_srst in reset_config
# otherwise, can't read device id
reset init
Debug: 172 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -event examine-end stm32f0x_default_examine_end
Debug: 173 5 command.c:145 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -event examine-end stm32f0x_default_examine_end
Debug: 174 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -event reset-start stm32f0x_default_reset_start
Debug: 175 5 command.c:145 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -event reset-start stm32f0x_default_reset_start
Debug: 176 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -event reset-init stm32f0x_default_reset_init
Debug: 177 5 command.c:145 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -event reset-init stm32f0x_default_reset_init
Debug: 178 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_only srst_nogate
Debug: 179 6 command.c:145 script_debug(): command - reset_config ocd_reset_config srst_only srst_nogate
User : 181 6 command.c:546 command_print(): srst_only separate srst_nogate srst_open_drain connect_assert_srst
Debug: 182 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init
Debug: 183 6 command.c:145 script_debug(): command - init ocd_init
Debug: 185 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init
Debug: 186 6 command.c:145 script_debug(): command - ocd_target ocd_target init
Debug: 188 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target names
Debug: 189 6 command.c:145 script_debug(): command - ocd_target ocd_target names
Debug: 190 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu cget -event gdb-flash-erase-start
Debug: 191 6 command.c:145 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu cget -event gdb-flash-erase-start
Debug: 192 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -event gdb-flash-erase-start reset init
Debug: 193 6 command.c:145 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -event gdb-flash-erase-start reset init
Debug: 194 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu cget -event gdb-flash-write-end
Debug: 195 6 command.c:145 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu cget -event gdb-flash-write-end
Debug: 196 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -event gdb-flash-write-end reset halt
Debug: 197 6 command.c:145 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -event gdb-flash-write-end reset halt
Debug: 198 6 target.c:1308 handle_target_init_command(): Initializing targets...
Debug: 199 6 hla_target.c:343 adapter_init_target(): adapter_init_target
Debug: 200 6 command.c:366 register_command_handler(): registering 'ocd_target_request'...
Debug: 201 6 command.c:366 register_command_handler(): registering 'ocd_trace'...
Debug: 202 6 command.c:366 register_command_handler(): registering 'ocd_trace'...
Debug: 203 6 command.c:366 register_command_handler(): registering 'ocd_fast_load_image'...
Debug: 204 6 command.c:366 register_command_handler(): registering 'ocd_fast_load'...
Debug: 205 6 command.c:366 register_command_handler(): registering 'ocd_profile'...
Debug: 206 6 command.c:366 register_command_handler(): registering 'ocd_virt2phys'...
Debug: 207 6 command.c:366 register_command_handler(): registering 'ocd_reg'...
Debug: 208 6 command.c:366 register_command_handler(): registering 'ocd_poll'...
Debug: 209 6 command.c:366 register_command_handler(): registering 'ocd_wait_halt'...
Debug: 210 6 command.c:366 register_command_handler(): registering 'ocd_halt'...
Debug: 211 6 command.c:366 register_command_handler(): registering 'ocd_resume'...
Debug: 212 6 command.c:366 register_command_handler(): registering 'ocd_reset'...
Debug: 213 6 command.c:366 register_command_handler(): registering 'ocd_soft_reset_halt'...
Debug: 214 6 command.c:366 register_command_handler(): registering 'ocd_step'...
Debug: 215 6 command.c:366 register_command_handler(): registering 'ocd_mdw'...
Debug: 216 6 command.c:366 register_command_handler(): registering 'ocd_mdh'...
Debug: 217 6 command.c:366 register_command_handler(): registering 'ocd_mdb'...
Debug: 218 6 command.c:366 register_command_handler(): registering 'ocd_mww'...
Debug: 219 6 command.c:366 register_command_handler(): registering 'ocd_mwh'...
Debug: 220 6 command.c:366 register_command_handler(): registering 'ocd_mwb'...
Debug: 221 6 command.c:366 register_command_handler(): registering 'ocd_bp'...
Debug: 222 6 command.c:366 register_command_handler(): registering 'ocd_rbp'...
Debug: 223 6 command.c:366 register_command_handler(): registering 'ocd_wp'...
Debug: 224 6 command.c:366 register_command_handler(): registering 'ocd_rwp'...
Debug: 225 6 command.c:366 register_command_handler(): registering 'ocd_load_image'...
Debug: 226 6 command.c:366 register_command_handler(): registering 'ocd_dump_image'...
Debug: 227 6 command.c:366 register_command_handler(): registering 'ocd_verify_image'...
Debug: 228 6 command.c:366 register_command_handler(): registering 'ocd_test_image'...
Debug: 229 6 command.c:366 register_command_handler(): registering 'ocd_reset_nag'...
Debug: 230 6 command.c:366 register_command_handler(): registering 'ocd_ps'...
Debug: 231 6 command.c:366 register_command_handler(): registering 'ocd_test_mem_access'...
Debug: 232 6 hla_interface.c:111 hl_interface_init(): hl_interface_init
Debug: 233 6 hla_layout.c:85 hl_layout_init(): hl_layout_init
Debug: 234 6 core.c:1600 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 235 6 core.c:1603 adapter_khz_to_speed(): have interface set up
Info : 236 6 stlink_usb.c:1663 stlink_speed(): Unable to match requested speed 1000 kHz, using 950 kHz
Debug: 237 6 core.c:1600 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 238 6 core.c:1603 adapter_khz_to_speed(): have interface set up
Info : 239 6 stlink_usb.c:1663 stlink_speed(): Unable to match requested speed 1000 kHz, using 950 kHz
Info : 240 6 core.c:1388 adapter_init(): clock speed 950 kHz
Debug: 241 6 openocd.c:137 handle_init_command(): Debug Adapter init complete
Debug: 242 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport init
Debug: 243 6 command.c:145 script_debug(): command - ocd_transport ocd_transport init
Debug: 245 6 transport.c:240 handle_transport_init(): handle_transport_init
Debug: 246 7 hla_transport.c:154 hl_transport_init(): hl_transport_init
Debug: 247 7 hla_transport.c:171 hl_transport_init(): current transport hla_swd
Debug: 248 7 hla_interface.c:44 hl_interface_open(): hl_interface_open
Debug: 249 7 hla_layout.c:42 hl_layout_open(): hl_layout_open
Debug: 250 7 stlink_usb.c:1697 stlink_usb_open(): stlink_usb_open
Debug: 251 7 stlink_usb.c:1714 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x3748 serial:
Error: 252 46 stlink_usb.c:1727 stlink_usb_open(): open failed
Debug: 253 46 hla_layout.c:49 hl_layout_open(): failed
Debug: 254 46 command.c:628 run_command(): Command failed with error code -4
User : 255 46 command.c:689 command_run_line(): in procedure 'program'
in procedure 'init' called at file "embedded:startup.tcl", line 473
in procedure 'ocd_bouncer'
Debug: 256 46 command.c:628 run_command(): Command failed with error code -4
Debug: 257 46 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_echo ** OpenOCD init failed **
Debug: 258 46 command.c:145 script_debug(): command - echo ocd_echo ** OpenOCD init failed **
User : 260 46 command.c:764 jim_echo(): ** OpenOCD init failed **
Debug: 261 46 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_shutdown error
Debug: 262 46 command.c:145 script_debug(): command - shutdown ocd_shutdown error
User : 264 46 server.c:611 handle_shutdown_command(): shutdown command invoked
Debug: 265 46 command.c:628 run_command(): Command failed with error code -4
User : 266 46 command.c:689 command_run_line():
Debug: 267 46 hla_interface.c:119 hl_interface_quit(): hl_interface_quit
The output is the same for the openOcd console when trying to debug and GDB shows:
GNU gdb (GNU Tools for ARM Embedded Processors) 7.10.1.20151217-cvs
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "host=x86_64-apple-darwin10 target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word".
It appears as though openOcd is choking.... I am pretty well tied up during the days this week so I won't be able to look deeper into this until tonight...
Thanks for the help!!