Debug: 6 8 log.c:251 handle_log_output_command(): set log_output to "ocd-log.txt" Debug: 7 8 options.c:233 add_default_dirs(): bindir=/builds/idf/openocd-esp32/_build/../openocd-esp32/bin Debug: 8 8 options.c:234 add_default_dirs(): pkgdatadir=/builds/idf/openocd-esp32/_build/../openocd-esp32/share/openocd Debug: 9 8 options.c:235 add_default_dirs(): exepath=C:/Espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin Debug: 10 8 options.c:236 add_default_dirs(): bin2data=../share/openocd Debug: 11 8 configuration.c:33 add_script_search_dir(): adding C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts Debug: 12 8 configuration.c:33 add_script_search_dir(): adding C:/Users/antonio.vazquez/AppData/Roaming/OpenOCD Debug: 13 8 configuration.c:33 add_script_search_dir(): adding C:/Espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin/../share/openocd/site Debug: 14 8 configuration.c:33 add_script_search_dir(): adding C:/Espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin/../share/openocd/scripts Debug: 15 8 command.c:151 script_debug(): command - ocd_find interface/jlink.cfg Debug: 16 9 configuration.c:88 find_file(): found C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/interface/jlink.cfg Debug: 17 10 command.c:151 script_debug(): command - adapter driver jlink Debug: 18 10 command.c:151 script_debug(): command - ocd_find target/esp32.cfg Debug: 19 10 configuration.c:88 find_file(): found C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/target/esp32.cfg Debug: 20 11 command.c:151 script_debug(): command - ocd_find target/esp_common.cfg Debug: 21 11 configuration.c:88 find_file(): found C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/target/esp_common.cfg Debug: 22 12 command.c:151 script_debug(): command - ocd_find bitsbytes.tcl Debug: 23 13 configuration.c:88 find_file(): found C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/bitsbytes.tcl Debug: 24 13 command.c:151 script_debug(): command - ocd_find memory.tcl Debug: 25 13 configuration.c:88 find_file(): found C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/memory.tcl Debug: 26 13 command.c:151 script_debug(): command - ocd_find mmr_helpers.tcl Debug: 27 13 configuration.c:88 find_file(): found C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/mmr_helpers.tcl Debug: 28 14 command.c:151 script_debug(): command - ocd_find target/esp_version.cfg Debug: 29 14 configuration.c:88 find_file(): found C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/target/esp_version.cfg Debug: 30 14 command.c:151 script_debug(): command - version Debug: 31 14 command.c:151 script_debug(): command - add_help_text program_esp write an image to flash, address is only required for binary images. verify, reset, exit, compress, restore_clock and encrypt are optional Debug: 32 14 command.c:151 script_debug(): command - add_usage_text program_esp [address] [verify] [reset] [exit] [compress] [no_clock_boost] [restore_clock] [encrypt] Debug: 33 14 command.c:151 script_debug(): command - add_help_text program_esp_bins write all the images at address specified in flasher_args.json generated while building idf project Debug: 34 14 command.c:151 script_debug(): command - add_usage_text program_esp_bins flasher_args.json [verify] [reset] [exit] [compress] [no_clock_boost] [restore_clock] Debug: 35 14 command.c:151 script_debug(): command - add_help_text esp_get_mac Print MAC address of the chip. Use a `format` argument to return formatted MAC value Debug: 36 14 command.c:151 script_debug(): command - add_usage_text esp_get_mac [format] Debug: 37 14 command.c:151 script_debug(): command - transport select Info : 38 14 transport.c:267 handle_transport_select(): auto-selecting first available session transport "jtag". To override use 'transport select '. Debug: 39 14 command.c:151 script_debug(): command - transport select Debug: 40 14 command.c:151 script_debug(): command - jtag newtap esp32 cpu0 -irlen 5 -expected-id 0x120034e5 Debug: 41 14 tcl.c:419 handle_jtag_newtap_args(): Creating New Tap, Chip: esp32, Tap: cpu0, Dotted: esp32.cpu0, 4 params Debug: 42 14 core.c:1476 jtag_tap_init(): Created Tap: esp32.cpu0 @ abs position 0, irlen 5, capture: 0x1 mask: 0x3 Debug: 43 14 command.c:151 script_debug(): command - jtag newtap esp32 cpu1 -irlen 5 -expected-id 0x120034e5 Debug: 44 14 tcl.c:419 handle_jtag_newtap_args(): Creating New Tap, Chip: esp32, Tap: cpu1, Dotted: esp32.cpu1, 4 params Debug: 45 14 core.c:1476 jtag_tap_init(): Created Tap: esp32.cpu1 @ abs position 1, irlen 5, capture: 0x1 mask: 0x3 Debug: 46 14 command.c:151 script_debug(): command - target create esp32.cpu0 esp32 -chain-position esp32.cpu0 -coreid 0 -rtos FreeRTOS Debug: 47 15 target.c:2166 target_free_all_working_areas_restore(): freeing all working areas Debug: 48 15 FreeRTOS.c:1414 freertos_create(): freertos_create Debug: 49 15 command.c:285 register_command(): command 'esp' is already registered Debug: 50 15 command.c:285 register_command(): command 'esp32' is already registered Debug: 51 15 command.c:285 register_command(): command 'esp32' is already registered Debug: 52 15 command.c:285 register_command(): command 'esp32' is already registered Debug: 53 15 command.c:285 register_command(): command 'esp32' is already registered Debug: 54 15 command.c:285 register_command(): command 'esp32' is already registered Debug: 55 15 command.c:285 register_command(): command 'esp32 flashbootstrap' is already registered Debug: 56 15 command.c:285 register_command(): command 'esp32.cpu0 esp' is already registered Debug: 57 15 command.c:285 register_command(): command 'esp32.cpu0 esp32' is already registered Debug: 58 15 command.c:285 register_command(): command 'esp32.cpu0 esp32' is already registered Debug: 59 15 command.c:285 register_command(): command 'esp32.cpu0 esp32' is already registered Debug: 60 15 command.c:285 register_command(): command 'esp32.cpu0 esp32' is already registered Debug: 61 15 command.c:285 register_command(): command 'esp32.cpu0 esp32' is already registered Debug: 62 15 command.c:285 register_command(): command 'esp32.cpu0 esp32 flashbootstrap' is already registered Debug: 63 15 command.c:151 script_debug(): command - target create esp32.cpu1 esp32 -chain-position esp32.cpu1 -coreid 1 -rtos FreeRTOS Debug: 64 15 target.c:2166 target_free_all_working_areas_restore(): freeing all working areas Debug: 65 15 FreeRTOS.c:1414 freertos_create(): freertos_create Debug: 66 15 command.c:285 register_command(): command 'xtensa' is already registered Debug: 67 15 command.c:285 register_command(): command 'xtensa xtdef' is already registered Debug: 68 15 command.c:285 register_command(): command 'xtensa xtopt' is already registered Debug: 69 15 command.c:285 register_command(): command 'xtensa xtmem' is already registered Debug: 70 15 command.c:285 register_command(): command 'xtensa xtmmu' is already registered Debug: 71 15 command.c:285 register_command(): command 'xtensa xtmpu' is already registered Debug: 72 15 command.c:285 register_command(): command 'xtensa xtreg' is already registered Debug: 73 15 command.c:285 register_command(): command 'xtensa xtregs' is already registered Debug: 74 15 command.c:285 register_command(): command 'xtensa xtregfmt' is already registered Debug: 75 15 command.c:285 register_command(): command 'xtensa set_permissive' is already registered Debug: 76 15 command.c:285 register_command(): command 'xtensa maskisr' is already registered Debug: 77 15 command.c:285 register_command(): command 'xtensa smpbreak' is already registered Debug: 78 15 command.c:285 register_command(): command 'xtensa perfmon_enable' is already registered Debug: 79 15 command.c:285 register_command(): command 'xtensa perfmon_dump' is already registered Debug: 80 15 command.c:285 register_command(): command 'xtensa tracestart' is already registered Debug: 81 15 command.c:285 register_command(): command 'xtensa tracestop' is already registered Debug: 82 15 command.c:285 register_command(): command 'xtensa tracedump' is already registered Debug: 83 15 command.c:285 register_command(): command 'esp' is already registered Debug: 84 15 command.c:285 register_command(): command 'esp gdb_detach_handler' is already registered Debug: 85 15 command.c:285 register_command(): command 'esp' is already registered Debug: 86 15 command.c:285 register_command(): command 'esp apptrace' is already registered Debug: 87 15 command.c:285 register_command(): command 'esp sysview' is already registered Debug: 88 15 command.c:285 register_command(): command 'esp sysview_mcore' is already registered Debug: 89 15 command.c:285 register_command(): command 'esp gcov' is already registered Debug: 90 15 command.c:285 register_command(): command 'esp32' is already registered Debug: 91 15 command.c:285 register_command(): command 'esp32 smp' is already registered Debug: 92 15 command.c:285 register_command(): command 'esp32 smp_gdb' is already registered Debug: 93 15 command.c:285 register_command(): command 'esp32' is already registered Debug: 94 15 command.c:285 register_command(): command 'esp32 flashbootstrap' is already registered Debug: 95 15 command.c:285 register_command(): command 'arm' is already registered Debug: 96 15 command.c:285 register_command(): command 'arm semihosting' is already registered Debug: 97 16 command.c:285 register_command(): command 'arm semihosting_redirect' is already registered Debug: 98 16 command.c:285 register_command(): command 'arm semihosting_cmdline' is already registered Debug: 99 16 command.c:285 register_command(): command 'arm semihosting_fileio' is already registered Debug: 100 16 command.c:285 register_command(): command 'arm semihosting_resexit' is already registered Debug: 101 16 command.c:285 register_command(): command 'arm semihosting_read_user_param' is already registered Debug: 102 16 command.c:285 register_command(): command 'arm semihosting_basedir' is already registered Debug: 103 16 command.c:285 register_command(): command 'esp32' is already registered Debug: 104 16 command.c:285 register_command(): command 'esp32 xtdef' is already registered Debug: 105 16 command.c:285 register_command(): command 'esp32 xtopt' is already registered Debug: 106 16 command.c:285 register_command(): command 'esp32 xtmem' is already registered Debug: 107 16 command.c:285 register_command(): command 'esp32 xtmmu' is already registered Debug: 108 16 command.c:285 register_command(): command 'esp32 xtmpu' is already registered Debug: 109 16 command.c:285 register_command(): command 'esp32 xtreg' is already registered Debug: 110 16 command.c:285 register_command(): command 'esp32 xtregs' is already registered Debug: 111 16 command.c:285 register_command(): command 'esp32 xtregfmt' is already registered Debug: 112 16 command.c:285 register_command(): command 'esp32 set_permissive' is already registered Debug: 113 16 command.c:285 register_command(): command 'esp32 maskisr' is already registered Debug: 114 16 command.c:285 register_command(): command 'esp32 smpbreak' is already registered Debug: 115 16 command.c:285 register_command(): command 'esp32 perfmon_enable' is already registered Debug: 116 16 command.c:285 register_command(): command 'esp32 perfmon_dump' is already registered Debug: 117 16 command.c:285 register_command(): command 'esp32 tracestart' is already registered Debug: 118 16 command.c:285 register_command(): command 'esp32 tracestop' is already registered Debug: 119 16 command.c:285 register_command(): command 'esp32 tracedump' is already registered Debug: 120 16 command.c:285 register_command(): command 'esp32' is already registered Debug: 121 16 command.c:285 register_command(): command 'esp32 gdb_detach_handler' is already registered Debug: 122 16 command.c:285 register_command(): command 'esp32' is already registered Debug: 123 16 command.c:285 register_command(): command 'esp32 apptrace' is already registered Debug: 124 16 command.c:285 register_command(): command 'esp32 sysview' is already registered Debug: 125 16 command.c:285 register_command(): command 'esp32 sysview_mcore' is already registered Debug: 126 16 command.c:285 register_command(): command 'esp32 gcov' is already registered Debug: 127 16 command.c:285 register_command(): command 'esp32' is already registered Debug: 128 16 command.c:285 register_command(): command 'esp32 flashbootstrap' is already registered Debug: 129 16 command.c:285 register_command(): command 'esp32.cpu1 esp' is already registered Debug: 130 16 command.c:285 register_command(): command 'esp32.cpu1 esp32' is already registered Debug: 131 16 command.c:285 register_command(): command 'esp32.cpu1 esp32' is already registered Debug: 132 16 command.c:285 register_command(): command 'esp32.cpu1 esp32' is already registered Debug: 133 16 command.c:285 register_command(): command 'esp32.cpu1 esp32' is already registered Debug: 134 16 command.c:285 register_command(): command 'esp32.cpu1 esp32' is already registered Debug: 135 16 command.c:285 register_command(): command 'esp32.cpu1 esp32 flashbootstrap' is already registered Debug: 136 16 command.c:151 script_debug(): command - target smp esp32.cpu0 esp32.cpu1 Debug: 137 16 target.c:6395 handle_target_smp(): 2 Debug: 138 16 target.c:6351 create_target_list_node(): esp32.cpu0 Debug: 139 16 target.c:6351 create_target_list_node(): esp32.cpu1 Debug: 140 17 command.c:151 script_debug(): command - esp32.cpu0 configure -work-area-phys 0x3FFE0000 -work-area-virt 0x3FFE0000 -work-area-size 0x18000 -work-area-backup 1 Debug: 141 17 target.c:2166 target_free_all_working_areas_restore(): freeing all working areas Debug: 142 17 target.c:2166 target_free_all_working_areas_restore(): freeing all working areas Debug: 143 17 target.c:2166 target_free_all_working_areas_restore(): freeing all working areas Debug: 144 17 target.c:2166 target_free_all_working_areas_restore(): freeing all working areas Debug: 145 17 command.c:151 script_debug(): command - flash bank esp32.cpu0.flash esp32 0x0 0 0 0 esp32.cpu0 Debug: 146 17 command.c:285 register_command(): command 'esp' is already registered Debug: 147 17 command.c:285 register_command(): command 'esp32' is already registered Debug: 148 17 tcl.c:1307 handle_flash_bank_command(): 'esp32' driver usage field missing Debug: 149 17 command.c:151 script_debug(): command - flash bank esp32.cpu0.irom esp32 0x0 0 0 0 esp32.cpu0 Debug: 150 17 command.c:285 register_command(): command 'esp' is already registered Debug: 151 17 command.c:285 register_command(): command 'esp appimage_offset' is already registered Debug: 152 17 command.c:285 register_command(): command 'esp compression' is already registered Debug: 153 17 command.c:285 register_command(): command 'esp verify_bank_hash' is already registered Debug: 154 17 command.c:285 register_command(): command 'esp flash_stub_clock_boost' is already registered Debug: 155 17 command.c:285 register_command(): command 'esp encrypt_binary' is already registered Debug: 156 17 command.c:285 register_command(): command 'esp stub_log' is already registered Debug: 157 17 command.c:285 register_command(): command 'esp32' is already registered Debug: 158 17 command.c:285 register_command(): command 'esp32 appimage_offset' is already registered Debug: 159 17 command.c:285 register_command(): command 'esp32 compression' is already registered Debug: 160 17 command.c:285 register_command(): command 'esp32 verify_bank_hash' is already registered Debug: 161 17 command.c:285 register_command(): command 'esp32 flash_stub_clock_boost' is already registered Debug: 162 17 command.c:285 register_command(): command 'esp32 encrypt_binary' is already registered Debug: 163 17 command.c:285 register_command(): command 'esp32 stub_log' is already registered Debug: 164 17 tcl.c:1307 handle_flash_bank_command(): 'esp32' driver usage field missing Debug: 165 17 command.c:151 script_debug(): command - flash bank esp32.cpu0.drom esp32 0x0 0 0 0 esp32.cpu0 Debug: 166 17 command.c:285 register_command(): command 'esp' is already registered Debug: 167 17 command.c:285 register_command(): command 'esp appimage_offset' is already registered Debug: 168 17 command.c:285 register_command(): command 'esp compression' is already registered Debug: 169 17 command.c:285 register_command(): command 'esp verify_bank_hash' is already registered Debug: 170 17 command.c:285 register_command(): command 'esp flash_stub_clock_boost' is already registered Debug: 171 17 command.c:285 register_command(): command 'esp encrypt_binary' is already registered Debug: 172 17 command.c:285 register_command(): command 'esp stub_log' is already registered Debug: 173 17 command.c:285 register_command(): command 'esp32' is already registered Debug: 174 17 command.c:285 register_command(): command 'esp32 appimage_offset' is already registered Debug: 175 17 command.c:285 register_command(): command 'esp32 compression' is already registered Debug: 176 17 command.c:285 register_command(): command 'esp32 verify_bank_hash' is already registered Debug: 177 17 command.c:285 register_command(): command 'esp32 flash_stub_clock_boost' is already registered Debug: 178 17 command.c:285 register_command(): command 'esp32 encrypt_binary' is already registered Debug: 179 17 command.c:285 register_command(): command 'esp32 stub_log' is already registered Debug: 180 17 tcl.c:1307 handle_flash_bank_command(): 'esp32' driver usage field missing Debug: 181 17 command.c:151 script_debug(): command - flash bank esp32.cpu1.flash esp32 0x0 0 0 0 esp32.cpu1 Debug: 182 17 command.c:285 register_command(): command 'esp' is already registered Debug: 183 17 command.c:285 register_command(): command 'esp appimage_offset' is already registered Debug: 184 17 command.c:285 register_command(): command 'esp compression' is already registered Debug: 185 17 command.c:285 register_command(): command 'esp verify_bank_hash' is already registered Debug: 186 17 command.c:285 register_command(): command 'esp flash_stub_clock_boost' is already registered Debug: 187 17 command.c:285 register_command(): command 'esp encrypt_binary' is already registered Debug: 188 17 command.c:285 register_command(): command 'esp stub_log' is already registered Debug: 189 17 command.c:285 register_command(): command 'esp32' is already registered Debug: 190 17 command.c:285 register_command(): command 'esp32 appimage_offset' is already registered Debug: 191 17 command.c:285 register_command(): command 'esp32 compression' is already registered Debug: 192 17 command.c:285 register_command(): command 'esp32 verify_bank_hash' is already registered Debug: 193 17 command.c:285 register_command(): command 'esp32 flash_stub_clock_boost' is already registered Debug: 194 17 command.c:285 register_command(): command 'esp32 encrypt_binary' is already registered Debug: 195 17 command.c:285 register_command(): command 'esp32 stub_log' is already registered Debug: 196 17 tcl.c:1307 handle_flash_bank_command(): 'esp32' driver usage field missing Debug: 197 17 command.c:151 script_debug(): command - flash bank esp32.cpu1.irom esp32 0x0 0 0 0 esp32.cpu1 Debug: 198 17 command.c:285 register_command(): command 'esp' is already registered Debug: 199 17 command.c:285 register_command(): command 'esp appimage_offset' is already registered Debug: 200 17 command.c:285 register_command(): command 'esp compression' is already registered Debug: 201 17 command.c:285 register_command(): command 'esp verify_bank_hash' is already registered Debug: 202 17 command.c:285 register_command(): command 'esp flash_stub_clock_boost' is already registered Debug: 203 17 command.c:285 register_command(): command 'esp encrypt_binary' is already registered Debug: 204 17 command.c:285 register_command(): command 'esp stub_log' is already registered Debug: 205 17 command.c:285 register_command(): command 'esp32' is already registered Debug: 206 17 command.c:285 register_command(): command 'esp32 appimage_offset' is already registered Debug: 207 17 command.c:285 register_command(): command 'esp32 compression' is already registered Debug: 208 17 command.c:285 register_command(): command 'esp32 verify_bank_hash' is already registered Debug: 209 17 command.c:285 register_command(): command 'esp32 flash_stub_clock_boost' is already registered Debug: 210 17 command.c:285 register_command(): command 'esp32 encrypt_binary' is already registered Debug: 211 17 command.c:285 register_command(): command 'esp32 stub_log' is already registered Debug: 212 17 tcl.c:1307 handle_flash_bank_command(): 'esp32' driver usage field missing Debug: 213 17 command.c:151 script_debug(): command - flash bank esp32.cpu1.drom esp32 0x0 0 0 0 esp32.cpu1 Debug: 214 17 command.c:285 register_command(): command 'esp' is already registered Debug: 215 18 command.c:285 register_command(): command 'esp appimage_offset' is already registered Debug: 216 18 command.c:285 register_command(): command 'esp compression' is already registered Debug: 217 18 command.c:285 register_command(): command 'esp verify_bank_hash' is already registered Debug: 218 18 command.c:285 register_command(): command 'esp flash_stub_clock_boost' is already registered Debug: 219 18 command.c:285 register_command(): command 'esp encrypt_binary' is already registered Debug: 220 18 command.c:285 register_command(): command 'esp stub_log' is already registered Debug: 221 18 command.c:285 register_command(): command 'esp32' is already registered Debug: 222 18 command.c:285 register_command(): command 'esp32 appimage_offset' is already registered Debug: 223 18 command.c:285 register_command(): command 'esp32 compression' is already registered Debug: 224 18 command.c:285 register_command(): command 'esp32 verify_bank_hash' is already registered Debug: 225 18 command.c:285 register_command(): command 'esp32 flash_stub_clock_boost' is already registered Debug: 226 18 command.c:285 register_command(): command 'esp32 encrypt_binary' is already registered Debug: 227 18 command.c:285 register_command(): command 'esp32 stub_log' is already registered Debug: 228 18 tcl.c:1307 handle_flash_bank_command(): 'esp32' driver usage field missing Debug: 229 18 command.c:151 script_debug(): command - esp32.cpu0 configure -event examine-end # Need to enable to set 'semihosting_basedir' arm semihosting enable arm semihosting_resexit enable if { [info exists _SEMIHOST_BASEDIR] } { if { $_SEMIHOST_BASEDIR != "" } { arm semihosting_basedir $_SEMIHOST_BASEDIR } } Debug: 230 18 command.c:151 script_debug(): command - esp32.cpu1 configure -event examine-end # Need to enable to set 'semihosting_basedir' arm semihosting enable arm semihosting_resexit enable if { [info exists _SEMIHOST_BASEDIR] } { if { $_SEMIHOST_BASEDIR != "" } { arm semihosting_basedir $_SEMIHOST_BASEDIR } } Debug: 231 18 command.c:151 script_debug(): command - esp32.cpu0 configure -event reset-assert-post global _ESP_SOC_RESET $_ESP_SOC_RESET Debug: 232 18 command.c:151 script_debug(): command - esp32.cpu1 configure -event reset-assert-post global _ESP_SOC_RESET $_ESP_SOC_RESET Debug: 233 18 command.c:151 script_debug(): command - esp32.cpu0 configure -event gdb-attach if { $_ESP_SMP_BREAK != 0 } { $_TARGETNAME_0 xtensa smpbreak BreakIn BreakOut } # necessary to auto-probe flash bank when GDB is connected and generate proper memory map halt 1000 if { [$_ESP_MEMPROT_IS_ENABLED] } { # 'reset halt' to disable memory protection and allow flasher to work correctly echo "Memory protection is enabled. Reset target to disable it..." reset halt } if { $_ESP_ARCH == "riscv" } { # by default mask interrupts while stepping riscv set_maskisr steponly } Debug: 234 18 command.c:151 script_debug(): command - esp32.cpu1 configure -event gdb-attach if { $_ESP_SMP_BREAK != 0 } { $_TARGETNAME_1 xtensa smpbreak BreakIn BreakOut } # necessary to auto-probe flash bank when GDB is connected halt 1000 if { [$_ESP_MEMPROT_IS_ENABLED] } { # 'reset halt' to disable memory protection and allow flasher to work correctly echo "Memory protection is enabled. Reset target to disable it..." reset halt } Debug: 235 18 command.c:151 script_debug(): command - esp32.cpu0 configure -event gdb-detach $_TARGETNAME_0 esp gdb_detach_handler Debug: 236 18 command.c:151 script_debug(): command - esp32.cpu1 configure -event gdb-detach $_TARGETNAME_1 esp gdb_detach_handler Debug: 237 18 command.c:151 script_debug(): command - esp32.cpu0 xtensa maskisr on Debug: 238 18 command.c:151 script_debug(): command - esp32.cpu0 xtensa smpbreak BreakIn BreakOut Debug: 239 18 xtensa.c:887 xtensa_smpbreak_set(): [esp32.cpu0] set smpbreak=30000, state=1 Debug: 240 18 xtensa.c:887 xtensa_smpbreak_set(): [esp32.cpu1] set smpbreak=30000, state=1 Debug: 241 18 command.c:151 script_debug(): command - esp32.cpu0 esp32 flashbootstrap 3.3 Debug: 242 18 command.c:151 script_debug(): command - ocd_find target/xtensa-core-esp32.cfg Debug: 243 19 configuration.c:88 find_file(): found C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/target/xtensa-core-esp32.cfg Debug: 244 19 command.c:151 script_debug(): command - xtensa xtdef LX Debug: 245 20 command.c:151 script_debug(): command - xtensa xtopt arnum 64 Debug: 246 20 command.c:151 script_debug(): command - xtensa xtopt windowed 1 Debug: 247 20 command.c:151 script_debug(): command - xtensa xtopt exceptions 1 Debug: 248 20 command.c:151 script_debug(): command - xtensa xtopt hipriints 1 Debug: 249 20 command.c:151 script_debug(): command - xtensa xtopt intlevels 6 Debug: 250 20 command.c:151 script_debug(): command - xtensa xtopt excmlevel 3 Debug: 251 20 command.c:151 script_debug(): command - xtensa xtmem icache 4 0 1 Debug: 252 20 command.c:151 script_debug(): command - xtensa xtmem dcache 4 0 1 0 Debug: 253 20 command.c:151 script_debug(): command - xtensa xtmem irom 0x400D0000 0x330000 Debug: 254 20 command.c:151 script_debug(): command - xtensa xtmem irom 0x40000000 0x64F00 Debug: 255 20 command.c:151 script_debug(): command - xtensa xtmem iram 0x40070000 0x30000 Debug: 256 20 command.c:151 script_debug(): command - xtensa xtmem iram 0x400C0000 0x2000 Debug: 257 20 command.c:151 script_debug(): command - xtensa xtmem drom 0x3F400000 0x800000 Debug: 258 20 command.c:151 script_debug(): command - xtensa xtmem drom 0x3FF90000 0x10000 Debug: 259 20 command.c:151 script_debug(): command - xtensa xtmem dram 0x3FFAE000 0x52000 Debug: 260 20 command.c:151 script_debug(): command - xtensa xtmem dram 0x3FF80000 0x2000 Debug: 261 20 command.c:151 script_debug(): command - xtensa xtmem dram 0x3F800000 0x400000 Debug: 262 20 command.c:151 script_debug(): command - xtensa xtmem dram 0x50000000 0x2000 Debug: 263 20 command.c:151 script_debug(): command - xtensa xtmem dram 0x3FF00000 0x71000 Debug: 264 20 command.c:151 script_debug(): command - xtensa xtmem dram 0x60000000 0x20000000 Debug: 265 20 command.c:151 script_debug(): command - xtensa xtopt debuglevel 6 Debug: 266 20 command.c:151 script_debug(): command - xtensa xtopt ibreaknum 2 Debug: 267 20 command.c:151 script_debug(): command - xtensa xtopt dbreaknum 2 Debug: 268 20 command.c:151 script_debug(): command - xtensa xtopt tracemem 0x4000 Debug: 269 20 command.c:151 script_debug(): command - xtensa xtopt tracememrev 1 Debug: 270 20 command.c:151 script_debug(): command - xtensa xtopt perfcount 2 Debug: 271 20 command.c:151 script_debug(): command - xtensa xtregs 173 Debug: 272 20 command.c:151 script_debug(): command - xtensa xtregfmt contiguous 105 Debug: 273 20 command.c:151 script_debug(): command - xtensa xtreg pc 0x0020 Debug: 274 20 command.c:151 script_debug(): command - xtensa xtreg ar0 0x0100 Debug: 275 20 command.c:151 script_debug(): command - xtensa xtreg ar1 0x0101 Debug: 276 20 command.c:151 script_debug(): command - xtensa xtreg ar2 0x0102 Debug: 277 20 command.c:151 script_debug(): command - xtensa xtreg ar3 0x0103 Debug: 278 20 command.c:151 script_debug(): command - xtensa xtreg ar4 0x0104 Debug: 279 20 command.c:151 script_debug(): command - xtensa xtreg ar5 0x0105 Debug: 280 20 command.c:151 script_debug(): command - xtensa xtreg ar6 0x0106 Debug: 281 20 command.c:151 script_debug(): command - xtensa xtreg ar7 0x0107 Debug: 282 20 command.c:151 script_debug(): command - xtensa xtreg ar8 0x0108 Debug: 283 20 command.c:151 script_debug(): command - xtensa xtreg ar9 0x0109 Debug: 284 20 command.c:151 script_debug(): command - xtensa xtreg ar10 0x010a Debug: 285 20 command.c:151 script_debug(): command - xtensa xtreg ar11 0x010b Debug: 286 20 command.c:151 script_debug(): command - xtensa xtreg ar12 0x010c Debug: 287 20 command.c:151 script_debug(): command - xtensa xtreg ar13 0x010d Debug: 288 20 command.c:151 script_debug(): command - xtensa xtreg ar14 0x010e Debug: 289 20 command.c:151 script_debug(): command - xtensa xtreg ar15 0x010f Debug: 290 20 command.c:151 script_debug(): command - xtensa xtreg ar16 0x0110 Debug: 291 20 command.c:151 script_debug(): command - xtensa xtreg ar17 0x0111 Debug: 292 20 command.c:151 script_debug(): command - xtensa xtreg ar18 0x0112 Debug: 293 20 command.c:151 script_debug(): command - xtensa xtreg ar19 0x0113 Debug: 294 20 command.c:151 script_debug(): command - xtensa xtreg ar20 0x0114 Debug: 295 20 command.c:151 script_debug(): command - xtensa xtreg ar21 0x0115 Debug: 296 20 command.c:151 script_debug(): command - xtensa xtreg ar22 0x0116 Debug: 297 20 command.c:151 script_debug(): command - xtensa xtreg ar23 0x0117 Debug: 298 20 command.c:151 script_debug(): command - xtensa xtreg ar24 0x0118 Debug: 299 20 command.c:151 script_debug(): command - xtensa xtreg ar25 0x0119 Debug: 300 20 command.c:151 script_debug(): command - xtensa xtreg ar26 0x011a Debug: 301 20 command.c:151 script_debug(): command - xtensa xtreg ar27 0x011b Debug: 302 20 command.c:151 script_debug(): command - xtensa xtreg ar28 0x011c Debug: 303 20 command.c:151 script_debug(): command - xtensa xtreg ar29 0x011d Debug: 304 20 command.c:151 script_debug(): command - xtensa xtreg ar30 0x011e Debug: 305 20 command.c:151 script_debug(): command - xtensa xtreg ar31 0x011f Debug: 306 20 command.c:151 script_debug(): command - xtensa xtreg ar32 0x0120 Debug: 307 20 command.c:151 script_debug(): command - xtensa xtreg ar33 0x0121 Debug: 308 20 command.c:151 script_debug(): command - xtensa xtreg ar34 0x0122 Debug: 309 20 command.c:151 script_debug(): command - xtensa xtreg ar35 0x0123 Debug: 310 20 command.c:151 script_debug(): command - xtensa xtreg ar36 0x0124 Debug: 311 20 command.c:151 script_debug(): command - xtensa xtreg ar37 0x0125 Debug: 312 20 command.c:151 script_debug(): command - xtensa xtreg ar38 0x0126 Debug: 313 20 command.c:151 script_debug(): command - xtensa xtreg ar39 0x0127 Debug: 314 20 command.c:151 script_debug(): command - xtensa xtreg ar40 0x0128 Debug: 315 20 command.c:151 script_debug(): command - xtensa xtreg ar41 0x0129 Debug: 316 21 command.c:151 script_debug(): command - xtensa xtreg ar42 0x012a Debug: 317 21 command.c:151 script_debug(): command - xtensa xtreg ar43 0x012b Debug: 318 21 command.c:151 script_debug(): command - xtensa xtreg ar44 0x012c Debug: 319 21 command.c:151 script_debug(): command - xtensa xtreg ar45 0x012d Debug: 320 21 command.c:151 script_debug(): command - xtensa xtreg ar46 0x012e Debug: 321 21 command.c:151 script_debug(): command - xtensa xtreg ar47 0x012f Debug: 322 21 command.c:151 script_debug(): command - xtensa xtreg ar48 0x0130 Debug: 323 21 command.c:151 script_debug(): command - xtensa xtreg ar49 0x0131 Debug: 324 21 command.c:151 script_debug(): command - xtensa xtreg ar50 0x0132 Debug: 325 21 command.c:151 script_debug(): command - xtensa xtreg ar51 0x0133 Debug: 326 21 command.c:151 script_debug(): command - xtensa xtreg ar52 0x0134 Debug: 327 21 command.c:151 script_debug(): command - xtensa xtreg ar53 0x0135 Debug: 328 21 command.c:151 script_debug(): command - xtensa xtreg ar54 0x0136 Debug: 329 21 command.c:151 script_debug(): command - xtensa xtreg ar55 0x0137 Debug: 330 21 command.c:151 script_debug(): command - xtensa xtreg ar56 0x0138 Debug: 331 21 command.c:151 script_debug(): command - xtensa xtreg ar57 0x0139 Debug: 332 21 command.c:151 script_debug(): command - xtensa xtreg ar58 0x013a Debug: 333 21 command.c:151 script_debug(): command - xtensa xtreg ar59 0x013b Debug: 334 21 command.c:151 script_debug(): command - xtensa xtreg ar60 0x013c Debug: 335 21 command.c:151 script_debug(): command - xtensa xtreg ar61 0x013d Debug: 336 21 command.c:151 script_debug(): command - xtensa xtreg ar62 0x013e Debug: 337 21 command.c:151 script_debug(): command - xtensa xtreg ar63 0x013f Debug: 338 21 command.c:151 script_debug(): command - xtensa xtreg lbeg 0x0200 Debug: 339 21 command.c:151 script_debug(): command - xtensa xtreg lend 0x0201 Debug: 340 21 command.c:151 script_debug(): command - xtensa xtreg lcount 0x0202 Debug: 341 21 command.c:151 script_debug(): command - xtensa xtreg sar 0x0203 Debug: 342 21 command.c:151 script_debug(): command - xtensa xtreg windowbase 0x0248 Debug: 343 21 command.c:151 script_debug(): command - xtensa xtreg windowstart 0x0249 Debug: 344 21 command.c:151 script_debug(): command - xtensa xtreg configid0 0x02b0 Debug: 345 21 command.c:151 script_debug(): command - xtensa xtreg configid1 0x02d0 Debug: 346 21 command.c:151 script_debug(): command - xtensa xtreg ps 0x02e6 Debug: 347 21 command.c:151 script_debug(): command - xtensa xtreg threadptr 0x03e7 Debug: 348 21 command.c:151 script_debug(): command - xtensa xtreg br 0x0204 Debug: 349 21 command.c:151 script_debug(): command - xtensa xtreg scompare1 0x020c Debug: 350 21 command.c:151 script_debug(): command - xtensa xtreg acclo 0x0210 Debug: 351 21 command.c:151 script_debug(): command - xtensa xtreg acchi 0x0211 Debug: 352 21 command.c:151 script_debug(): command - xtensa xtreg m0 0x0220 Debug: 353 21 command.c:151 script_debug(): command - xtensa xtreg m1 0x0221 Debug: 354 21 command.c:151 script_debug(): command - xtensa xtreg m2 0x0222 Debug: 355 21 command.c:151 script_debug(): command - xtensa xtreg m3 0x0223 Debug: 356 21 command.c:151 script_debug(): command - xtensa xtreg expstate 0x03e6 Debug: 357 21 command.c:151 script_debug(): command - xtensa xtreg f64r_lo 0x03ea Debug: 358 21 command.c:151 script_debug(): command - xtensa xtreg f64r_hi 0x03eb Debug: 359 21 command.c:151 script_debug(): command - xtensa xtreg f64s 0x03ec Debug: 360 21 command.c:151 script_debug(): command - xtensa xtreg f0 0x0030 Debug: 361 21 command.c:151 script_debug(): command - xtensa xtreg f1 0x0031 Debug: 362 21 command.c:151 script_debug(): command - xtensa xtreg f2 0x0032 Debug: 363 21 command.c:151 script_debug(): command - xtensa xtreg f3 0x0033 Debug: 364 21 command.c:151 script_debug(): command - xtensa xtreg f4 0x0034 Debug: 365 21 command.c:151 script_debug(): command - xtensa xtreg f5 0x0035 Debug: 366 21 command.c:151 script_debug(): command - xtensa xtreg f6 0x0036 Debug: 367 21 command.c:151 script_debug(): command - xtensa xtreg f7 0x0037 Debug: 368 21 command.c:151 script_debug(): command - xtensa xtreg f8 0x0038 Debug: 369 21 command.c:151 script_debug(): command - xtensa xtreg f9 0x0039 Debug: 370 21 command.c:151 script_debug(): command - xtensa xtreg f10 0x003a Debug: 371 21 command.c:151 script_debug(): command - xtensa xtreg f11 0x003b Debug: 372 21 command.c:151 script_debug(): command - xtensa xtreg f12 0x003c Debug: 373 21 command.c:151 script_debug(): command - xtensa xtreg f13 0x003d Debug: 374 21 command.c:151 script_debug(): command - xtensa xtreg f14 0x003e Debug: 375 21 command.c:151 script_debug(): command - xtensa xtreg f15 0x003f Debug: 376 21 command.c:151 script_debug(): command - xtensa xtreg fcr 0x03e8 Debug: 377 21 command.c:151 script_debug(): command - xtensa xtreg fsr 0x03e9 Debug: 378 21 command.c:151 script_debug(): command - xtensa xtreg mmid 0x0259 Debug: 379 21 command.c:151 script_debug(): command - xtensa xtreg ibreakenable 0x0260 Debug: 380 21 command.c:151 script_debug(): command - xtensa xtreg memctl 0x0261 Debug: 381 21 command.c:151 script_debug(): command - xtensa xtreg atomctl 0x0263 Debug: 382 21 command.c:151 script_debug(): command - xtensa xtreg ddr 0x0268 Debug: 383 21 command.c:151 script_debug(): command - xtensa xtreg ibreaka0 0x0280 Debug: 384 21 command.c:151 script_debug(): command - xtensa xtreg ibreaka1 0x0281 Debug: 385 21 command.c:151 script_debug(): command - xtensa xtreg dbreaka0 0x0290 Debug: 386 21 command.c:151 script_debug(): command - xtensa xtreg dbreaka1 0x0291 Debug: 387 21 command.c:151 script_debug(): command - xtensa xtreg dbreakc0 0x02a0 Debug: 388 21 command.c:151 script_debug(): command - xtensa xtreg dbreakc1 0x02a1 Debug: 389 21 command.c:151 script_debug(): command - xtensa xtreg epc1 0x02b1 Debug: 390 21 command.c:151 script_debug(): command - xtensa xtreg epc2 0x02b2 Debug: 391 21 command.c:151 script_debug(): command - xtensa xtreg epc3 0x02b3 Debug: 392 21 command.c:151 script_debug(): command - xtensa xtreg epc4 0x02b4 Debug: 393 21 command.c:151 script_debug(): command - xtensa xtreg epc5 0x02b5 Debug: 394 21 command.c:151 script_debug(): command - xtensa xtreg epc6 0x02b6 Debug: 395 21 command.c:151 script_debug(): command - xtensa xtreg epc7 0x02b7 Debug: 396 21 command.c:151 script_debug(): command - xtensa xtreg depc 0x02c0 Debug: 397 21 command.c:151 script_debug(): command - xtensa xtreg eps2 0x02c2 Debug: 398 21 command.c:151 script_debug(): command - xtensa xtreg eps3 0x02c3 Debug: 399 22 command.c:151 script_debug(): command - xtensa xtreg eps4 0x02c4 Debug: 400 22 command.c:151 script_debug(): command - xtensa xtreg eps5 0x02c5 Debug: 401 22 command.c:151 script_debug(): command - xtensa xtreg eps6 0x02c6 Debug: 402 22 xtensa.c:3918 xtensa_cmd_xtreg_do(): Setting PS (eps6) index to 149 Debug: 403 22 xtensa.c:3918 xtensa_cmd_xtreg_do(): Setting PS (eps6) index to 149 Debug: 404 22 command.c:151 script_debug(): command - xtensa xtreg eps7 0x02c7 Debug: 405 22 command.c:151 script_debug(): command - xtensa xtreg excsave1 0x02d1 Debug: 406 22 command.c:151 script_debug(): command - xtensa xtreg excsave2 0x02d2 Debug: 407 22 command.c:151 script_debug(): command - xtensa xtreg excsave3 0x02d3 Debug: 408 22 command.c:151 script_debug(): command - xtensa xtreg excsave4 0x02d4 Debug: 409 22 command.c:151 script_debug(): command - xtensa xtreg excsave5 0x02d5 Debug: 410 22 command.c:151 script_debug(): command - xtensa xtreg excsave6 0x02d6 Debug: 411 22 command.c:151 script_debug(): command - xtensa xtreg excsave7 0x02d7 Debug: 412 22 command.c:151 script_debug(): command - xtensa xtreg cpenable 0x02e0 Debug: 413 22 command.c:151 script_debug(): command - xtensa xtreg interrupt 0x02e2 Debug: 414 22 command.c:151 script_debug(): command - xtensa xtreg intset 0x02e2 Debug: 415 22 command.c:151 script_debug(): command - xtensa xtreg intclear 0x02e3 Debug: 416 22 command.c:151 script_debug(): command - xtensa xtreg intenable 0x02e4 Debug: 417 22 command.c:151 script_debug(): command - xtensa xtreg vecbase 0x02e7 Debug: 418 22 command.c:151 script_debug(): command - xtensa xtreg exccause 0x02e8 Debug: 419 22 command.c:151 script_debug(): command - xtensa xtreg debugcause 0x02e9 Debug: 420 22 command.c:151 script_debug(): command - xtensa xtreg ccount 0x02ea Debug: 421 22 command.c:151 script_debug(): command - xtensa xtreg prid 0x02eb Debug: 422 22 command.c:151 script_debug(): command - xtensa xtreg icount 0x02ec Debug: 423 22 command.c:151 script_debug(): command - xtensa xtreg icountlevel 0x02ed Debug: 424 22 command.c:151 script_debug(): command - xtensa xtreg excvaddr 0x02ee Debug: 425 22 command.c:151 script_debug(): command - xtensa xtreg ccompare0 0x02f0 Debug: 426 22 command.c:151 script_debug(): command - xtensa xtreg ccompare1 0x02f1 Debug: 427 22 command.c:151 script_debug(): command - xtensa xtreg ccompare2 0x02f2 Debug: 428 22 command.c:151 script_debug(): command - xtensa xtreg misc0 0x02f4 Debug: 429 22 command.c:151 script_debug(): command - xtensa xtreg misc1 0x02f5 Debug: 430 22 command.c:151 script_debug(): command - xtensa xtreg misc2 0x02f6 Debug: 431 22 command.c:151 script_debug(): command - xtensa xtreg misc3 0x02f7 Debug: 432 22 command.c:151 script_debug(): command - xtensa xtreg a0 0x0000 Debug: 433 22 command.c:151 script_debug(): command - xtensa xtreg a1 0x0001 Debug: 434 22 command.c:151 script_debug(): command - xtensa xtreg a2 0x0002 Debug: 435 22 command.c:151 script_debug(): command - xtensa xtreg a3 0x0003 Debug: 436 22 command.c:151 script_debug(): command - xtensa xtreg a4 0x0004 Debug: 437 22 command.c:151 script_debug(): command - xtensa xtreg a5 0x0005 Debug: 438 22 command.c:151 script_debug(): command - xtensa xtreg a6 0x0006 Debug: 439 22 command.c:151 script_debug(): command - xtensa xtreg a7 0x0007 Debug: 440 22 command.c:151 script_debug(): command - xtensa xtreg a8 0x0008 Debug: 441 22 command.c:151 script_debug(): command - xtensa xtreg a9 0x0009 Debug: 442 22 command.c:151 script_debug(): command - xtensa xtreg a10 0x000a Debug: 443 22 command.c:151 script_debug(): command - xtensa xtreg a11 0x000b Debug: 444 22 command.c:151 script_debug(): command - xtensa xtreg a12 0x000c Debug: 445 22 command.c:151 script_debug(): command - xtensa xtreg a13 0x000d Debug: 446 22 command.c:151 script_debug(): command - xtensa xtreg a14 0x000e Debug: 447 22 command.c:151 script_debug(): command - xtensa xtreg a15 0x000f Debug: 448 22 command.c:151 script_debug(): command - esp stub_log on Info : 449 22 esp_flash.c:1637 esp_algo_flash_parse_cmd_stub_log(): [esp32.cpu0] Stub logs enabled! Error: 450 22 esp_flash.c:953 esp_algo_flash_probe(): Target not halted Error: 451 22 core.c:271 get_flash_bank_by_name(): auto_probe failed Error: 452 22 esp_flash.c:1328 esp_algo_target_to_flash_bank(): Failed to find bank 'esp32.cpu0.irom'! Debug: 453 22 command.c:541 run_command(): Command 'esp stub_log' failed with error code -4 User : 454 22 command.c:612 command_run_line(): C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/target/esp_common.cfg:9: Error: at file "C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/target/esp_common.cfg", line 9 Debug: 455 22 esp_xtensa.c:198 esp_xtensa_target_deinit(): start Debug: 456 22 xtensa.c:3423 xtensa_target_deinit(): start Debug: 457 22 target.c:2166 target_free_all_working_areas_restore(): freeing all working areas Debug: 458 22 esp_xtensa.c:198 esp_xtensa_target_deinit(): start Debug: 459 22 xtensa.c:3423 xtensa_target_deinit(): start Debug: 460 22 target.c:2166 target_free_all_working_areas_restore(): freeing all working areas