CASE 2 erro:
Open On-Chip Debugger 0.10.0-dev-00267-g884c33c (2016-03-16-12:22)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
User : 13 8 command.c:546 command_print(): debug_level: 3
Debug: 14 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 500
Debug: 15 19 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 500
Debug: 17 19 core.c:1633 jtag_config_khz(): handle jtag khz
Debug: 18 19 core.c:1600 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 19 19 core.c:1600 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 20 20 command.c:546 command_print(): adapter speed: 500 kHz
Debug: 21 20 configuration.c:84 find_file(): found C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.debug_1.8.0.201603291114\resources\openocd\scripts\interface\ftdi\ft2232d.cfg
Debug: 22 21 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface ftdi
Debug: 23 21 command.c:145 script_debug(): command - interface ocd_interface ftdi
Debug: 25 22 command.c:366 register_command_handler(): registering ‘ocd_ftdi_device_desc’…
Debug: 26 22 command.c:366 register_command_handler(): registering ‘ocd_ftdi_serial’…
Debug: 27 22 command.c:366 register_command_handler(): registering ‘ocd_ftdi_channel’…
Debug: 28 23 command.c:366 register_command_handler(): registering ‘ocd_ftdi_layout_init’…
Debug: 29 23 command.c:366 register_command_handler(): registering ‘ocd_ftdi_layout_signal’…
Debug: 30 24 command.c:366 register_command_handler(): registering ‘ocd_ftdi_set_signal’…
Debug: 31 24 command.c:366 register_command_handler(): registering ‘ocd_ftdi_vid_pid’…
Debug: 32 24 command.c:366 register_command_handler(): registering ‘ocd_ftdi_tdo_sample_edge’…
Debug: 33 24 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_vid_pid 0x0403 0x6010
Debug: 34 29 command.c:145 script_debug(): command - ftdi_vid_pid ocd_ftdi_vid_pid 0x0403 0x6010
Debug: 36 29 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_channel 0
Debug: 37 29 command.c:145 script_debug(): command - ftdi_channel ocd_ftdi_channel 0
Debug: 39 30 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_init 0x0c28 0x0f1b
Debug: 40 30 command.c:145 script_debug(): command - ftdi_layout_init ocd_ftdi_layout_init 0x0c28 0x0f1b
Debug: 42 30 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nTRST -data 0x0000 -oe 0x0000
Debug: 43 31 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nTRST -data 0x0000 -oe 0x0000
Debug: 45 31 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nSRST -data 0x0010 -oe 0x0010
Debug: 46 32 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nSRST -data 0x0010 -oe 0x0010
Debug: 48 32 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select jtag
Debug: 49 33 command.c:145 script_debug(): command - ocd_transport ocd_transport select jtag
Debug: 50 33 command.c:366 register_command_handler(): registering ‘ocd_jtag_flush_queue_sleep’…
Debug: 51 33 command.c:366 register_command_handler(): registering ‘ocd_jtag_rclk’…
Debug: 52 34 command.c:366 register_command_handler(): registering ‘ocd_jtag_ntrst_delay’…
Debug: 53 34 command.c:366 register_command_handler(): registering ‘ocd_jtag_ntrst_assert_width’…
Debug: 54 34 command.c:366 register_command_handler(): registering ‘ocd_scan_chain’…
Debug: 55 34 command.c:366 register_command_handler(): registering ‘ocd_jtag_reset’…
Debug: 56 34 command.c:366 register_command_handler(): registering ‘ocd_runtest’…
Debug: 57 35 command.c:366 register_command_handler(): registering ‘ocd_irscan’…
Debug: 58 35 command.c:366 register_command_handler(): registering ‘ocd_verify_ircapture’…
Debug: 59 35 command.c:366 register_command_handler(): registering ‘ocd_verify_jtag’…
Debug: 60 35 command.c:366 register_command_handler(): registering ‘ocd_tms_sequence’…
Debug: 61 35 command.c:366 register_command_handler(): registering ‘ocd_wait_srst_deassert’…
Debug: 62 36 command.c:366 register_command_handler(): registering ‘ocd_jtag’…
Debug: 63 36 command.c:366 register_command_handler(): registering ‘ocd_jtag’…
Debug: 64 37 command.c:366 register_command_handler(): registering ‘ocd_jtag’…
Debug: 65 37 command.c:366 register_command_handler(): registering ‘ocd_jtag’…
Debug: 66 37 command.c:366 register_command_handler(): registering ‘ocd_jtag’…
Debug: 67 37 command.c:366 register_command_handler(): registering ‘ocd_jtag’…
Debug: 68 38 command.c:366 register_command_handler(): registering ‘ocd_jtag’…
Debug: 69 38 command.c:366 register_command_handler(): registering ‘ocd_jtag’…
Debug: 70 38 command.c:366 register_command_handler(): registering ‘ocd_jtag’…
Debug: 71 38 command.c:366 register_command_handler(): registering ‘ocd_jtag’…
Debug: 72 38 command.c:366 register_command_handler(): registering ‘ocd_jtag’…
Debug: 73 39 command.c:366 register_command_handler(): registering ‘ocd_jtag’…
Debug: 74 39 command.c:366 register_command_handler(): registering ‘ocd_jtag’…
Debug: 75 39 command.c:366 register_command_handler(): registering ‘ocd_svf’…
Debug: 76 39 command.c:366 register_command_handler(): registering ‘ocd_xsvf’…
Debug: 77 39 configuration.c:84 find_file(): found C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.debug_1.8.0.201603291114\resources\openocd\scripts\target\stm32f7x.cfg
Debug: 78 40 configuration.c:84 find_file(): found C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.debug_1.8.0.201603291114\resources\openocd\scripts/target/swj-dp.tcl
Debug: 79 41 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 80 41 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 81 42 configuration.c:84 find_file(): found C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.debug_1.8.0.201603291114\resources\openocd\scripts/mem_helper.tcl
Debug: 82 42 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mrw address
Debug: 83 43 command.c:145 script_debug(): command - add_usage_text ocd_add_usage_text mrw address
Debug: 85 43 command.c:1100 help_add_command(): added ‘mrw’ help text
Debug: 86 44 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mrw Returns value of word in memory.
Debug: 87 44 command.c:145 script_debug(): command - add_help_text ocd_add_help_text mrw Returns value of word in memory.
Debug: 89 44 command.c:1113 help_add_command(): added ‘mrw’ help text
Debug: 90 45 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mmw address setbits clearbits
Debug: 91 45 command.c:145 script_debug(): command - add_usage_text ocd_add_usage_text mmw address setbits clearbits
Debug: 93 45 command.c:1100 help_add_command(): added ‘mmw’ help text
Debug: 94 46 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: 95 46 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: 97 46 command.c:1113 help_add_command(): added ‘mmw’ help text
Debug: 98 46 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 99 47 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 100 47 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 101 47 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 102 47 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 103 48 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 104 48 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 105 48 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 106 49 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap stm32f7x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x5ba00477
Debug: 107 49 command.c:145 script_debug(): command - ocd_jtag ocd_jtag newtap stm32f7x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x5ba00477
Debug: 108 49 tcl.c:551 jim_newtap_cmd(): Creating New Tap, Chip: stm32f7x, Tap: cpu, Dotted: stm32f7x.cpu, 8 params
Debug: 109 50 tcl.c:575 jim_newtap_cmd(): Processing option: -irlen
Debug: 110 50 tcl.c:575 jim_newtap_cmd(): Processing option: -ircapture
Debug: 111 50 tcl.c:575 jim_newtap_cmd(): Processing option: -irmask
Debug: 112 50 tcl.c:575 jim_newtap_cmd(): Processing option: -expected-id
Debug: 113 50 core.c:1306 jtag_tap_init(): Created Tap: stm32f7x.cpu @ abs position 0, irlen 4, capture: 0x1 mask: 0xf
Debug: 114 50 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 115 51 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 116 51 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 117 51 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 118 51 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 119 51 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 120 55 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 121 57 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 122 57 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap stm32f7x bs -irlen 5 -expected-id 0x06449041 -expected-id 0x06451041
Debug: 123 58 command.c:145 script_debug(): command - ocd_jtag ocd_jtag newtap stm32f7x bs -irlen 5 -expected-id 0x06449041 -expected-id 0x06451041
Debug: 124 58 tcl.c:551 jim_newtap_cmd(): Creating New Tap, Chip: stm32f7x, Tap: bs, Dotted: stm32f7x.bs, 6 params
Debug: 125 58 tcl.c:575 jim_newtap_cmd(): Processing option: -irlen
Debug: 126 58 tcl.c:575 jim_newtap_cmd(): Processing option: -expected-id
Debug: 127 58 tcl.c:575 jim_newtap_cmd(): Processing option: -expected-id
Debug: 128 58 core.c:1306 jtag_tap_init(): Created Tap: stm32f7x.bs @ abs position 1, irlen 5, capture: 0x1 mask: 0x3
Debug: 129 59 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target create stm32f7x.cpu cortex_m -endian little -chain-position stm32f7x.cpu
Debug: 130 59 command.c:145 script_debug(): command - ocd_target ocd_target create stm32f7x.cpu cortex_m -endian little -chain-position stm32f7x.cpu
Debug: 131 62 target.c:1883 target_free_all_working_areas_restore(): freeing all working areas
Debug: 132 63 command.c:366 register_command_handler(): registering ‘ocd_arm’…
Debug: 133 64 command.c:366 register_command_handler(): registering ‘ocd_arm’…
Debug: 134 65 command.c:366 register_command_handler(): registering ‘ocd_arm’…
Debug: 135 65 command.c:366 register_command_handler(): registering ‘ocd_arm’…
Debug: 136 65 command.c:366 register_command_handler(): registering ‘ocd_arm’…
Debug: 137 65 command.c:366 register_command_handler(): registering ‘ocd_arm’…
Debug: 138 65 command.c:366 register_command_handler(): registering ‘ocd_dap’…
Debug: 139 65 command.c:366 register_command_handler(): registering ‘ocd_dap’…
Debug: 140 66 command.c:366 register_command_handler(): registering ‘ocd_dap’…
Debug: 141 66 command.c:366 register_command_handler(): registering ‘ocd_dap’…
Debug: 142 66 command.c:366 register_command_handler(): registering ‘ocd_dap’…
Debug: 143 66 command.c:366 register_command_handler(): registering ‘ocd_dap’…
Debug: 144 66 command.c:366 register_command_handler(): registering ‘ocd_dap’…
Debug: 145 66 command.c:366 register_command_handler(): registering ‘ocd_tpiu’…
Debug: 146 67 command.c:366 register_command_handler(): registering ‘ocd_itm’…
Debug: 147 67 command.c:366 register_command_handler(): registering ‘ocd_itm’…
Debug: 148 67 command.c:366 register_command_handler(): registering ‘ocd_cortex_m’…
Debug: 149 67 command.c:366 register_command_handler(): registering ‘ocd_cortex_m’…
Debug: 150 67 command.c:366 register_command_handler(): registering ‘ocd_cortex_m’…
Debug: 151 67 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 152 68 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 153 68 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 154 68 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 155 68 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 156 68 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 157 68 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 158 69 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 159 69 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 160 69 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 161 69 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 162 69 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 163 70 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 164 70 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 165 71 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 166 71 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 167 71 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 168 71 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 169 71 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 170 72 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 171 72 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 172 72 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 173 72 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 174 72 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 175 72 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 176 73 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 177 73 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 178 73 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 179 73 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 180 73 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 181 73 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 182 74 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 183 74 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 184 74 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 185 74 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 186 74 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 187 74 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 188 75 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 189 75 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 190 75 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 191 75 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 192 75 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 193 75 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x.cpu’…
Debug: 194 76 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x50000 -work-area-backup 0
Debug: 195 76 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x50000 -work-area-backup 0
Debug: 196 81 target.c:1883 target_free_all_working_areas_restore(): freeing all working areas
Debug: 197 81 target.c:1883 target_free_all_working_areas_restore(): freeing all working areas
Debug: 198 81 target.c:1883 target_free_all_working_areas_restore(): freeing all working areas
Debug: 199 82 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash bank stm32f7x.flash stm32f7x 0 0 0 0 stm32f7x.cpu
Debug: 200 82 command.c:145 script_debug(): command - ocd_flash ocd_flash bank stm32f7x.flash stm32f7x 0 0 0 0 stm32f7x.cpu
Debug: 202 82 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x’…
Debug: 203 83 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x’…
Debug: 204 83 command.c:366 register_command_handler(): registering ‘ocd_stm32f7x’…
Debug: 205 83 tcl.c:1031 handle_flash_bank_command(): ‘stm32f7x’ driver usage field missing
Debug: 206 83 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 500
Debug: 207 83 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 500
Debug: 209 83 core.c:1633 jtag_config_khz(): handle jtag khz
Debug: 210 84 core.c:1600 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 211 84 core.c:1600 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 212 84 command.c:546 command_print(): adapter speed: 500 kHz
Debug: 213 84 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_only srst_nogate connect_assert_srst
Debug: 214 84 command.c:145 script_debug(): command - reset_config ocd_reset_config srst_only srst_nogate connect_assert_srst
User : 216 85 command.c:546 command_print(): srst_only separate srst_nogate srst_open_drain connect_assert_srst
Debug: 217 85 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 100
Debug: 218 85 command.c:145 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 100
User : 220 85 command.c:546 command_print(): adapter_nsrst_delay: 100
Debug: 221 85 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 222 86 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 223 86 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag_ntrst_delay 100
Debug: 224 86 command.c:145 script_debug(): command - jtag_ntrst_delay ocd_jtag_ntrst_delay 100
User : 226 86 command.c:546 command_print(): jtag_ntrst_delay: 100
Debug: 227 86 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 228 87 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 229 87 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cortex_m reset_config sysresetreq
Debug: 230 87 command.c:145 script_debug(): command - ocd_cortex_m ocd_cortex_m reset_config sysresetreq
User : 232 87 command.c:546 command_print(): cortex_m reset_config sysresetreq
Debug: 233 87 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.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: 234 88 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.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: 235 89 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu configure -event gdb-attach
Needed to be able to use the connect_assert_srst in reset_config
otherwise, can’t read device flash size register
reset init
Debug: 236 89 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu configure -event gdb-attach
Needed to be able to use the connect_assert_srst in reset_config
otherwise, can’t read device flash size register
reset init
Debug: 237 90 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.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: 238 90 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.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: 239 91 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu configure -event reset-init
Configure PLL to boost clock to HSI x 4 (64 MHz)
mww 0x40023804 0x08012008 ;# RCC_PLLCFGR 16 Mhz /8 (M) * 128 (N) /4(P)
mww 0x40023C00 0x00000102 ;# FLASH_ACR = PRFTBE | 2(Latency)
mmw 0x40023800 0x01000000 0 ;# RCC_CR |= PLLON
sleep 10 ;# Wait for PLL to lock
mmw 0x40023808 0x00001000 0 ;# RCC_CFGR |= RCC_CFGR_PPRE1_DIV2
mmw 0x40023808 0x00000002 0 ;# RCC_CFGR |= RCC_CFGR_SW_PLL
Boost JTAG frequency
adapter_khz 8000
adapter_khz 500
Debug: 240 92 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu configure -event reset-init
Configure PLL to boost clock to HSI x 4 (64 MHz)
mww 0x40023804 0x08012008 ;# RCC_PLLCFGR 16 Mhz /8 (M) * 128 (N) /4(P)
mww 0x40023C00 0x00000102 ;# FLASH_ACR = PRFTBE | 2(Latency)
mmw 0x40023800 0x01000000 0 ;# RCC_CR |= PLLON
sleep 10 ;# Wait for PLL to lock
mmw 0x40023808 0x00001000 0 ;# RCC_CFGR |= RCC_CFGR_PPRE1_DIV2
mmw 0x40023808 0x00000002 0 ;# RCC_CFGR |= RCC_CFGR_SW_PLL
Boost JTAG frequency
adapter_khz 8000
adapter_khz 500
Debug: 241 93 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_scan_chain
Debug: 242 93 command.c:145 script_debug(): command - scan_chain ocd_scan_chain
User : 244 93 command.c:546 command_print(): TapName Enabled IdCode Expected IrLen IrCap IrMask
User : 245 94 command.c:546 command_print(): – ------------------- -------- ---------- ---------- ----- ----- ------
User : 246 94 command.c:546 command_print(): 0 stm32f7x.cpu Y 0x00000000 0x5ba00477 4 0x01 0x0f
User : 247 94 command.c:546 command_print(): 1 stm32f7x.bs Y 0x00000000 0x06449041 5 0x01 0x03
User : 248 94 command.c:546 command_print(): 0x06451041
Debug: 249 95 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init
Debug: 250 95 command.c:145 script_debug(): command - init ocd_init
Debug: 252 95 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init
Debug: 253 95 command.c:145 script_debug(): command - ocd_target ocd_target init
Debug: 255 96 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target names
Debug: 256 96 command.c:145 script_debug(): command - ocd_target ocd_target names
Debug: 257 96 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu cget -event gdb-flash-erase-start
Debug: 258 96 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu cget -event gdb-flash-erase-start
Debug: 259 97 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu configure -event gdb-flash-erase-start reset init
Debug: 260 97 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu configure -event gdb-flash-erase-start reset init
Debug: 261 97 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu cget -event gdb-flash-write-end
Debug: 262 98 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu cget -event gdb-flash-write-end
Debug: 263 98 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu configure -event gdb-flash-write-end reset halt
Debug: 264 98 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu configure -event gdb-flash-write-end reset halt
Debug: 265 98 target.c:1308 handle_target_init_command(): Initializing targets…
Debug: 266 99 command.c:366 register_command_handler(): registering ‘ocd_target_request’…
Debug: 267 99 command.c:366 register_command_handler(): registering ‘ocd_trace’…
Debug: 268 99 command.c:366 register_command_handler(): registering ‘ocd_trace’…
Debug: 269 99 command.c:366 register_command_handler(): registering ‘ocd_fast_load_image’…
Debug: 270 99 command.c:366 register_command_handler(): registering ‘ocd_fast_load’…
Debug: 271 100 command.c:366 register_command_handler(): registering ‘ocd_profile’…
Debug: 272 100 command.c:366 register_command_handler(): registering ‘ocd_virt2phys’…
Debug: 273 100 command.c:366 register_command_handler(): registering ‘ocd_reg’…
Debug: 274 100 command.c:366 register_command_handler(): registering ‘ocd_poll’…
Debug: 275 100 command.c:366 register_command_handler(): registering ‘ocd_wait_halt’…
Debug: 276 100 command.c:366 register_command_handler(): registering ‘ocd_halt’…
Debug: 277 101 command.c:366 register_command_handler(): registering ‘ocd_resume’…
Debug: 278 101 command.c:366 register_command_handler(): registering ‘ocd_reset’…
Debug: 279 101 command.c:366 register_command_handler(): registering ‘ocd_soft_reset_halt’…
Debug: 280 101 command.c:366 register_command_handler(): registering ‘ocd_step’…
Debug: 281 101 command.c:366 register_command_handler(): registering ‘ocd_mdw’…
Debug: 282 101 command.c:366 register_command_handler(): registering ‘ocd_mdh’…
Debug: 283 102 command.c:366 register_command_handler(): registering ‘ocd_mdb’…
Debug: 284 102 command.c:366 register_command_handler(): registering ‘ocd_mww’…
Debug: 285 102 command.c:366 register_command_handler(): registering ‘ocd_mwh’…
Debug: 286 102 command.c:366 register_command_handler(): registering ‘ocd_mwb’…
Debug: 287 102 command.c:366 register_command_handler(): registering ‘ocd_bp’…
Debug: 288 102 command.c:366 register_command_handler(): registering ‘ocd_rbp’…
Debug: 289 102 command.c:366 register_command_handler(): registering ‘ocd_wp’…
Debug: 290 103 command.c:366 register_command_handler(): registering ‘ocd_rwp’…
Debug: 291 103 command.c:366 register_command_handler(): registering ‘ocd_load_image’…
Debug: 292 103 command.c:366 register_command_handler(): registering ‘ocd_dump_image’…
Debug: 293 103 command.c:366 register_command_handler(): registering ‘ocd_verify_image’…
Debug: 294 103 command.c:366 register_command_handler(): registering ‘ocd_test_image’…
Debug: 295 104 command.c:366 register_command_handler(): registering ‘ocd_reset_nag’…
Debug: 296 104 command.c:366 register_command_handler(): registering ‘ocd_ps’…
Debug: 297 106 command.c:366 register_command_handler(): registering ‘ocd_test_mem_access’…
Debug: 298 108 ftdi.c:630 ftdi_initialize(): ftdi interface using shortest path jtag state transitions
Error: 299 191 mpsse.c:140 open_matching_device(): libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Debug: 300 193 mpsse.c:363 mpsse_purge(): -
Debug: 301 202 mpsse.c:644 mpsse_loopback_config(): off
Debug: 302 203 mpsse.c:689 mpsse_set_frequency(): target 500000 Hz
Debug: 303 203 mpsse.c:650 mpsse_set_divisor(): 11
Debug: 304 203 mpsse.c:713 mpsse_set_frequency(): actually 500000 Hz
Debug: 305 203 core.c:1600 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 306 203 core.c:1603 adapter_khz_to_speed(): have interface set up
Debug: 307 204 mpsse.c:689 mpsse_set_frequency(): target 500000 Hz
Debug: 308 204 mpsse.c:650 mpsse_set_divisor(): 11
Debug: 309 204 mpsse.c:713 mpsse_set_frequency(): actually 500000 Hz
Debug: 310 204 core.c:1600 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 311 204 core.c:1603 adapter_khz_to_speed(): have interface set up
Info : 312 204 core.c:1388 adapter_init(): clock speed 500 kHz
Debug: 313 204 openocd.c:137 handle_init_command(): Debug Adapter init complete
Debug: 314 205 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport init
Debug: 315 205 command.c:145 script_debug(): command - ocd_transport ocd_transport init
Debug: 317 205 transport.c:240 handle_transport_init(): handle_transport_init
Debug: 318 205 core.c:731 jtag_add_reset(): SRST line released
Debug: 319 206 core.c:755 jtag_add_reset(): TRST line released
Debug: 320 206 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 321 421 core.c:727 jtag_add_reset(): SRST line asserted
Debug: 322 421 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init
Debug: 323 421 command.c:145 script_debug(): command - ocd_jtag ocd_jtag arp_init
Debug: 324 421 core.c:1401 jtag_init_inner(): Init JTAG chain
Debug: 325 422 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 326 422 core.c:1062 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS
Debug: 327 422 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Info : 328 424 core.c:961 jtag_examine_chain_display(): JTAG tap: stm32f7x.cpu tap/device found: 0x5ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x5)
Info : 329 424 core.c:961 jtag_examine_chain_display(): JTAG tap: stm32f7x.bs tap/device found: 0x06449041 (mfg: 0x020 (STMicroelectronics), part: 0x6449, ver: 0x0)
Debug: 330 425 core.c:1192 jtag_validate_ircapture(): IR capture validation scan
Debug: 331 425 core.c:1250 jtag_validate_ircapture(): stm32f7x.cpu: IR capture 0x01
Debug: 332 425 core.c:1250 jtag_validate_ircapture(): stm32f7x.bs: IR capture 0x01
Debug: 333 425 openocd.c:150 handle_init_command(): Examining targets…
Debug: 334 425 target.c:1501 target_call_event_callbacks(): target event 21 (examine-start)
Debug: 335 426 arm_adi_v5.c:605 dap_dp_init():
Debug: 336 426 arm_adi_v5.c:638 dap_dp_init(): DAP: wait CDBGPWRUPACK
Debug: 337 426 arm_adi_v5.h:427 dap_dp_poll_register(): DAP: poll 4, mask 0x20000000, value 0x20000000
Debug: 338 428 arm_adi_v5.c:645 dap_dp_init(): DAP: wait CSYSPWRUPACK
Debug: 339 428 arm_adi_v5.h:427 dap_dp_poll_register(): DAP: poll 4, mask 0x80000000, value 0x80000000
Debug: 340 431 arm_adi_v5.c:789 dap_find_ap(): Found AHB-AP at AP index: 0 (IDR=0x74770001)
Debug: 341 433 arm_adi_v5.c:716 mem_ap_init(): MEM_AP Packed Transfers: enabled
Debug: 342 433 arm_adi_v5.c:727 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
Debug: 343 434 target.c:2226 target_read_u32(): address: 0xe000ed00, value: 0x410f4271
Debug: 344 434 cortex_m.c:1930 cortex_m_examine(): Cortex-M7 r0p1 processor detected
Debug: 345 435 cortex_m.c:1931 cortex_m_examine(): cpuid: 0x410f4271
Debug: 346 435 target.c:2314 target_write_u32(): address: 0xe000edfc, value: 0x01000000
Debug: 347 437 target.c:2226 target_read_u32(): address: 0xe0002000, value: 0x10000080
Debug: 348 437 target.c:2314 target_write_u32(): address: 0xe0002008, value: 0x00000000
Debug: 349 438 target.c:2314 target_write_u32(): address: 0xe000200c, value: 0x00000000
Debug: 350 439 target.c:2314 target_write_u32(): address: 0xe0002010, value: 0x00000000
Debug: 351 441 target.c:2314 target_write_u32(): address: 0xe0002014, value: 0x00000000
Debug: 352 442 target.c:2314 target_write_u32(): address: 0xe0002018, value: 0x00000000
Debug: 353 443 target.c:2314 target_write_u32(): address: 0xe000201c, value: 0x00000000
Debug: 354 444 target.c:2314 target_write_u32(): address: 0xe0002020, value: 0x00000000
Debug: 355 445 target.c:2314 target_write_u32(): address: 0xe0002024, value: 0x00000000
Debug: 356 447 cortex_m.c:2005 cortex_m_examine(): FPB fpcr 0x10000080, numcode 8, numlit 0
Debug: 357 448 target.c:2226 target_read_u32(): address: 0xe0001000, value: 0x40000000
Debug: 358 448 target.c:2314 target_write_u32(): address: 0xe0001028, value: 0x00000000
Debug: 359 449 target.c:2314 target_write_u32(): address: 0xe0001038, value: 0x00000000
Debug: 360 451 target.c:2314 target_write_u32(): address: 0xe0001048, value: 0x00000000
Debug: 361 452 target.c:2314 target_write_u32(): address: 0xe0001058, value: 0x00000000
Debug: 362 453 cortex_m.c:1849 cortex_m_dwt_setup(): DWT dwtcr 0x40000000, comp 4, watch/trigger
Info : 363 453 cortex_m.c:2015 cortex_m_examine(): stm32f7x.cpu: hardware has 8 breakpoints, 4 watchpoints
Debug: 364 454 target.c:1501 target_call_event_callbacks(): target event 22 (examine-end)
Debug: 365 454 target.c:4256 target_handle_event(): target: (0) stm32f7x.cpu (cortex_m) event: 22 (examine-end) action:
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: 366 456 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mww 0xE0042004 7
Debug: 367 456 command.c:145 script_debug(): command - mww ocd_mww 0xE0042004 7
Debug: 369 460 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mww 0xE0042008 6144
Debug: 370 462 command.c:145 script_debug(): command - mww ocd_mww 0xE0042008 6144
Debug: 372 465 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash init
Debug: 373 465 command.c:145 script_debug(): command - ocd_flash ocd_flash init
Debug: 375 466 tcl.c:1097 handle_flash_init_command(): Initializing flash devices…
Debug: 376 466 command.c:366 register_command_handler(): registering ‘ocd_flash’…
Debug: 377 467 command.c:366 register_command_handler(): registering ‘ocd_flash’…
Debug: 378 467 command.c:366 register_command_handler(): registering ‘ocd_flash’…
Debug: 379 467 command.c:366 register_command_handler(): registering ‘ocd_flash’…
Debug: 380 467 command.c:366 register_command_handler(): registering ‘ocd_flash’…
Debug: 381 467 command.c:366 register_command_handler(): registering ‘ocd_flash’…
Debug: 382 467 command.c:366 register_command_handler(): registering ‘ocd_flash’…
Debug: 383 468 command.c:366 register_command_handler(): registering ‘ocd_flash’…
Debug: 384 468 command.c:366 register_command_handler(): registering ‘ocd_flash’…
Debug: 385 468 command.c:366 register_command_handler(): registering ‘ocd_flash’…
Debug: 386 468 command.c:366 register_command_handler(): registering ‘ocd_flash’…
Debug: 387 468 command.c:366 register_command_handler(): registering ‘ocd_flash’…
Debug: 388 468 command.c:366 register_command_handler(): registering ‘ocd_flash’…
Debug: 389 469 command.c:366 register_command_handler(): registering ‘ocd_flash’…
Debug: 390 469 command.c:366 register_command_handler(): registering ‘ocd_flash’…
Debug: 391 469 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mflash init
Debug: 392 469 command.c:145 script_debug(): command - ocd_mflash ocd_mflash init
Debug: 394 470 mflash.c:1379 handle_mflash_init_command(): Initializing mflash devices…
Debug: 395 471 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_nand init
Debug: 396 471 command.c:145 script_debug(): command - ocd_nand ocd_nand init
Debug: 398 472 tcl.c:497 handle_nand_init_command(): Initializing NAND devices…
Debug: 399 472 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_pld init
Debug: 400 473 command.c:145 script_debug(): command - ocd_pld ocd_pld init
Debug: 402 474 pld.c:207 handle_pld_init_command(): Initializing PLDs…
Debug: 403 476 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset init
Debug: 404 476 command.c:145 script_debug(): command - reset ocd_reset init
Debug: 406 477 target.c:1519 target_call_reset_callbacks(): target reset 3 (init)
Debug: 407 477 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target names
Debug: 408 477 command.c:145 script_debug(): command - ocd_target ocd_target names
Debug: 409 477 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu invoke-event reset-start
Debug: 410 478 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu invoke-event reset-start
Debug: 411 478 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 412 478 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 413 479 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init-reset
Debug: 414 479 command.c:145 script_debug(): command - ocd_jtag ocd_jtag arp_init-reset
Debug: 415 479 core.c:1509 jtag_init_reset(): Initializing with hard TRST+SRST reset
Debug: 416 479 core.c:744 jtag_add_reset(): JTAG reset with TLR instead of TRST
Debug: 417 479 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 418 480 core.c:1401 jtag_init_inner(): Init JTAG chain
Debug: 419 480 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 420 480 core.c:1062 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS
Debug: 421 480 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Info : 422 482 core.c:961 jtag_examine_chain_display(): JTAG tap: stm32f7x.cpu tap/device found: 0x5ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x5)
Info : 423 483 core.c:961 jtag_examine_chain_display(): JTAG tap: stm32f7x.bs tap/device found: 0x06449041 (mfg: 0x020 (STMicroelectronics), part: 0x6449, ver: 0x0)
Debug: 424 483 core.c:1192 jtag_validate_ircapture(): IR capture validation scan
Debug: 425 483 core.c:1250 jtag_validate_ircapture(): stm32f7x.cpu: IR capture 0x01
Debug: 426 483 core.c:1250 jtag_validate_ircapture(): stm32f7x.bs: IR capture 0x01
Debug: 427 484 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 428 484 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 429 484 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu cget -chain-position
Debug: 430 484 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu cget -chain-position
Debug: 431 484 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled stm32f7x.cpu
Debug: 432 485 command.c:145 script_debug(): command - ocd_jtag ocd_jtag tapisenabled stm32f7x.cpu
Debug: 433 485 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu invoke-event examine-start
Debug: 434 485 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu invoke-event examine-start
Debug: 435 485 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu arp_examine
Debug: 436 486 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu arp_examine
Debug: 437 486 arm_adi_v5.c:605 dap_dp_init():
Debug: 438 486 arm_adi_v5.c:638 dap_dp_init(): DAP: wait CDBGPWRUPACK
Debug: 439 486 arm_adi_v5.h:427 dap_dp_poll_register(): DAP: poll 4, mask 0x20000000, value 0x20000000
Debug: 440 487 arm_adi_v5.c:645 dap_dp_init(): DAP: wait CSYSPWRUPACK
Debug: 441 487 arm_adi_v5.h:427 dap_dp_poll_register(): DAP: poll 4, mask 0x80000000, value 0x80000000
Debug: 442 491 arm_adi_v5.c:789 dap_find_ap(): Found AHB-AP at AP index: 0 (IDR=0x74770001)
Debug: 443 492 arm_adi_v5.c:716 mem_ap_init(): MEM_AP Packed Transfers: enabled
Debug: 444 492 arm_adi_v5.c:727 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
Debug: 445 492 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu invoke-event examine-end
Debug: 446 493 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu invoke-event examine-end
Debug: 447 493 target.c:4256 target_handle_event(): target: (0) stm32f7x.cpu (cortex_m) event: 22 (examine-end) action:
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: 448 495 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mww 0xE0042004 7
Debug: 449 495 command.c:145 script_debug(): command - mww ocd_mww 0xE0042004 7
Debug: 451 498 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mww 0xE0042008 6144
Debug: 452 498 command.c:145 script_debug(): command - mww ocd_mww 0xE0042008 6144
Debug: 454 499 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu invoke-event reset-assert-pre
Debug: 455 499 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu invoke-event reset-assert-pre
Debug: 456 500 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 457 500 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 458 500 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu cget -chain-position
Debug: 459 500 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu cget -chain-position
Debug: 460 500 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled stm32f7x.cpu
Debug: 461 501 command.c:145 script_debug(): command - ocd_jtag ocd_jtag tapisenabled stm32f7x.cpu
Debug: 462 501 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu arp_reset assert 1
Debug: 463 501 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu arp_reset assert 1
Debug: 464 501 target.c:1883 target_free_all_working_areas_restore(): freeing all working areas
Debug: 465 501 cortex_m.c:967 cortex_m_assert_reset(): target->state: unknown
Debug: 467 504 cortex_m.c:585 cortex_m_halt(): target->state: reset
Debug: 468 504 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu invoke-event reset-assert-post
Debug: 469 504 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu invoke-event reset-assert-post
Debug: 470 505 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu invoke-event reset-deassert-pre
Debug: 471 505 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu invoke-event reset-deassert-pre
Debug: 472 505 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 473 505 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 474 505 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu cget -chain-position
Debug: 475 506 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu cget -chain-position
Debug: 476 506 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled stm32f7x.cpu
Debug: 477 506 command.c:145 script_debug(): command - ocd_jtag ocd_jtag tapisenabled stm32f7x.cpu
Debug: 478 506 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu arp_reset deassert 1
Debug: 479 506 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu arp_reset deassert 1
Debug: 480 507 target.c:1883 target_free_all_working_areas_restore(): freeing all working areas
Debug: 481 507 cortex_m.c:1103 cortex_m_deassert_reset(): target->state: reset
Debug: 482 562 core.c:731 jtag_add_reset(): SRST line released
Debug: 483 562 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu invoke-event reset-deassert-post
Debug: 484 562 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu invoke-event reset-deassert-post
Debug: 485 563 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 486 563 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 487 563 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu cget -chain-position
Debug: 488 563 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu cget -chain-position
Debug: 489 563 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled stm32f7x.cpu
Debug: 490 564 command.c:145 script_debug(): command - ocd_jtag ocd_jtag tapisenabled stm32f7x.cpu
Debug: 491 564 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu arp_waitstate halted 1000
Debug: 492 564 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu arp_waitstate halted 1000
Debug: 493 674 cortex_m.c:531 cortex_m_poll(): Exit from reset with dcb_dhcsr 0x10000
Debug: 494 675 cortex_m.c:235 cortex_m_endreset_event(): DCB_DEMCR = 0x01000500
Debug: 495 678 target.c:2314 target_write_u32(): address: 0xe0002000, value: 0x00000003
Debug: 496 680 target.c:2226 target_read_u32(): address: 0xe0002000, value: 0x10000080
Error: 497 680 cortex_m.c:273 cortex_m_endreset_event(): Failed to enable the FPB
Debug: 498 681 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f7x.cpu curstate
Debug: 499 681 command.c:145 script_debug(): command - ocd_stm32f7x.cpu ocd_stm32f7x.cpu curstate
User : 500 681 command.c:546 command_print(): TARGET: stm32f7x.cpu - Not halted
in procedure ‘program’
in procedure ‘reset’ called at file “embedded:startup.tcl”, line 478
in procedure ‘ocd_bouncer’
Debug: 501 682 command.c:628 run_command(): Command failed with error code -4
Debug: 502 682 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_echo ** Unable to reset target **
Debug: 503 682 command.c:145 script_debug(): command - echo ocd_echo ** Unable to reset target **
User : 505 684 command.c:764 jim_echo(): ** Unable to reset target **
Debug: 506 684 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_shutdown error
Debug: 507 684 command.c:145 script_debug(): command - shutdown ocd_shutdown error
User : 509 685 server.c:611 handle_shutdown_command(): shutdown command invoked
Debug: 510 686 command.c:628 run_command(): Command failed with error code -4
User : 511 686 command.c:689 command_run_line():