Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Open On-Chip Debugger 0.10.0+dev-00577-gea410488 (2018-11-16-14:47)
- Licensed under GNU GPL v2
- For bug reports, read
- http://openocd.org/doc/doxygen/bugs.html
- User : 13 20 command.c:544 command_print(): debug_level: 3
- Debug: 14 20 options.c:184 add_default_dirs(): bindir=/usr/local/bin
- Debug: 15 21 options.c:185 add_default_dirs(): pkgdatadir=/usr/local/share/openocd
- Debug: 16 21 options.c:186 add_default_dirs(): exepath=/home/pi/openocd/src
- Debug: 17 21 options.c:187 add_default_dirs(): bin2data=../share/openocd
- Debug: 18 21 configuration.c:42 add_script_search_dir(): adding /root/.openocd
- Debug: 19 21 configuration.c:42 add_script_search_dir(): adding /home/pi/openocd/src/../share/openocd/site
- Debug: 20 21 configuration.c:42 add_script_search_dir(): adding /home/pi/openocd/src/../share/openocd/scripts
- Debug: 21 21 configuration.c:97 find_file(): found interface/raspberrypi-native.cfg
- Debug: 22 22 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_interface bcm2835gpio
- Debug: 23 23 command.c:143 script_debug(): command - interface ocd_interface bcm2835gpio
- Debug: 25 24 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_jtag_nums'...
- Debug: 26 24 command.c:323 command_new(): BUG: command 'bcm2835gpio_tck_num' does not have the '.usage' field filled out
- Debug: 27 24 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_tck_num'...
- Debug: 28 24 command.c:323 command_new(): BUG: command 'bcm2835gpio_tms_num' does not have the '.usage' field filled out
- Debug: 29 24 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_tms_num'...
- Debug: 30 24 command.c:323 command_new(): BUG: command 'bcm2835gpio_tdo_num' does not have the '.usage' field filled out
- Debug: 31 24 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_tdo_num'...
- Debug: 32 24 command.c:323 command_new(): BUG: command 'bcm2835gpio_tdi_num' does not have the '.usage' field filled out
- Debug: 33 24 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_tdi_num'...
- Debug: 34 24 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_swd_nums'...
- Debug: 35 25 command.c:323 command_new(): BUG: command 'bcm2835gpio_swclk_num' does not have the '.usage' field filled out
- Debug: 36 25 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_swclk_num'...
- Debug: 37 25 command.c:323 command_new(): BUG: command 'bcm2835gpio_swdio_num' does not have the '.usage' field filled out
- Debug: 38 25 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_swdio_num'...
- Debug: 39 25 command.c:323 command_new(): BUG: command 'bcm2835gpio_srst_num' does not have the '.usage' field filled out
- Debug: 40 25 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_srst_num'...
- Debug: 41 25 command.c:323 command_new(): BUG: command 'bcm2835gpio_trst_num' does not have the '.usage' field filled out
- Debug: 42 25 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_trst_num'...
- Debug: 43 25 command.c:323 command_new(): BUG: command 'bcm2835gpio_speed_coeffs' does not have the '.usage' field filled out
- Debug: 44 25 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_speed_coeffs'...
- Debug: 45 25 command.c:323 command_new(): BUG: command 'bcm2835gpio_peripheral_base' does not have the '.usage' field filled out
- Debug: 46 26 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_peripheral_base'...
- Debug: 47 26 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_bcm2835gpio_peripheral_base 0x20000000
- Debug: 48 26 command.c:143 script_debug(): command - bcm2835gpio_peripheral_base ocd_bcm2835gpio_peripheral_base 0x20000000
- Debug: 50 26 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_bcm2835gpio_speed_coeffs 113714 28
- Debug: 51 27 command.c:143 script_debug(): command - bcm2835gpio_speed_coeffs ocd_bcm2835gpio_speed_coeffs 113714 28
- Debug: 53 27 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_bcm2835gpio_jtag_nums 11 25 10 9
- Debug: 54 27 command.c:143 script_debug(): command - bcm2835gpio_jtag_nums ocd_bcm2835gpio_jtag_nums 11 25 10 9
- User : 56 27 command.c:544 command_print(): BCM2835 GPIO config: tck = 11, tms = 25, tdi = 10, tdo = 9
- Debug: 57 28 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_bcm2835gpio_swd_nums 11 25
- Debug: 58 28 command.c:143 script_debug(): command - bcm2835gpio_swd_nums ocd_bcm2835gpio_swd_nums 11 25
- User : 60 28 command.c:544 command_print(): BCM2835 GPIO nums: swclk = 11, swdio = 25
- Debug: 61 28 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select swd
- Debug: 62 28 command.c:143 script_debug(): command - ocd_transport ocd_transport select swd
- Debug: 63 29 command.c:323 command_new(): BUG: command 'swd' does not have the '.usage' field filled out
- Debug: 64 29 command.c:364 register_command_handler(): registering 'ocd_swd'...
- Debug: 65 29 bitbang.c:417 bitbang_swd_init(): bitbang_swd_init
- User : 66 29 command.c:693 command_run_line(): swdUser : 67 29 command.c:695 command_run_line():
- Debug: 68 29 configuration.c:97 find_file(): found target/stm32f4x.cfg
- Debug: 69 30 configuration.c:97 find_file(): found target/swj-dp.tcl
- Debug: 70 30 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
- Debug: 71 31 command.c:143 script_debug(): command - ocd_transport ocd_transport select
- Debug: 72 31 configuration.c:97 find_file(): found mem_helper.tcl
- Debug: 73 31 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mrw address
- Debug: 74 32 command.c:143 script_debug(): command - add_usage_text ocd_add_usage_text mrw address
- Debug: 76 32 command.c:1116 help_add_command(): added 'mrw' help text
- Debug: 77 32 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mrw Returns value of word in memory.
- Debug: 78 32 command.c:143 script_debug(): command - add_help_text ocd_add_help_text mrw Returns value of word in memory.
- Debug: 80 32 command.c:1129 help_add_command(): added 'mrw' help text
- Debug: 81 33 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mrb address
- Debug: 82 37 command.c:143 script_debug(): command - add_usage_text ocd_add_usage_text mrb address
- Debug: 84 38 command.c:1116 help_add_command(): added 'mrb' help text
- Debug: 85 38 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mrb Returns value of byte in memory.
- Debug: 86 39 command.c:143 script_debug(): command - add_help_text ocd_add_help_text mrb Returns value of byte in memory.
- Debug: 88 40 command.c:1129 help_add_command(): added 'mrb' help text
- Debug: 89 41 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mmw address setbits clearbits
- Debug: 90 42 command.c:143 script_debug(): command - add_usage_text ocd_add_usage_text mmw address setbits clearbits
- Debug: 92 42 command.c:1116 help_add_command(): added 'mmw' help text
- Debug: 93 43 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: 94 45 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: 96 46 command.c:1129 help_add_command(): added 'mmw' help text
- Debug: 97 47 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
- Debug: 98 48 command.c:143 script_debug(): command - ocd_transport ocd_transport select
- Debug: 99 49 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
- Debug: 100 50 command.c:143 script_debug(): command - ocd_transport ocd_transport select
- Debug: 101 51 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
- Debug: 102 52 command.c:143 script_debug(): command - ocd_transport ocd_transport select
- Debug: 103 52 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
- Debug: 104 53 command.c:143 script_debug(): command - ocd_transport ocd_transport select
- Debug: 105 55 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_swd newdap stm32f4x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x2ba01477
- Debug: 106 56 command.c:143 script_debug(): command - ocd_swd ocd_swd newdap stm32f4x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x2ba01477
- Debug: 107 56 tcl.c:550 jim_newtap_cmd(): Creating New Tap, Chip: stm32f4x, Tap: cpu, Dotted: stm32f4x.cpu, 8 params
- Debug: 108 57 core.c:1304 jtag_tap_init(): Created Tap: stm32f4x.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0
- Debug: 109 58 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_dap create stm32f4x.dap -chain-position stm32f4x.cpu
- Debug: 110 59 command.c:143 script_debug(): command - ocd_dap ocd_dap create stm32f4x.dap -chain-position stm32f4x.cpu
- Debug: 111 61 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.dap'...
- Debug: 112 62 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.dap'...
- Debug: 113 63 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.dap'...
- Debug: 114 63 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.dap'...
- Debug: 115 64 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.dap'...
- Debug: 116 64 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.dap'...
- Debug: 117 65 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.dap'...
- Debug: 118 65 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.dap'...
- Debug: 119 65 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.dap'...
- Debug: 120 66 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
- Debug: 121 67 command.c:143 script_debug(): command - ocd_transport ocd_transport select
- Debug: 122 68 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target create stm32f4x.cpu cortex_m -endian little -dap stm32f4x.dap
- Debug: 123 69 command.c:143 script_debug(): command - ocd_target ocd_target create stm32f4x.cpu cortex_m -endian little -dap stm32f4x.dap
- Debug: 124 70 command.c:364 register_command_handler(): registering 'ocd_arm'...
- Debug: 125 70 command.c:364 register_command_handler(): registering 'ocd_arm'...
- Debug: 126 71 command.c:364 register_command_handler(): registering 'ocd_arm'...
- Debug: 127 71 command.c:364 register_command_handler(): registering 'ocd_arm'...
- Debug: 128 72 command.c:364 register_command_handler(): registering 'ocd_arm'...
- Debug: 129 72 command.c:364 register_command_handler(): registering 'ocd_arm'...
- Debug: 130 72 command.c:364 register_command_handler(): registering 'ocd_arm'...
- Debug: 131 73 command.c:364 register_command_handler(): registering 'ocd_arm'...
- Debug: 132 74 command.c:364 register_command_handler(): registering 'ocd_arm'...
- Debug: 133 74 command.c:364 register_command_handler(): registering 'ocd_tpiu'...
- Debug: 134 75 command.c:364 register_command_handler(): registering 'ocd_itm'...
- Debug: 135 75 command.c:364 register_command_handler(): registering 'ocd_itm'...
- Debug: 136 76 command.c:364 register_command_handler(): registering 'ocd_cortex_m'...
- Debug: 137 76 command.c:364 register_command_handler(): registering 'ocd_cortex_m'...
- Debug: 138 76 command.c:364 register_command_handler(): registering 'ocd_cortex_m'...
- Debug: 139 77 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 140 77 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 141 78 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 142 78 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 143 79 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 144 79 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 145 80 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 146 80 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 147 81 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 148 82 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 149 83 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 150 83 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 151 84 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 152 84 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 153 84 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 154 85 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 155 85 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 156 86 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 157 86 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 158 87 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 159 87 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 160 88 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 161 88 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 162 88 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 163 89 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 164 89 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 165 90 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 166 90 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 167 90 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 168 91 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 169 91 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 170 92 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 171 92 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 172 93 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 173 93 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 174 94 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 175 94 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 176 95 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 177 95 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 178 96 command.c:364 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
- Debug: 179 96 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x8000 -work-area-b ackup 0
- Debug: 180 97 command.c:143 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x8000 -work-area-backup 0
- Debug: 181 98 target.c:2003 target_free_all_working_areas_restore(): freeing all working areas
- Debug: 182 98 target.c:2003 target_free_all_working_areas_restore(): freeing all working areas
- Debug: 183 99 target.c:2003 target_free_all_working_areas_restore(): freeing all working areas
- Debug: 184 99 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash bank stm32f4x.flash stm32f2x 0 0 0 0 stm32f4x.cpu
- Debug: 185 100 command.c:143 script_debug(): command - ocd_flash ocd_flash bank stm32f4x.flash stm32f2x 0 0 0 0 stm32f4x.cpu
- Debug: 187 101 command.c:364 register_command_handler(): registering 'ocd_stm32f2x'...
- Debug: 188 101 command.c:364 register_command_handler(): registering 'ocd_stm32f2x'...
- Debug: 189 102 command.c:364 register_command_handler(): registering 'ocd_stm32f2x'...
- Debug: 190 102 command.c:364 register_command_handler(): registering 'ocd_stm32f2x'...
- Debug: 191 103 command.c:364 register_command_handler(): registering 'ocd_stm32f2x'...
- Debug: 192 103 command.c:364 register_command_handler(): registering 'ocd_stm32f2x'...
- Debug: 193 104 tcl.c:1150 handle_flash_bank_command(): 'stm32f2x' driver usage field missing
- Debug: 194 104 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 2000
- Debug: 195 105 command.c:143 script_debug(): command - adapter_khz ocd_adapter_khz 2000
- Debug: 197 106 core.c:1645 jtag_config_khz(): handle jtag khz
- Debug: 198 106 core.c:1612 adapter_khz_to_speed(): convert khz to interface specific speed value
- Debug: 199 106 core.c:1612 adapter_khz_to_speed(): convert khz to interface specific speed value
- User : 200 106 command.c:544 command_print(): adapter speed: 2000 kHz
- Debug: 201 107 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 100
- Debug: 202 107 command.c:143 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 100
- User : 204 108 command.c:544 command_print(): adapter_nsrst_delay: 100
- Debug: 205 109 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
- Debug: 206 109 command.c:143 script_debug(): command - ocd_transport ocd_transport select
- Debug: 207 110 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_nogate
- Debug: 208 111 command.c:143 script_debug(): command - reset_config ocd_reset_config srst_nogate
- User : 210 111 command.c:544 command_print(): none separate
- Debug: 211 112 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
- Debug: 212 113 command.c:143 script_debug(): command - ocd_transport ocd_transport select
- Debug: 213 114 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_cortex_m reset_config sysresetreq
- Debug: 214 114 command.c:143 script_debug(): command - ocd_cortex_m ocd_cortex_m reset_config sysresetreq
- User : 216 115 command.c:544 command_print(): cortex_m reset_config sysresetreq
- Debug: 217 116 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu configure -event examine-end
- # Enable debug during low power modes (uses more power)
- # DBGMCU_CR |= DBG_STANDBY | DBG_STOP | DBG_SLEEP
- mmw 0xE0042004 0x00000007 0
- # Stop watchdog counters during halt
- # DBGMCU_APB1_FZ |= DBG_IWDG_STOP | DBG_WWDG_STOP
- mmw 0xE0042008 0x00001800 0
- Debug: 218 118 command.c:143 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu configure -event examine-end
- # Enable debug during low power modes (uses more power)
- # DBGMCU_CR |= DBG_STANDBY | DBG_STOP | DBG_SLEEP
- mmw 0xE0042004 0x00000007 0
- # Stop watchdog counters during halt
- # DBGMCU_APB1_FZ |= DBG_IWDG_STOP | DBG_WWDG_STOP
- mmw 0xE0042008 0x00001800 0
- Debug: 219 119 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu configure -event trace-config
- # Set TRACE_IOEN; TRACE_MODE is set to async; when using sync
- # change this value accordingly to configure trace pins
- # assignment
- mmw 0xE0042004 0x00000020 0
- Debug: 220 121 command.c:143 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu configure -event trace-config
- # Set TRACE_IOEN; TRACE_MODE is set to async; when using sync
- # change this value accordingly to configure trace pins
- # assignment
- mmw 0xE0042004 0x00000020 0
- Debug: 221 122 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.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
- Debug: 222 124 command.c:143 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.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
- Debug: 223 126 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu configure -event reset-start
- # Reduce speed since CPU speed will slow down to 16MHz with the reset
- adapter_khz 2000
- Debug: 224 127 command.c:143 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu configure -event reset-start
- # Reduce speed since CPU speed will slow down to 16MHz with the reset
- adapter_khz 2000
- Info : 225 128 server.c:311 add_service(): Listening on port 6666 for tcl connections
- Info : 226 129 server.c:311 add_service(): Listening on port 4444 for telnet connections
- Debug: 227 129 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_init
- Debug: 228 130 command.c:143 script_debug(): command - init ocd_init
- Debug: 230 131 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target init
- Debug: 231 131 command.c:143 script_debug(): command - ocd_target ocd_target init
- Debug: 233 132 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target names
- Debug: 234 133 command.c:143 script_debug(): command - ocd_target ocd_target names
- Debug: 235 134 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu cget -event gdb-flash-erase-start
- Debug: 236 135 command.c:143 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu cget -event gdb-flash-erase-start
- Debug: 237 136 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu configure -event gdb-flash-erase-start reset init
- Debug: 238 136 command.c:143 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu configure -event gdb-flash-erase-start reset init
- Debug: 239 137 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu cget -event gdb-flash-write-end
- Debug: 240 138 command.c:143 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu cget -event gdb-flash-write-end
- Debug: 241 139 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu configure -event gdb-flash-write-end reset halt
- Debug: 242 139 command.c:143 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu configure -event gdb-flash-write-end reset halt
- Debug: 243 140 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu cget -event gdb-attach
- Debug: 244 141 command.c:143 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu cget -event gdb-attach
- Debug: 245 142 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu configure -event gdb-attach halt
- Debug: 246 143 command.c:143 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu configure -event gdb-attach halt
- Debug: 247 144 target.c:1393 handle_target_init_command(): Initializing targets...
- Debug: 248 144 semihosting_common.c:97 semihosting_common_init():
- Debug: 249 145 command.c:364 register_command_handler(): registering 'ocd_target_request'...
- Debug: 250 146 command.c:364 register_command_handler(): registering 'ocd_trace'...
- Debug: 251 148 command.c:364 register_command_handler(): registering 'ocd_trace'...
- Debug: 252 149 command.c:364 register_command_handler(): registering 'ocd_fast_load_image'...
- Debug: 253 151 command.c:364 register_command_handler(): registering 'ocd_fast_load'...
- Debug: 254 152 command.c:364 register_command_handler(): registering 'ocd_profile'...
- Debug: 255 153 command.c:364 register_command_handler(): registering 'ocd_virt2phys'...
- Debug: 256 154 command.c:364 register_command_handler(): registering 'ocd_reg'...
- Debug: 257 154 command.c:364 register_command_handler(): registering 'ocd_poll'...
- Debug: 258 155 command.c:364 register_command_handler(): registering 'ocd_wait_halt'...
- Debug: 259 155 command.c:364 register_command_handler(): registering 'ocd_halt'...
- Debug: 260 156 command.c:364 register_command_handler(): registering 'ocd_resume'...
- Debug: 261 156 command.c:364 register_command_handler(): registering 'ocd_reset'...
- Debug: 262 157 command.c:364 register_command_handler(): registering 'ocd_soft_reset_halt'...
- Debug: 263 157 command.c:364 register_command_handler(): registering 'ocd_step'...
- Debug: 264 158 command.c:364 register_command_handler(): registering 'ocd_mdd'...
- Debug: 265 158 command.c:364 register_command_handler(): registering 'ocd_mdw'...
- Debug: 266 159 command.c:364 register_command_handler(): registering 'ocd_mdh'...
- Debug: 267 159 command.c:364 register_command_handler(): registering 'ocd_mdb'...
- Debug: 268 160 command.c:364 register_command_handler(): registering 'ocd_mwd'...
- Debug: 269 160 command.c:364 register_command_handler(): registering 'ocd_mww'...
- Debug: 270 161 command.c:364 register_command_handler(): registering 'ocd_mwh'...
- Debug: 271 161 command.c:364 register_command_handler(): registering 'ocd_mwb'...
- Debug: 272 162 command.c:364 register_command_handler(): registering 'ocd_bp'...
- Debug: 273 163 command.c:364 register_command_handler(): registering 'ocd_rbp'...
- Debug: 274 163 command.c:364 register_command_handler(): registering 'ocd_wp'...
- Debug: 275 164 command.c:364 register_command_handler(): registering 'ocd_rwp'...
- Debug: 276 165 command.c:364 register_command_handler(): registering 'ocd_load_image'...
- Debug: 277 165 command.c:364 register_command_handler(): registering 'ocd_dump_image'...
- Debug: 278 166 command.c:364 register_command_handler(): registering 'ocd_verify_image_checksum'...
- Debug: 279 166 command.c:364 register_command_handler(): registering 'ocd_verify_image'...
- Debug: 280 167 command.c:364 register_command_handler(): registering 'ocd_test_image'...
- Debug: 281 167 command.c:364 register_command_handler(): registering 'ocd_reset_nag'...
- Debug: 282 168 command.c:364 register_command_handler(): registering 'ocd_ps'...
- Debug: 283 169 command.c:364 register_command_handler(): registering 'ocd_test_mem_access'...
- Info : 284 169 bcm2835gpio.c:434 bcm2835gpio_init(): BCM2835 GPIO JTAG/SWD bitbang driver
- Info : 285 170 bcm2835gpio.c:438 bcm2835gpio_init(): JTAG and SWD modes enabled
- Debug: 286 170 bcm2835gpio.c:509 bcm2835gpio_init(): saved pinmux settings: tck 4 tms 0 tdi 4 tdo 4 trst 0 srst 0
- Debug: 287 171 bitbang.c:472 bitbang_switch_to_swd(): bitbang_switch_to_swd
- Debug: 288 171 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 289 171 core.c:1612 adapter_khz_to_speed(): convert khz to interface specific speed value
- Debug: 290 171 core.c:1615 adapter_khz_to_speed(): have interface set up
- Debug: 291 171 core.c:1612 adapter_khz_to_speed(): convert khz to interface specific speed value
- Debug: 292 172 core.c:1615 adapter_khz_to_speed(): have interface set up
- Info : 293 172 core.c:1394 adapter_init(): clock speed 2030 kHz
- Debug: 294 172 openocd.c:142 handle_init_command(): Debug Adapter init complete
- Debug: 295 172 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport init
- Debug: 296 173 command.c:143 script_debug(): command - ocd_transport ocd_transport init
- Debug: 298 174 transport.c:239 handle_transport_init(): handle_transport_init
- Debug: 299 174 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_dap init
- Debug: 300 175 command.c:143 script_debug(): command - ocd_dap ocd_dap init
- Debug: 302 176 arm_dap.c:105 dap_init_all(): Initializing all DAPs ...
- Debug: 303 176 bitbang.c:447 bitbang_swd_switch_seq(): bitbang_swd_switch_seq
- Debug: 304 176 bitbang.c:455 bitbang_swd_switch_seq(): JTAG-to-SWD
- Debug: 305 177 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 306 177 bitbang.c:484 bitbang_swd_read_reg(): bitbang_swd_read_reg
- Debug: 307 177 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 308 177 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 309 178 bitbang.c:511 bitbang_swd_read_reg(): JUNK DP read reg 0 = 00000000
- Debug: 310 178 bitbang.c:534 bitbang_swd_read_reg(): No valid acknowledge: ack=0
- Debug: 311 178 bitbang.c:543 bitbang_swd_write_reg(): bitbang_swd_write_reg
- Debug: 312 178 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 313 178 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 314 178 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 315 179 bitbang.c:570 bitbang_swd_write_reg(): JUNK DP write reg 0 = 0000001e
- Debug: 316 179 bitbang.c:586 bitbang_swd_write_reg(): No valid acknowledge: ack=0
- Debug: 317 179 bitbang.c:595 bitbang_swd_run_queue(): bitbang_swd_run_queue
- Debug: 318 179 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 319 180 bitbang.c:602 bitbang_swd_run_queue(): SWD queue return value: 00
- Info : 320 180 adi_v5_swd.c:136 swd_connect(): SWD DPIDR 0xbef6275c
- Debug: 321 180 arm_adi_v5.c:651 dap_dp_init(): stm32f4x.dap
- Debug: 322 180 bitbang.c:543 bitbang_swd_write_reg(): bitbang_swd_write_reg
- Debug: 323 180 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 324 180 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 325 181 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 326 181 bitbang.c:570 bitbang_swd_write_reg(): JUNK DP write reg 8 = 00000000
- Debug: 327 181 bitbang.c:586 bitbang_swd_write_reg(): No valid acknowledge: ack=0
- Debug: 328 181 bitbang.c:484 bitbang_swd_read_reg(): bitbang_swd_read_reg
- Debug: 329 182 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 330 182 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 331 182 bitbang.c:511 bitbang_swd_read_reg(): JUNK DP read reg 4 = 00000000
- Debug: 332 182 bitbang.c:534 bitbang_swd_read_reg(): No valid acknowledge: ack=0
- Debug: 333 182 bitbang.c:595 bitbang_swd_run_queue(): bitbang_swd_run_queue
- Debug: 334 183 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 335 183 bitbang.c:602 bitbang_swd_run_queue(): SWD queue return value: 00
- Debug: 336 183 bitbang.c:543 bitbang_swd_write_reg(): bitbang_swd_write_reg
- Debug: 337 184 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 338 184 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 339 184 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 340 184 bitbang.c:570 bitbang_swd_write_reg(): JUNK DP write reg 4 = 50000020
- Debug: 341 184 bitbang.c:586 bitbang_swd_write_reg(): No valid acknowledge: ack=0
- Debug: 342 184 bitbang.c:484 bitbang_swd_read_reg(): bitbang_swd_read_reg
- Debug: 343 185 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 344 185 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 345 185 bitbang.c:511 bitbang_swd_read_reg(): JUNK DP read reg 4 = 00000000
- Debug: 346 185 bitbang.c:534 bitbang_swd_read_reg(): No valid acknowledge: ack=0
- Debug: 347 185 bitbang.c:543 bitbang_swd_write_reg(): bitbang_swd_write_reg
- Debug: 348 186 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 349 186 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 350 186 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 351 186 bitbang.c:570 bitbang_swd_write_reg(): JUNK DP write reg 4 = 50000000
- Debug: 352 187 bitbang.c:586 bitbang_swd_write_reg(): No valid acknowledge: ack=0
- Debug: 353 187 arm_adi_v5.c:696 dap_dp_init(): DAP: wait CDBGPWRUPACK
- Debug: 354 187 arm_adi_v5.h:447 dap_dp_poll_register(): DAP: poll 4, mask 0x20000000, value 0x20000000
- Debug: 355 187 bitbang.c:484 bitbang_swd_read_reg(): bitbang_swd_read_reg
- Debug: 356 187 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 357 187 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 358 188 bitbang.c:511 bitbang_swd_read_reg(): JUNK DP read reg 4 = 00000000
- Debug: 359 188 bitbang.c:534 bitbang_swd_read_reg(): No valid acknowledge: ack=0
- Debug: 360 188 bitbang.c:595 bitbang_swd_run_queue(): bitbang_swd_run_queue
- Debug: 361 188 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 362 189 bitbang.c:602 bitbang_swd_run_queue(): SWD queue return value: 00
- Debug: 363 199 bitbang.c:484 bitbang_swd_read_reg(): bitbang_swd_read_reg
- Debug: 364 199 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 365 200 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 366 200 bitbang.c:511 bitbang_swd_read_reg(): JUNK DP read reg 4 = 00000000
- Debug: 367 200 bitbang.c:534 bitbang_swd_read_reg(): No valid acknowledge: ack=0
- Debug: 368 200 bitbang.c:595 bitbang_swd_run_queue(): bitbang_swd_run_queue
- Debug: 369 200 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 370 201 bitbang.c:602 bitbang_swd_run_queue(): SWD queue return value: 00
- Debug: 371 211 bitbang.c:484 bitbang_swd_read_reg(): bitbang_swd_read_reg
- Debug: 372 211 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 373 211 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 374 211 bitbang.c:511 bitbang_swd_read_reg(): JUNK DP read reg 4 = 00000000
- Debug: 375 211 bitbang.c:534 bitbang_swd_read_reg(): No valid acknowledge: ack=0
- Debug: 376 212 bitbang.c:595 bitbang_swd_run_queue(): bitbang_swd_run_queue
- Debug: 377 212 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 378 212 bitbang.c:602 bitbang_swd_run_queue(): SWD queue return value: 00
- Debug: 379 222 bitbang.c:484 bitbang_swd_read_reg(): bitbang_swd_read_reg
- Debug: 380 222 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 381 223 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 382 223 bitbang.c:511 bitbang_swd_read_reg(): JUNK DP read reg 4 = 00000000
- Debug: 383 223 bitbang.c:534 bitbang_swd_read_reg(): No valid acknowledge: ack=0
- Debug: 384 223 bitbang.c:595 bitbang_swd_run_queue(): bitbang_swd_run_queue
- Debug: 385 223 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 386 224 bitbang.c:602 bitbang_swd_run_queue(): SWD queue return value: 00
- Debug: 387 234 bitbang.c:484 bitbang_swd_read_reg(): bitbang_swd_read_reg
- Debug: 388 234 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 389 234 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 390 235 bitbang.c:511 bitbang_swd_read_reg(): JUNK DP read reg 4 = 00000000
- Debug: 391 235 bitbang.c:534 bitbang_swd_read_reg(): No valid acknowledge: ack=0
- Debug: 392 235 bitbang.c:595 bitbang_swd_run_queue(): bitbang_swd_run_queue
- Debug: 393 235 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 394 235 bitbang.c:602 bitbang_swd_run_queue(): SWD queue return value: 00
- Debug: 395 246 bitbang.c:484 bitbang_swd_read_reg(): bitbang_swd_read_reg
- Debug: 396 246 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 397 246 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 398 246 bitbang.c:511 bitbang_swd_read_reg(): JUNK DP read reg 4 = 00000000
- Debug: 399 246 bitbang.c:534 bitbang_swd_read_reg(): No valid acknowledge: ack=0
- Debug: 400 247 bitbang.c:595 bitbang_swd_run_queue(): bitbang_swd_run_queue
- Debug: 401 247 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 402 247 bitbang.c:602 bitbang_swd_run_queue(): SWD queue return value: 00
- Debug: 403 257 bitbang.c:484 bitbang_swd_read_reg(): bitbang_swd_read_reg
- Debug: 404 257 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 405 258 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 406 258 bitbang.c:511 bitbang_swd_read_reg(): JUNK DP read reg 4 = 00000000
- Debug: 407 258 bitbang.c:534 bitbang_swd_read_reg(): No valid acknowledge: ack=0
- Debug: 408 258 bitbang.c:595 bitbang_swd_run_queue(): bitbang_swd_run_queue
- Debug: 409 259 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 410 259 bitbang.c:602 bitbang_swd_run_queue(): SWD queue return value: 00
- Debug: 411 269 bitbang.c:484 bitbang_swd_read_reg(): bitbang_swd_read_reg
- Debug: 412 269 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 413 269 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 414 270 bitbang.c:511 bitbang_swd_read_reg(): JUNK DP read reg 4 = 00000000
- Debug: 415 270 bitbang.c:534 bitbang_swd_read_reg(): No valid acknowledge: ack=0
- Debug: 416 270 bitbang.c:595 bitbang_swd_run_queue(): bitbang_swd_run_queue
- Debug: 417 270 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 418 270 bitbang.c:602 bitbang_swd_run_queue(): SWD queue return value: 00
- Debug: 419 281 bitbang.c:484 bitbang_swd_read_reg(): bitbang_swd_read_reg
- Debug: 420 281 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 421 281 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 422 281 bitbang.c:511 bitbang_swd_read_reg(): JUNK DP read reg 4 = 00000000
- Debug: 423 281 bitbang.c:534 bitbang_swd_read_reg(): No valid acknowledge: ack=0
- Debug: 424 281 bitbang.c:595 bitbang_swd_run_queue(): bitbang_swd_run_queue
- Debug: 425 282 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 426 282 bitbang.c:602 bitbang_swd_run_queue(): SWD queue return value: 00
- Debug: 427 292 bitbang.c:484 bitbang_swd_read_reg(): bitbang_swd_read_reg
- Debug: 428 292 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 429 292 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 430 292 bitbang.c:511 bitbang_swd_read_reg(): JUNK DP read reg 4 = 00000000
- Debug: 431 293 bitbang.c:534 bitbang_swd_read_reg(): No valid acknowledge: ack=0
- Debug: 432 293 bitbang.c:595 bitbang_swd_run_queue(): bitbang_swd_run_queue
- Debug: 433 293 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 434 293 bitbang.c:602 bitbang_swd_run_queue(): SWD queue return value: 00
- Debug: 435 304 arm_adi_v5.h:460 dap_dp_poll_register(): DAP: poll 4 timeout
- Debug: 436 304 command.c:642 run_command(): Command failed with error code -5
- User : 437 305 command.c:705 command_run_line(): in procedure 'init'
- in procedure 'ocd_bouncer'
- Debug: 438 306 command.c:642 run_command(): Command failed with error code -4
- User : 439 307 command.c:705 command_run_line():
- Debug: 440 307 target.c:2003 target_free_all_working_areas_restore(): freeing all working areas
- Debug: 441 308 bitbang.c:447 bitbang_swd_switch_seq(): bitbang_swd_switch_seq
- Debug: 442 308 bitbang.c:459 bitbang_swd_switch_seq(): SWD-to-JTAG
- Debug: 443 309 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 444 309 bitbang.c:595 bitbang_swd_run_queue(): bitbang_swd_run_queue
- Debug: 445 310 bitbang.c:424 bitbang_exchange(): bitbang_exchange
- Debug: 446 310 bitbang.c:602 bitbang_swd_run_queue(): SWD queue return value: 00
Advertisement
Add Comment
Please, Sign In to add comment