User : 14 4 command.c:544 command_print(): debug_level: 3 Debug: 15 4 configuration.c:42 add_script_search_dir(): adding share\openocd\scripts Debug: 16 4 options.c:96 add_default_dirs(): bindir=/builds/idf/openocd-esp32/openocd-esp32/bin Debug: 17 4 options.c:97 add_default_dirs(): pkgdatadir=/builds/idf/openocd-esp32/openocd-esp32/share/openocd Debug: 18 4 options.c:98 add_default_dirs(): run_prefix=C:/SysGCC/esp32-520r9/esp32-bsp/OpenOCD_esp20180724/bin Debug: 19 4 configuration.c:42 add_script_search_dir(): adding C:\Users\my_user\AppData\Roaming/OpenOCD Debug: 20 4 configuration.c:42 add_script_search_dir(): adding C:/OpenOCD_esp20180724/bin/builds/idf/openocd-esp32/openocd-esp32/share/openocd/site Debug: 21 4 configuration.c:42 add_script_search_dir(): adding C:/OpenOCD_esp20180724/bin/builds/idf/openocd-esp32/openocd-esp32/share/openocd/scripts Debug: 22 5 configuration.c:82 find_file(): found share\openocd\scripts/interface/jlink.cfg Debug: 23 6 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_interface jlink Debug: 24 6 command.c:143 script_debug(): command - interface ocd_interface jlink Debug: 26 6 command.c:323 command_new(): BUG: command 'jlink' does not have the '.usage' field filled out Debug: 27 6 command.c:364 register_command_handler(): registering 'ocd_jlink'... Debug: 28 6 command.c:364 register_command_handler(): registering 'ocd_jlink'... Debug: 29 6 command.c:323 command_new(): BUG: command 'jlink freemem' does not have the '.usage' field filled out Debug: 30 6 command.c:364 register_command_handler(): registering 'ocd_jlink'... Debug: 31 6 command.c:323 command_new(): BUG: command 'jlink hwstatus' does not have the '.usage' field filled out Debug: 32 6 command.c:364 register_command_handler(): registering 'ocd_jlink'... Debug: 33 6 command.c:364 register_command_handler(): registering 'ocd_jlink'... Debug: 34 6 command.c:364 register_command_handler(): registering 'ocd_jlink'... Debug: 35 6 command.c:323 command_new(): BUG: command 'jlink config' does not have the '.usage' field filled out Debug: 36 6 command.c:364 register_command_handler(): registering 'ocd_jlink'... Debug: 37 6 command.c:364 register_command_handler(): registering 'ocd_jlink'... Debug: 38 6 command.c:364 register_command_handler(): registering 'ocd_jlink'... Debug: 39 6 command.c:364 register_command_handler(): registering 'ocd_jlink'... Debug: 40 6 command.c:364 register_command_handler(): registering 'ocd_jlink'... Debug: 41 6 command.c:323 command_new(): BUG: command 'config reset' does not have the '.usage' field filled out Debug: 42 6 command.c:364 register_command_handler(): registering 'ocd_jlink'... Debug: 43 6 command.c:323 command_new(): BUG: command 'config write' does not have the '.usage' field filled out Debug: 44 6 command.c:364 register_command_handler(): registering 'ocd_jlink'... Debug: 45 6 configuration.c:82 find_file(): found share\openocd\scripts/board/esp-wroom-32.cfg Debug: 46 6 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select jtag Debug: 47 6 command.c:143 script_debug(): command - ocd_transport ocd_transport select jtag Debug: 48 6 command.c:364 register_command_handler(): registering 'ocd_jtag_flush_queue_sleep'... Debug: 49 6 command.c:364 register_command_handler(): registering 'ocd_jtag_rclk'... Debug: 50 6 command.c:364 register_command_handler(): registering 'ocd_jtag_ntrst_delay'... Debug: 51 6 command.c:364 register_command_handler(): registering 'ocd_jtag_ntrst_assert_width'... Debug: 52 6 command.c:364 register_command_handler(): registering 'ocd_scan_chain'... Debug: 53 6 command.c:364 register_command_handler(): registering 'ocd_jtag_reset'... Debug: 54 6 command.c:364 register_command_handler(): registering 'ocd_runtest'... Debug: 55 6 command.c:364 register_command_handler(): registering 'ocd_irscan'... Debug: 56 6 command.c:364 register_command_handler(): registering 'ocd_verify_ircapture'... Debug: 57 6 command.c:364 register_command_handler(): registering 'ocd_verify_jtag'... Debug: 58 7 command.c:364 register_command_handler(): registering 'ocd_tms_sequence'... Debug: 59 7 command.c:364 register_command_handler(): registering 'ocd_wait_srst_deassert'... Debug: 60 7 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 61 7 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 62 7 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 63 7 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 64 7 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 65 7 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 66 7 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 67 7 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 68 7 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 69 7 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 70 7 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 71 7 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 72 7 command.c:364 register_command_handler(): registering 'ocd_jtag'... Debug: 73 7 command.c:364 register_command_handler(): registering 'ocd_svf'... Debug: 74 7 command.c:364 register_command_handler(): registering 'ocd_xsvf'... Debug: 75 7 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 10000 Debug: 76 7 command.c:143 script_debug(): command - adapter_khz ocd_adapter_khz 10000 Debug: 78 7 core.c:1631 jtag_config_khz(): handle jtag khz Debug: 79 7 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 80 7 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value User : 81 7 command.c:544 command_print(): adapter speed: 10000 kHz Debug: 82 7 configuration.c:82 find_file(): found share\openocd\scripts/target/esp32.cfg Debug: 83 8 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap esp32 cpu0 -irlen 5 -expected-id 0x120034e5 Debug: 84 8 command.c:143 script_debug(): command - ocd_jtag ocd_jtag newtap esp32 cpu0 -irlen 5 -expected-id 0x120034e5 Debug: 85 8 tcl.c:549 jim_newtap_cmd(): Creating New Tap, Chip: esp32, Tap: cpu0, Dotted: esp32.cpu0, 4 params Debug: 86 8 tcl.c:573 jim_newtap_cmd(): Processing option: -irlen Debug: 87 8 tcl.c:573 jim_newtap_cmd(): Processing option: -expected-id Debug: 88 8 core.c:1304 jtag_tap_init(): Created Tap: esp32.cpu0 @ abs position 0, irlen 5, capture: 0x1 mask: 0x3 Debug: 89 8 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target create esp32 esp32 -endian little -chain-position esp32.cpu0 -rtos FreeRTOS Debug: 90 8 command.c:143 script_debug(): command - ocd_target ocd_target create esp32 esp32 -endian little -chain-position esp32.cpu0 -rtos FreeRTOS Debug: 91 8 target.c:2008 target_free_all_working_areas_restore(): freeing all working areas Debug: 92 8 target.c:2008 target_free_all_working_areas_restore(): freeing all working areas Debug: 93 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 94 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 95 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 96 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 97 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 98 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 99 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 100 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 101 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 102 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 103 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 104 8 command.c:364 register_command_handler(): registering 'ocd_set_permissive'... Debug: 105 8 core.c:1304 jtag_tap_init(): Created Tap: esp32.cpu1 @ abs position 1, irlen 5, capture: 0x1 mask: 0x3 Debug: 106 8 command.c:399 register_command(): command 'esp32' is already registered in '' context Debug: 107 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 108 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 109 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 110 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 111 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 112 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 113 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 114 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 115 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 116 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 117 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 118 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 119 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 120 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 121 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 122 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 123 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 124 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 125 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 126 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 127 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 128 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 129 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 130 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 131 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 132 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 133 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 134 8 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 135 9 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 136 9 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 137 9 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 138 9 command.c:364 register_command_handler(): registering 'ocd_esp32'... Debug: 139 9 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 configure -event halted esp_core_halt esp32 Debug: 140 9 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 configure -event halted esp_core_halt esp32 Debug: 141 9 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 configure -event examine-end esp_smp_break_config Debug: 142 9 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 configure -event examine-end esp_smp_break_config Debug: 143 9 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 flashbootstrap 3.3 Debug: 144 9 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 flashbootstrap 3.3 Debug: 146 9 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 maskisr on Debug: 147 9 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 maskisr on User : 149 9 command.c:544 command_print(): esp32 interrupt mask on Debug: 150 9 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 configure -work-area-phys 0x40090000 -work-area-virt 0x40090000 -work-area-size 0x3400 -work-area-backup 1 Debug: 151 9 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 configure -work-area-phys 0x40090000 -work-area-virt 0x40090000 -work-area-size 0x3400 -work-area-backup 1 Debug: 152 9 target.c:2008 target_free_all_working_areas_restore(): freeing all working areas Debug: 153 9 target.c:2008 target_free_all_working_areas_restore(): freeing all working areas Debug: 154 9 target.c:2008 target_free_all_working_areas_restore(): freeing all working areas Debug: 155 9 target.c:2008 target_free_all_working_areas_restore(): freeing all working areas Debug: 156 9 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 configure -alt-work-area-phys 0x3FFC0000 -alt-work-area-virt 0x3FFC0000 -alt-work-area-size 0x6000 -alt-work-area-backup 1 Debug: 157 9 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 configure -alt-work-area-phys 0x3FFC0000 -alt-work-area-virt 0x3FFC0000 -alt-work-area-size 0x6000 -alt-work-area-backup 1 Debug: 158 9 target.c:2008 target_free_all_working_areas_restore(): freeing all working areas Debug: 159 9 target.c:2008 target_free_all_working_areas_restore(): freeing all working areas Debug: 160 9 target.c:2008 target_free_all_working_areas_restore(): freeing all working areas Debug: 161 9 target.c:2008 target_free_all_working_areas_restore(): freeing all working areas Debug: 162 9 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash bank esp32.flash esp32 0x0 0 0 0 esp32 Debug: 163 9 command.c:143 script_debug(): command - ocd_flash ocd_flash bank esp32.flash esp32 0x0 0 0 0 esp32 Debug: 165 9 command.c:399 register_command(): command 'esp32' is already registered in '' context Debug: 166 9 tcl.c:1032 handle_flash_bank_command(): 'esp32' driver usage field missing Debug: 167 9 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash bank irom esp32 0x0 0 0 0 esp32 Debug: 168 9 command.c:143 script_debug(): command - ocd_flash ocd_flash bank irom esp32 0x0 0 0 0 esp32 Debug: 170 9 command.c:399 register_command(): command 'esp32' is already registered in '' context Debug: 171 9 tcl.c:1032 handle_flash_bank_command(): 'esp32' driver usage field missing Debug: 172 9 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash bank drom esp32 0x0 0 0 0 esp32 Debug: 173 10 command.c:143 script_debug(): command - ocd_flash ocd_flash bank drom esp32 0x0 0 0 0 esp32 Debug: 175 10 command.c:399 register_command(): command 'esp32' is already registered in '' context Debug: 176 10 tcl.c:1032 handle_flash_bank_command(): 'esp32' driver usage field missing Debug: 177 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 configure -event gdb-attach halt Debug: 178 10 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 configure -event gdb-attach halt Debug: 179 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_help_text program_esp32 write an image to flash, address is only required for binary images. verify, reset, exit are optional Debug: 180 10 command.c:143 script_debug(): command - add_help_text ocd_add_help_text program_esp32 write an image to flash, address is only required for binary images. verify, reset, exit are optional Debug: 182 10 command.c:323 command_new(): BUG: command 'program_esp32' does not have the '.usage' field filled out Debug: 183 10 command.c:1098 help_add_command(): added 'program_esp32' help text Debug: 184 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text program_esp32 [address] [verify] [reset] [exit] Debug: 185 10 command.c:143 script_debug(): command - add_usage_text ocd_add_usage_text program_esp32 [address] [verify] [reset] [exit] Debug: 187 10 command.c:1123 help_add_command(): added 'program_esp32' usage text Debug: 188 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_init Debug: 189 10 command.c:143 script_debug(): command - init ocd_init Debug: 191 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target init Debug: 192 10 command.c:143 script_debug(): command - ocd_target ocd_target init Debug: 194 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target names Debug: 195 10 command.c:143 script_debug(): command - ocd_target ocd_target names Debug: 196 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 cget -event gdb-flash-erase-start Debug: 197 10 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 cget -event gdb-flash-erase-start Debug: 198 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 configure -event gdb-flash-erase-start reset init Debug: 199 10 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 configure -event gdb-flash-erase-start reset init Debug: 200 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 cget -event gdb-flash-write-end Debug: 201 10 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 cget -event gdb-flash-write-end Debug: 202 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 configure -event gdb-flash-write-end reset halt Debug: 203 10 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 configure -event gdb-flash-write-end reset halt Debug: 204 10 target.c:1375 handle_target_init_command(): Initializing targets... Debug: 205 10 esp32.c:1530 xtensa_init_target(): xtensa_init_target Debug: 206 10 command.c:364 register_command_handler(): registering 'ocd_target_request'... Debug: 207 10 command.c:364 register_command_handler(): registering 'ocd_trace'... Debug: 208 10 command.c:364 register_command_handler(): registering 'ocd_trace'... Debug: 209 10 command.c:364 register_command_handler(): registering 'ocd_fast_load_image'... Debug: 210 10 command.c:364 register_command_handler(): registering 'ocd_fast_load'... Debug: 211 10 command.c:364 register_command_handler(): registering 'ocd_profile'... Debug: 212 10 command.c:364 register_command_handler(): registering 'ocd_virt2phys'... Debug: 213 10 command.c:364 register_command_handler(): registering 'ocd_reg'... Debug: 214 10 command.c:364 register_command_handler(): registering 'ocd_poll'... Debug: 215 10 command.c:364 register_command_handler(): registering 'ocd_wait_halt'... Debug: 216 10 command.c:364 register_command_handler(): registering 'ocd_halt'... Debug: 217 11 command.c:364 register_command_handler(): registering 'ocd_resume'... Debug: 218 11 command.c:364 register_command_handler(): registering 'ocd_reset'... Debug: 219 11 command.c:364 register_command_handler(): registering 'ocd_soft_reset_halt'... Debug: 220 11 command.c:364 register_command_handler(): registering 'ocd_step'... Debug: 221 11 command.c:364 register_command_handler(): registering 'ocd_mdw'... Debug: 222 11 command.c:364 register_command_handler(): registering 'ocd_mdh'... Debug: 223 11 command.c:364 register_command_handler(): registering 'ocd_mdb'... Debug: 224 11 command.c:364 register_command_handler(): registering 'ocd_mww'... Debug: 225 11 command.c:364 register_command_handler(): registering 'ocd_mwh'... Debug: 226 11 command.c:364 register_command_handler(): registering 'ocd_mwb'... Debug: 227 11 command.c:364 register_command_handler(): registering 'ocd_bp'... Debug: 228 11 command.c:364 register_command_handler(): registering 'ocd_rbp'... Debug: 229 11 command.c:364 register_command_handler(): registering 'ocd_wp'... Debug: 230 11 command.c:364 register_command_handler(): registering 'ocd_rwp'... Debug: 231 11 command.c:364 register_command_handler(): registering 'ocd_load_image'... Debug: 232 11 command.c:364 register_command_handler(): registering 'ocd_dump_image'... Debug: 233 11 command.c:364 register_command_handler(): registering 'ocd_verify_image'... Debug: 234 11 command.c:364 register_command_handler(): registering 'ocd_test_image'... Debug: 235 11 command.c:364 register_command_handler(): registering 'ocd_reset_nag'... Debug: 236 11 command.c:364 register_command_handler(): registering 'ocd_ps'... Debug: 237 11 command.c:364 register_command_handler(): registering 'ocd_test_mem_access'... Debug: 238 11 command.c:364 register_command_handler(): registering 'ocd_set_core'... Info : 239 54 jlink.c:538 jlink_init(): No device selected, using first device. Info : 240 55 jlink.c:601 jlink_init(): J-Link V10 compiled Oct 9 2015 20:36:39 Info : 241 56 jlink.c:642 jlink_init(): Hardware version: 10.10 Info : 242 58 jlink.c:684 jlink_init(): VTarget = 3.322 V Debug: 243 59 jlink.c:836 jlink_reset(): TRST: 0, SRST: 0. Debug: 244 64 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 245 64 core.c:1601 adapter_khz_to_speed(): have interface set up Debug: 246 65 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 247 65 core.c:1601 adapter_khz_to_speed(): have interface set up Info : 248 65 core.c:1386 adapter_init(): clock speed 10000 kHz Debug: 249 65 openocd.c:135 handle_init_command(): Debug Adapter init complete Debug: 250 65 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport init Debug: 251 65 command.c:143 script_debug(): command - ocd_transport ocd_transport init Debug: 253 65 transport.c:239 handle_transport_init(): handle_transport_init Debug: 254 65 jlink.c:836 jlink_reset(): TRST: 0, SRST: 0. Debug: 255 65 core.c:729 jtag_add_reset(): SRST line released Debug: 256 65 core.c:753 jtag_add_reset(): TRST line released Debug: 257 65 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 258 65 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init Debug: 259 65 command.c:143 script_debug(): command - ocd_jtag ocd_jtag arp_init Debug: 260 65 core.c:1399 jtag_init_inner(): Init JTAG chain Debug: 261 65 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 262 66 core.c:1060 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS Debug: 263 66 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Info : 264 67 core.c:959 jtag_examine_chain_display(): JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1) Info : 265 68 core.c:959 jtag_examine_chain_display(): JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1) Debug: 266 68 core.c:1190 jtag_validate_ircapture(): IR capture validation scan Debug: 267 68 core.c:1248 jtag_validate_ircapture(): esp32.cpu0: IR capture 0x01 Debug: 268 68 core.c:1248 jtag_validate_ircapture(): esp32.cpu1: IR capture 0x01 Debug: 269 69 openocd.c:148 handle_init_command(): Examining targets... Debug: 270 69 target.c:1589 target_call_event_callbacks(): target event 21 (examine-start) Debug: 271 69 esp32.c:904 esp32_handle_target_event(): esp32_handle_target_event 21 Debug: 272 69 target.c:1589 target_call_event_callbacks(): target event 22 (examine-end) Debug: 273 69 target.c:4457 target_handle_event(): target: (0) esp32 (esp32) event: 22 (examine-end) action: esp_smp_break_config Debug: 274 69 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 smpbreak BreakInOut RunStallIn Debug: 275 69 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 smpbreak BreakInOut RunStallIn Debug: 276 73 esp32.c:1633 xtensa_poll(): Stopped: CPU0: 1 CPU1: 1 Debug: 277 73 esp32.c:182 esp32_fetch_all_regs(): esp32: esp32_fetch_all_regs Debug: 278 98 esp32.c:1651 xtensa_poll(): cpu0: Target halted, pc=0x40000400, debug_reason=00000000, oldstate=00000001, active=true Debug: 279 98 esp32.c:1653 xtensa_poll(): cpu0: Halt reason=0x00000008, exc_cause=0, dsr=0x8000cc11 Debug: 280 99 esp32.c:1651 xtensa_poll(): cpu1: Target halted, pc=0x40000400, debug_reason=00000000, oldstate=00000001, active=false Debug: 281 99 esp32.c:1653 xtensa_poll(): cpu1: Halt reason=0x00000020, exc_cause=0, dsr=0x8080cc11 Info : 282 99 esp32.c:1693 xtensa_poll(): Target halted. PRO_CPU: PC=0x40000400 (active) APP_CPU: PC=0x40000400 Debug: 283 99 target.c:1589 target_call_event_callbacks(): target event 0 (gdb-halt) Debug: 284 99 esp32.c:904 esp32_handle_target_event(): esp32_handle_target_event 0 Debug: 285 99 target.c:1589 target_call_event_callbacks(): target event 1 (halted) Debug: 286 99 target.c:4457 target_handle_event(): target: (0) esp32 (esp32) event: 1 (halted) action: esp_core_halt esp32 Debug: 287 99 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF5F064 0x50D83AA1 Debug: 288 99 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF5F064 0x50D83AA1 Debug: 289 99 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF5F064 Debug: 290 101 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF5F048 0x0 Debug: 291 101 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF5F048 0x0 Debug: 292 101 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF5F048 Debug: 293 103 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF60064 0x50D83AA1 Debug: 294 103 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF60064 0x50D83AA1 Debug: 295 103 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF60064 Debug: 296 105 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF60048 0x0 Debug: 297 105 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF60048 0x0 Debug: 298 105 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF60048 Debug: 299 107 esp32.c:904 esp32_handle_target_event(): esp32_handle_target_event 1 Debug: 300 107 esp32.c:1547 esp32_read_cores_num(): Read cores number Debug: 301 107 esp32.c:619 xtensa_read_memory(): esp32: xtensa_read_memory: reading 4 bytes from addr 3FF00030 Debug: 302 109 esp32.c:1553 esp32_read_cores_num(): Read APP CPU ctrl reg 0x1 Debug: 303 109 esp32.c:1556 esp32_read_cores_num(): APP CPU enabled Debug: 304 109 esp32.c:1558 esp32_read_cores_num(): Detected 2 cores User : 306 111 command.c:544 command_print(): cpu0: Current bits set: BreakIn BreakOut RunStallIn User : 307 111 command.c:544 command_print(): cpu1: Current bits set: BreakIn BreakOut RunStallIn Debug: 308 111 esp32.c:904 esp32_handle_target_event(): esp32_handle_target_event 22 Debug: 309 111 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash init Debug: 310 111 command.c:143 script_debug(): command - ocd_flash ocd_flash init Debug: 312 117 tcl.c:1098 handle_flash_init_command(): Initializing flash devices... Debug: 313 117 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 314 117 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 315 117 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 316 117 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 317 117 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 318 117 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 319 117 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 320 117 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 321 117 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 322 117 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 323 117 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 324 117 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 325 117 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 326 117 command.c:364 register_command_handler(): registering 'ocd_flash'... Debug: 327 118 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_mflash init Debug: 328 118 command.c:143 script_debug(): command - ocd_mflash ocd_mflash init Debug: 330 125 mflash.c:1377 handle_mflash_init_command(): Initializing mflash devices... Debug: 331 125 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_nand init Debug: 332 125 command.c:143 script_debug(): command - ocd_nand ocd_nand init Debug: 334 132 tcl.c:495 handle_nand_init_command(): Initializing NAND devices... Debug: 335 132 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_pld init Debug: 336 132 command.c:143 script_debug(): command - ocd_pld ocd_pld init Debug: 338 139 pld.c:205 handle_pld_init_command(): Initializing PLDs... Debug: 339 141 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_reset init Debug: 340 141 command.c:143 script_debug(): command - reset ocd_reset init Debug: 342 148 target.c:1607 target_call_reset_callbacks(): target reset 3 (init) Debug: 343 148 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target names Debug: 344 148 command.c:143 script_debug(): command - ocd_target ocd_target names Debug: 345 148 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event reset-start Debug: 346 148 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event reset-start Debug: 347 148 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 348 148 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 349 148 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init-reset Debug: 350 148 command.c:143 script_debug(): command - ocd_jtag ocd_jtag arp_init-reset Debug: 351 148 core.c:1507 jtag_init_reset(): Initializing with hard TRST+SRST reset Debug: 352 148 core.c:742 jtag_add_reset(): JTAG reset with TLR instead of TRST Debug: 353 148 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 354 149 core.c:1399 jtag_init_inner(): Init JTAG chain Debug: 355 149 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 356 150 core.c:1060 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS Debug: 357 150 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Info : 358 151 core.c:959 jtag_examine_chain_display(): JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1) Info : 359 151 core.c:959 jtag_examine_chain_display(): JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1) Debug: 360 151 core.c:1190 jtag_validate_ircapture(): IR capture validation scan Debug: 361 152 core.c:1248 jtag_validate_ircapture(): esp32.cpu0: IR capture 0x01 Debug: 362 152 core.c:1248 jtag_validate_ircapture(): esp32.cpu1: IR capture 0x01 Debug: 363 152 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 364 152 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 365 152 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 cget -chain-position Debug: 366 152 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 cget -chain-position Debug: 367 152 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled esp32.cpu0 Debug: 368 152 command.c:143 script_debug(): command - ocd_jtag ocd_jtag tapisenabled esp32.cpu0 Debug: 369 152 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event examine-start Debug: 370 152 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event examine-start Debug: 371 152 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 arp_examine Debug: 372 152 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 arp_examine Debug: 373 153 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event examine-end Debug: 374 153 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event examine-end Debug: 375 153 target.c:4457 target_handle_event(): target: (0) esp32 (esp32) event: 22 (examine-end) action: esp_smp_break_config Debug: 376 153 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 smpbreak BreakInOut RunStallIn Debug: 377 153 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 smpbreak BreakInOut RunStallIn User : 379 154 command.c:544 command_print(): cpu0: Current bits set: BreakIn BreakOut RunStallIn User : 380 155 command.c:544 command_print(): cpu1: Current bits set: BreakIn BreakOut RunStallIn Debug: 381 155 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event reset-assert-pre Debug: 382 155 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event reset-assert-pre Debug: 383 155 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 384 155 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 385 155 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 cget -chain-position Debug: 386 155 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 cget -chain-position Debug: 387 155 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled esp32.cpu0 Debug: 388 155 command.c:143 script_debug(): command - ocd_jtag ocd_jtag tapisenabled esp32.cpu0 Debug: 389 155 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 arp_reset assert 1 Debug: 390 155 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 arp_reset assert 1 Debug: 391 155 target.c:2008 target_free_all_working_areas_restore(): freeing all working areas Debug: 392 155 target.c:2008 target_free_all_working_areas_restore(): freeing all working areas Debug: 393 155 esp108_common.c:466 esp32_soc_reset(): esp32_soc_reset 466 Debug: 394 155 esp32.c:619 xtensa_read_memory(): esp32: xtensa_read_memory: reading 76 bytes from addr 50000000 Debug: 395 157 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 76 bytes to addr 50000000 Debug: 396 159 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF48034 Debug: 397 161 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF48070 Debug: 398 163 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF480B0 Debug: 399 165 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF480B4 Debug: 400 167 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF48000 Info : 401 180 esp32.c:1581 xtensa_poll(): esp32: Debug controller was reset (pwrstat=0x5F, after clear 0x0F). Info : 402 180 esp32.c:1584 xtensa_poll(): esp32: Core was reset (pwrstat=0x5F, after clear 0x0F). Debug: 403 187 esp32.c:390 xtensa_halt(): xtensa_halt, target: esp32 Debug: 404 187 esp32.c:410 xtensa_halt(): Need to halt CPU 0 Debug: 405 195 esp32.c:1633 xtensa_poll(): Stopped: CPU0: 1 CPU1: 0 Debug: 406 195 esp32.c:182 esp32_fetch_all_regs(): esp32: esp32_fetch_all_regs Debug: 407 227 esp32.c:1651 xtensa_poll(): cpu0: Target halted, pc=0x5000004B, debug_reason=00000000, oldstate=00000001, active=true Debug: 408 227 esp32.c:1653 xtensa_poll(): cpu0: Halt reason=0x00000020, exc_cause=0, dsr=0x80200010 Debug: 409 228 esp32.c:1651 xtensa_poll(): cpu1: Target halted, pc=0x00000000, debug_reason=00000000, oldstate=00000001, active=false Debug: 410 228 esp32.c:1653 xtensa_poll(): cpu1: Halt reason=0x00000000, exc_cause=0, dsr=0x00000000 Info : 411 228 esp32.c:1693 xtensa_poll(): Target halted. PRO_CPU: PC=0x5000004B (active) APP_CPU: PC=0x00000000 Debug: 412 228 target.c:1589 target_call_event_callbacks(): target event 0 (gdb-halt) Debug: 413 229 esp32.c:904 esp32_handle_target_event(): esp32_handle_target_event 0 Debug: 414 229 target.c:1589 target_call_event_callbacks(): target event 1 (halted) Debug: 415 229 target.c:4457 target_handle_event(): target: (0) esp32 (esp32) event: 1 (halted) action: esp_core_halt esp32 Debug: 416 229 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF5F064 0x50D83AA1 Debug: 417 229 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF5F064 0x50D83AA1 Debug: 418 229 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF5F064 Debug: 419 231 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF5F048 0x0 Debug: 420 231 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF5F048 0x0 Debug: 421 232 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF5F048 Debug: 422 233 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF60064 0x50D83AA1 Debug: 423 233 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF60064 0x50D83AA1 Debug: 424 234 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF60064 Debug: 425 236 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF60048 0x0 Debug: 426 236 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF60048 0x0 Debug: 427 236 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF60048 Debug: 428 238 esp32.c:904 esp32_handle_target_event(): esp32_handle_target_event 1 Debug: 429 238 esp32.c:1547 esp32_read_cores_num(): Read cores number Debug: 430 238 esp32.c:619 xtensa_read_memory(): esp32: xtensa_read_memory: reading 4 bytes from addr 3FF00030 Debug: 431 241 esp32.c:1553 esp32_read_cores_num(): Read APP CPU ctrl reg 0x0 Debug: 432 241 esp32.c:1558 esp32_read_cores_num(): Detected 1 cores Debug: 433 241 target.c:2076 target_arch_state(): esp32: target state: halted Debug: 434 241 esp32.c:1738 xtensa_arch_state(): xtensa_arch_state Debug: 435 243 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF48034 Debug: 436 245 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF00038 Debug: 437 249 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF00030 Debug: 438 250 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF0002C Debug: 439 252 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 76 bytes to addr 50000000 Debug: 440 255 FreeRTOS.c:683 FreeRTOS_post_reset_cleanup(): FreeRTOS_post_reset_cleanup Debug: 441 255 esp108_common.c:616 esp32_soc_reset(): esp32_soc_reset 616 Debug: 442 255 esp32.c:827 xtensa_assert_reset(): xtensa_assert_reset[esp32] coreid=0, target_number=0, begin Debug: 443 256 esp32.c:390 xtensa_halt(): xtensa_halt, target: esp32 Debug: 444 257 esp32.c:410 xtensa_halt(): Need to halt CPU 0 Debug: 445 258 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event reset-assert-post Debug: 446 258 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event reset-assert-post Debug: 447 258 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event reset-deassert-pre Debug: 448 258 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event reset-deassert-pre Debug: 449 258 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 450 258 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 451 258 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 cget -chain-position Debug: 452 258 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 cget -chain-position Debug: 453 258 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled esp32.cpu0 Debug: 454 258 command.c:143 script_debug(): command - ocd_jtag ocd_jtag tapisenabled esp32.cpu0 Debug: 455 259 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 arp_reset deassert 1 Debug: 456 259 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 arp_reset deassert 1 Debug: 457 259 target.c:2008 target_free_all_working_areas_restore(): freeing all working areas Debug: 458 259 target.c:2008 target_free_all_working_areas_restore(): freeing all working areas Debug: 459 260 esp32.c:868 xtensa_smpbreak_set(): xtensa_smpbreak_set[esp32] set smpbreak=2293760, state=3 Debug: 460 260 esp32.c:881 xtensa_deassert_reset(): xtensa_deassert_reset begin reset_halt=1 Debug: 461 261 esp32.c:894 xtensa_deassert_reset(): xtensa_deassert_reset[esp32] begin reset_halt=1, state=3 Debug: 462 261 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event reset-deassert-post Debug: 463 262 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event reset-deassert-post Debug: 464 262 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 465 262 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 466 262 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 cget -chain-position Debug: 467 262 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 cget -chain-position Debug: 468 262 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled esp32.cpu0 Debug: 469 262 command.c:143 script_debug(): command - ocd_jtag ocd_jtag tapisenabled esp32.cpu0 Debug: 470 262 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 arp_waitstate halted 1000 Debug: 471 262 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 arp_waitstate halted 1000 Info : 472 265 esp32.c:1584 xtensa_poll(): esp32: Core was reset (pwrstat=0x1F, after clear 0x0F). Debug: 473 271 esp32.c:1633 xtensa_poll(): Stopped: CPU0: 1 CPU1: 1 Debug: 474 271 esp32.c:182 esp32_fetch_all_regs(): esp32: esp32_fetch_all_regs Debug: 475 304 esp32.c:1651 xtensa_poll(): cpu0: Target halted, pc=0x40000400, debug_reason=00000000, oldstate=00000001, active=true Debug: 476 304 esp32.c:1653 xtensa_poll(): cpu0: Halt reason=0x00000020, exc_cause=0, dsr=0x8031cc11 Debug: 477 305 esp32.c:1651 xtensa_poll(): cpu1: Target halted, pc=0x40000400, debug_reason=00000000, oldstate=00000001, active=false Debug: 478 305 esp32.c:1653 xtensa_poll(): cpu1: Halt reason=0x00000020, exc_cause=0, dsr=0x80b00010 Info : 479 305 esp32.c:1693 xtensa_poll(): Target halted. PRO_CPU: PC=0x40000400 (active) APP_CPU: PC=0x40000400 Debug: 480 305 target.c:1589 target_call_event_callbacks(): target event 0 (gdb-halt) Debug: 481 305 esp32.c:904 esp32_handle_target_event(): esp32_handle_target_event 0 Debug: 482 305 target.c:1589 target_call_event_callbacks(): target event 1 (halted) Debug: 483 305 target.c:4457 target_handle_event(): target: (0) esp32 (esp32) event: 1 (halted) action: esp_core_halt esp32 Debug: 484 305 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF5F064 0x50D83AA1 Debug: 485 305 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF5F064 0x50D83AA1 Debug: 486 306 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF5F064 Debug: 487 308 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF5F048 0x0 Debug: 488 308 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF5F048 0x0 Debug: 489 308 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF5F048 Debug: 490 313 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF60064 0x50D83AA1 Debug: 491 313 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF60064 0x50D83AA1 Debug: 492 313 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF60064 Debug: 493 317 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF60048 0x0 Debug: 494 317 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF60048 0x0 Debug: 495 317 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF60048 Debug: 496 320 esp32.c:904 esp32_handle_target_event(): esp32_handle_target_event 1 Debug: 497 320 esp32.c:1547 esp32_read_cores_num(): Read cores number Debug: 498 320 esp32.c:619 xtensa_read_memory(): esp32: xtensa_read_memory: reading 4 bytes from addr 3FF00030 Debug: 499 323 esp32.c:1553 esp32_read_cores_num(): Read APP CPU ctrl reg 0x1 Debug: 500 323 esp32.c:1556 esp32_read_cores_num(): APP CPU enabled Debug: 501 323 esp32.c:1558 esp32_read_cores_num(): Detected 2 cores Debug: 502 323 target.c:2076 target_arch_state(): esp32: target state: halted Debug: 503 323 esp32.c:1738 xtensa_arch_state(): xtensa_arch_state Debug: 504 325 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 curstate Debug: 505 325 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 curstate Debug: 506 325 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 507 325 command.c:143 script_debug(): command - ocd_transport ocd_transport select Debug: 508 325 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 cget -chain-position Debug: 509 325 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 cget -chain-position Debug: 510 325 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled esp32.cpu0 Debug: 511 326 command.c:143 script_debug(): command - ocd_jtag ocd_jtag tapisenabled esp32.cpu0 Debug: 512 326 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 arp_waitstate halted 5000 Debug: 513 326 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 arp_waitstate halted 5000 Debug: 514 342 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event reset-init Debug: 515 342 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event reset-init Debug: 516 342 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event reset-end Debug: 517 342 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event reset-end Debug: 518 348 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_echo ** Programming Started ** Debug: 519 348 command.c:143 script_debug(): command - echo ocd_echo ** Programming Started ** User : 521 355 command.c:762 jim_echo(): ** Programming Started ** Debug: 522 355 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash write_image erase bootloader.bin 0x1000 Debug: 523 355 command.c:143 script_debug(): command - ocd_flash ocd_flash write_image erase bootloader.bin 0x1000 User : 525 361 command.c:544 command_print(): auto erase enabled Debug: 526 361 configuration.c:82 find_file(): found bootloader.bin Debug: 527 361 configuration.c:82 find_file(): found bootloader.bin Debug: 528 361 esp32.c:630 esp32_probe(): Flash size = 0 KB @ 0x0 'esp32' - 'halted' Debug: 529 361 esp32.c:2268 esp32_run_do(): Set arg[0] = 5 Debug: 530 361 esp32.c:2276 esp32_run_do(): Set arg[1] = 0 Debug: 531 361 esp32.c:1863 esp32_stub_load(): stub: base 0x320035, start 0x40090860, 2 sections Debug: 532 361 esp32.c:1867 esp32_stub_load(): addr 0, sz 5879, flags 1 Debug: 533 361 target.c:1809 alloc_working_area_try_do(): MMU disabled, using physical address for working memory 0x40090000 Debug: 534 361 target.c:1862 alloc_working_area_try_do(): allocated new working area of 5880 bytes at address 0x40090000 Debug: 535 361 esp32.c:619 xtensa_read_memory(): esp32: xtensa_read_memory: reading 5880 bytes from addr 40090000 Debug: 536 411 target.c:1725 print_wa_layout(): b* 0x40090000-0x400916f7 (5880 bytes) Debug: 537 411 target.c:1725 print_wa_layout(): 0x400916f8-0x400933ff (7432 bytes) Debug: 538 411 target.c:2175 target_write_buffer(): writing buffer of 512 byte at 0x40090000 Debug: 539 411 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 512 bytes to addr 40090000 Debug: 540 417 target.c:2175 target_write_buffer(): writing buffer of 512 byte at 0x40090200 Debug: 541 417 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 512 bytes to addr 40090200 Debug: 542 423 target.c:2175 target_write_buffer(): writing buffer of 512 byte at 0x40090400 Debug: 543 423 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 512 bytes to addr 40090400 Debug: 544 429 target.c:2175 target_write_buffer(): writing buffer of 512 byte at 0x40090600 Debug: 545 429 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 512 bytes to addr 40090600 Debug: 546 436 target.c:2175 target_write_buffer(): writing buffer of 512 byte at 0x40090800 Debug: 547 436 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 512 bytes to addr 40090800 Debug: 548 442 target.c:2175 target_write_buffer(): writing buffer of 512 byte at 0x40090a00 Debug: 549 442 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 512 bytes to addr 40090A00 Debug: 550 448 target.c:2175 target_write_buffer(): writing buffer of 512 byte at 0x40090c00 Debug: 551 449 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 512 bytes to addr 40090C00 Debug: 552 455 target.c:2175 target_write_buffer(): writing buffer of 512 byte at 0x40090e00 Debug: 553 455 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 512 bytes to addr 40090E00 Debug: 554 461 target.c:2175 target_write_buffer(): writing buffer of 512 byte at 0x40091000 Debug: 555 461 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 512 bytes to addr 40091000 Debug: 556 466 target.c:2175 target_write_buffer(): writing buffer of 512 byte at 0x40091200 Debug: 557 466 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 512 bytes to addr 40091200 Debug: 558 473 target.c:2175 target_write_buffer(): writing buffer of 512 byte at 0x40091400 Debug: 559 473 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 512 bytes to addr 40091400 Debug: 560 478 target.c:2175 target_write_buffer(): writing buffer of 247 byte at 0x40091600 Debug: 561 478 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 247 bytes to addr 40091600 Debug: 562 484 esp32.c:1867 esp32_stub_load(): addr 0, sz 60, flags 0 Debug: 563 484 target.c:1809 alloc_working_area_try_do(): MMU disabled, using physical address for working memory 0x3ffc0000 Debug: 564 484 target.c:1862 alloc_working_area_try_do(): allocated new working area of 124 bytes at address 0x3ffc0000 Debug: 565 484 esp32.c:619 xtensa_read_memory(): esp32: xtensa_read_memory: reading 124 bytes from addr 3FFC0000 Debug: 566 486 target.c:1725 print_wa_layout(): b* 0x3ffc0000-0x3ffc007b (124 bytes) Debug: 567 486 target.c:1725 print_wa_layout(): 0x3ffc007c-0x3ffc5fff (24452 bytes) Debug: 568 486 target.c:2175 target_write_buffer(): writing buffer of 60 byte at 0x3ffc0000 Debug: 569 486 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 60 bytes to addr 3FFC0000 Debug: 570 488 target.c:1862 alloc_working_area_try_do(): allocated new working area of 28 bytes at address 0x400916f8 Debug: 571 488 esp32.c:619 xtensa_read_memory(): esp32: xtensa_read_memory: reading 28 bytes from addr 400916F8 Debug: 572 490 target.c:1725 print_wa_layout(): b* 0x40090000-0x400916f7 (5880 bytes) Debug: 573 490 target.c:1725 print_wa_layout(): b* 0x400916f8-0x40091713 (28 bytes) Debug: 574 490 target.c:1725 print_wa_layout(): 0x40091714-0x400933ff (7404 bytes) Debug: 575 490 target.c:1862 alloc_working_area_try_do(): allocated new working area of 1300 bytes at address 0x3ffc007c Debug: 576 490 esp32.c:619 xtensa_read_memory(): esp32: xtensa_read_memory: reading 1300 bytes from addr 3FFC007C Debug: 577 503 target.c:1725 print_wa_layout(): b* 0x3ffc0000-0x3ffc007b (124 bytes) Debug: 578 503 target.c:1725 print_wa_layout(): b* 0x3ffc007c-0x3ffc058f (1300 bytes) Debug: 579 503 target.c:1725 print_wa_layout(): 0x3ffc0590-0x3ffc5fff (23152 bytes) Debug: 580 503 target.c:2175 target_write_buffer(): writing buffer of 28 byte at 0x400916f8 Debug: 581 503 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 28 bytes to addr 400916F8 Debug: 582 505 esp32.c:2058 esp32_algo_run(): Stub loaded in 144.015 ms Debug: 583 505 esp32.c:1837 esp32_algo_args_init(): Check stack addr 0x3ffc0590 Debug: 584 505 target.c:1862 alloc_working_area_try_do(): allocated new working area of 28 bytes at address 0x3ffc0590 Debug: 585 505 esp32.c:619 xtensa_read_memory(): esp32: xtensa_read_memory: reading 28 bytes from addr 3FFC0590 Debug: 586 507 target.c:1725 print_wa_layout(): b* 0x3ffc0000-0x3ffc007b (124 bytes) Debug: 587 507 target.c:1725 print_wa_layout(): b* 0x3ffc007c-0x3ffc058f (1300 bytes) Debug: 588 507 target.c:1725 print_wa_layout(): b* 0x3ffc0590-0x3ffc05ab (28 bytes) Debug: 589 507 target.c:1725 print_wa_layout(): 0x3ffc05ac-0x3ffc5fff (23124 bytes) Debug: 590 507 esp32.c:2130 esp32_algo_run(): Algorithm start @ 0x400916f8, stack 1300 bytes @ 0x3ffc0590 Debug: 591 507 esp32.c:529 xtensa_resume_active_cpu(): esp32: xtensa_resume_active_cpu current=0 address=400916f8 Debug: 592 507 esp32.c:309 esp32_write_dirty_registers(): cpu0: esp32_write_dirty_registers Debug: 593 507 esp32.c:318 esp32_write_dirty_registers(): cpu0: Writing back reg pc val 400916F8 Debug: 594 507 esp32.c:318 esp32_write_dirty_registers(): cpu0: Writing back reg ps val 00060025 Debug: 595 507 esp32.c:354 esp32_write_dirty_registers(): cpu0: Writing back reg a1 value 3FFC0580, num =2 Debug: 596 507 esp32.c:354 esp32_write_dirty_registers(): cpu0: Writing back reg a2 value 00000005, num =3 Debug: 597 507 esp32.c:354 esp32_write_dirty_registers(): cpu0: Writing back reg a3 value 3FFC0590, num =4 Debug: 598 507 esp32.c:354 esp32_write_dirty_registers(): cpu0: Writing back reg a8 value 40090860, num =9 Debug: 599 509 esp32.c:309 esp32_write_dirty_registers(): cpu1: esp32_write_dirty_registers Debug: 600 509 esp32.c:354 esp32_write_dirty_registers(): cpu1: Writing back reg a3 value 00000000, num =4 Debug: 601 513 esp32.c:2150 esp32_algo_run(): Wait algorithm completion Debug: 602 518 esp32.c:1633 xtensa_poll(): Stopped: CPU0: 1 CPU1: 1 Debug: 603 518 esp32.c:182 esp32_fetch_all_regs(): esp32: esp32_fetch_all_regs Debug: 604 547 esp32.c:1651 xtensa_poll(): cpu0: Target halted, pc=0x4009170E, debug_reason=00000000, oldstate=00000004, active=true Debug: 605 547 esp32.c:1653 xtensa_poll(): cpu0: Halt reason=0x00000008, exc_cause=0, dsr=0x8000cc11 Debug: 606 549 esp32.c:1651 xtensa_poll(): cpu1: Target halted, pc=0x40000400, debug_reason=00000000, oldstate=00000004, active=false Debug: 607 549 esp32.c:1653 xtensa_poll(): cpu1: Halt reason=0x00000020, exc_cause=0, dsr=0x8091cc11 Info : 608 549 esp32.c:1693 xtensa_poll(): Target halted. PRO_CPU: PC=0x4009170E (active) APP_CPU: PC=0x40000400 Debug: 609 549 target.c:1589 target_call_event_callbacks(): target event 19 (debug-halted) Debug: 610 549 esp32.c:904 esp32_handle_target_event(): esp32_handle_target_event 19 Debug: 611 551 esp108_common.c:375 xtensa_wait_algorithm_generic(): Read mem params Debug: 612 551 esp108_common.c:377 xtensa_wait_algorithm_generic(): Check mem param @ 0x3ffc0590 Debug: 613 551 esp108_common.c:379 xtensa_wait_algorithm_generic(): Read mem param @ 0x3ffc0590 Debug: 614 551 target.c:2236 target_read_buffer(): reading buffer of 28 byte at 0x3ffc0590 Debug: 615 551 esp32.c:619 xtensa_read_memory(): esp32: xtensa_read_memory: reading 28 bytes from addr 3FFC0590 Debug: 616 553 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register a13: 0x3ff60000 -> 0x00000000 Debug: 617 553 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register a10: 0xffffffff -> 0x00000000 Debug: 618 553 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register a9: 0x3ffc04f0 -> 0x00000000 Debug: 619 553 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register a8: 0x8009170c -> 0x00000000 Debug: 620 553 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register a3: 0x3ffc0590 -> 0x00000000 Debug: 621 553 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register a2: 0xffffffff -> 0x00000000 Debug: 622 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register a1: 0x3ffc0580 -> 0x00000000 Debug: 623 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ccount: 0x18c6 -> 0x00000004 Debug: 624 554 esp108_common.c:410 xtensa_wait_algorithm_generic(): Skip restoring register debugcause: 0x8 -> 0x00000020 Debug: 625 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register eps6: 0x60025 -> 0x0000001f Debug: 626 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register epc6: 0x4009170e -> 0x40000400 Debug: 627 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ps: 0x60025 -> 0x0000001f Debug: 628 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register sar: 0x19 -> 0x00000000 Debug: 629 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register lcount: 0xffffffff -> 0x00000000 Debug: 630 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register lend: 0x4000c477 -> 0x00000000 Debug: 631 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register lbeg: 0x4000c46c -> 0x00000000 Debug: 632 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar46: 0xffff -> 0x00000000 Debug: 633 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar45: 0x3ffae270 -> 0x00000000 Debug: 634 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar44: 0x8000000 -> 0x00000000 Debug: 635 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar43: 0x3ff42000 -> 0x00000000 Debug: 636 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar42: 0x3ff42010 -> 0x00000000 Debug: 637 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar41: 0x2 -> 0x00000000 Debug: 638 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar40: 0x2 -> 0x00000000 Debug: 639 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar38: 0x3ffae270 -> 0x00000000 Debug: 640 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar37: 0x40000 -> 0x00000000 Debug: 641 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar36: 0x80000040 -> 0x00000000 Debug: 642 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar35: 0x70000000 -> 0x00000000 Debug: 643 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar33: 0x1002000 -> 0x00000000 Debug: 644 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar32: 0x80000040 -> 0x00000000 Debug: 645 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar30: 0x1 -> 0x00000000 Debug: 646 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar29: 0x8140 -> 0x00000000 Debug: 647 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar28: 0x140 -> 0x00000000 Debug: 648 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar27: 0x3ffc0360 -> 0x00000000 Debug: 649 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar26: 0x8ff -> 0x00000000 Debug: 650 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar25: 0x3ff00044 -> 0x00000000 Debug: 651 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar24: 0x8c0 -> 0x00000000 Debug: 652 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar23: 0xffff -> 0x00000000 Debug: 653 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar22: 0x100 -> 0x00000000 Debug: 654 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar21: 0x1000000 -> 0x00000000 Debug: 655 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar20: 0x200 -> 0x00000000 Debug: 656 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar19: 0x8ff -> 0x00000000 Debug: 657 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar17: 0x3ffc04d0 -> 0x00000000 Debug: 658 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar13: 0x3ff60000 -> 0x00000000 Debug: 659 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar10: 0xffffffff -> 0x00000000 Debug: 660 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar9: 0x3ffc04f0 -> 0x00000000 Debug: 661 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar8: 0x8009170c -> 0x00000000 Debug: 662 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar3: 0x3ffc0590 -> 0x00000000 Debug: 663 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar2: 0xffffffff -> 0x00000000 Debug: 664 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register ar1: 0x3ffc0580 -> 0x00000000 Debug: 665 554 esp108_common.c:418 xtensa_wait_algorithm_generic(): restoring register pc: 0x4009170e -> 0x40000400 Debug: 666 554 esp32.c:309 esp32_write_dirty_registers(): cpu0: esp32_write_dirty_registers Debug: 667 554 esp32.c:318 esp32_write_dirty_registers(): cpu0: Writing back reg pc val 40000400 Debug: 668 554 esp32.c:318 esp32_write_dirty_registers(): cpu0: Writing back reg lbeg val 00000000 Debug: 669 554 esp32.c:318 esp32_write_dirty_registers(): cpu0: Writing back reg lend val 00000000 Debug: 670 554 esp32.c:318 esp32_write_dirty_registers(): cpu0: Writing back reg lcount val 00000000 Debug: 671 554 esp32.c:318 esp32_write_dirty_registers(): cpu0: Writing back reg sar val 00000000 Debug: 672 554 esp32.c:318 esp32_write_dirty_registers(): cpu0: Writing back reg ps val 0000001F Debug: 673 554 esp32.c:318 esp32_write_dirty_registers(): cpu0: Writing back reg epc6 val 40000400 Debug: 674 554 esp32.c:318 esp32_write_dirty_registers(): cpu0: Writing back reg eps6 val 0000001F Debug: 675 555 esp32.c:318 esp32_write_dirty_registers(): cpu0: Writing back reg ccount val 00000004 Debug: 676 555 esp32.c:354 esp32_write_dirty_registers(): cpu0: Writing back reg a1 value 00000000, num =2 Debug: 677 555 esp32.c:354 esp32_write_dirty_registers(): cpu0: Writing back reg a2 value 00000000, num =3 Debug: 678 555 esp32.c:354 esp32_write_dirty_registers(): cpu0: Writing back reg a3 value 00000000, num =4 Debug: 679 555 esp32.c:354 esp32_write_dirty_registers(): cpu0: Writing back reg a8 value 00000000, num =9 Debug: 680 555 esp32.c:354 esp32_write_dirty_registers(): cpu0: Writing back reg a9 value 00000000, num =10 Debug: 681 555 esp32.c:354 esp32_write_dirty_registers(): cpu0: Writing back reg a10 value 00000000, num =11 Debug: 682 555 esp32.c:354 esp32_write_dirty_registers(): cpu0: Writing back reg a13 value 00000000, num =14 Debug: 683 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar1 value 00000000, num =1 Debug: 684 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar2 value 00000000, num =2 Debug: 685 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar3 value 00000000, num =3 Debug: 686 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar8 value 00000000, num =8 Debug: 687 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar9 value 00000000, num =9 Debug: 688 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar10 value 00000000, num =10 Debug: 689 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar13 value 00000000, num =13 Debug: 690 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar17 value 00000000, num =17 Debug: 691 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar19 value 00000000, num =19 Debug: 692 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar20 value 00000000, num =20 Debug: 693 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar21 value 00000000, num =21 Debug: 694 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar22 value 00000000, num =22 Debug: 695 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar23 value 00000000, num =23 Debug: 696 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar24 value 00000000, num =24 Debug: 697 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar25 value 00000000, num =25 Debug: 698 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar26 value 00000000, num =26 Debug: 699 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar27 value 00000000, num =27 Debug: 700 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar28 value 00000000, num =28 Debug: 701 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar29 value 00000000, num =29 Debug: 702 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar30 value 00000000, num =30 Debug: 703 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar32 value 00000000, num =32 Debug: 704 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar33 value 00000000, num =33 Debug: 705 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar35 value 00000000, num =35 Debug: 706 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar36 value 00000000, num =36 Debug: 707 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar37 value 00000000, num =37 Debug: 708 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar38 value 00000000, num =38 Debug: 709 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar40 value 00000000, num =40 Debug: 710 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar41 value 00000000, num =41 Debug: 711 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar42 value 00000000, num =42 Debug: 712 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar43 value 00000000, num =43 Debug: 713 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar44 value 00000000, num =44 Debug: 714 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar45 value 00000000, num =45 Debug: 715 555 esp32.c:369 esp32_write_dirty_registers(): cpu0: Writing back reg ar46 value 00000000, num =46 Debug: 716 559 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 28 bytes to addr 3FFC0590 Debug: 717 561 target.c:1950 target_free_working_area_restore(): freed 28 bytes of working area at address 0x3ffc0590 Debug: 718 561 target.c:1725 print_wa_layout(): b* 0x3ffc0000-0x3ffc007b (124 bytes) Debug: 719 561 target.c:1725 print_wa_layout(): b* 0x3ffc007c-0x3ffc058f (1300 bytes) Debug: 720 561 target.c:1725 print_wa_layout(): 0x3ffc0590-0x3ffc5fff (23152 bytes) Debug: 721 561 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 28 bytes to addr 400916F8 Debug: 722 563 target.c:1950 target_free_working_area_restore(): freed 28 bytes of working area at address 0x400916f8 Debug: 723 563 target.c:1725 print_wa_layout(): b* 0x40090000-0x400916f7 (5880 bytes) Debug: 724 563 target.c:1725 print_wa_layout(): 0x400916f8-0x400933ff (7432 bytes) Debug: 725 563 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 1300 bytes to addr 3FFC007C Debug: 726 575 target.c:1950 target_free_working_area_restore(): freed 1300 bytes of working area at address 0x3ffc007c Debug: 727 575 target.c:1725 print_wa_layout(): b* 0x3ffc0000-0x3ffc007b (124 bytes) Debug: 728 575 target.c:1725 print_wa_layout(): 0x3ffc007c-0x3ffc5fff (24452 bytes) Debug: 729 575 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 5880 bytes to addr 40090000 Debug: 730 628 target.c:1950 target_free_working_area_restore(): freed 5880 bytes of working area at address 0x40090000 Debug: 731 628 target.c:1725 print_wa_layout(): 0x40090000-0x400933ff (13312 bytes) Debug: 732 628 esp32.c:704 xtensa_write_memory(): esp32: xtensa_write_memory: writing 124 bytes to addr 3FFC0000 Debug: 733 630 target.c:1950 target_free_working_area_restore(): freed 124 bytes of working area at address 0x3ffc0000 Debug: 734 630 target.c:1725 print_wa_layout(): 0x3ffc0000-0x3ffc5fff (24576 bytes) Debug: 735 630 esp32.c:2287 esp32_run_do(): Got algorithm RC ffffffff Error: 736 630 esp32.c:294 esp32_get_mappings(): Failed to get flash maps (-1)! Error: 737 630 esp32.c:639 esp32_probe(): Failed to get flash mappings (-4)! Error: 738 630 core.c:240 get_flash_bank_by_addr(): auto_probe failed Debug: 739 630 command.c:626 run_command(): Command failed with error code -4 Debug: 740 630 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_echo ** Programming Failed ** Debug: 741 630 command.c:143 script_debug(): command - echo ocd_echo ** Programming Failed ** User : 744 636 command.c:762 jim_echo(): ** Programming Failed ** Debug: 745 637 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_shutdown error Debug: 746 637 command.c:143 script_debug(): command - shutdown ocd_shutdown error User : 748 641 server.c:630 handle_shutdown_command(): shutdown command invoked Debug: 749 641 command.c:626 run_command(): Command failed with error code -4 User : 750 641 command.c:687 command_run_line():