Skip to content

Instantly share code, notes, and snippets.

@benjamind
Created October 28, 2017 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benjamind/d7381f99e9d0527a7b379062b7e88ce7 to your computer and use it in GitHub Desktop.
Save benjamind/d7381f99e9d0527a7b379062b7e88ce7 to your computer and use it in GitHub Desktop.
Debug: 17 3 options.c:96 add_default_dirs(): bindir=/builds/6694ddf5/0/idf/openocd-esp32/openocd-esp32/bin
Debug: 18 3 options.c:97 add_default_dirs(): pkgdatadir=/builds/6694ddf5/0/idf/openocd-esp32/openocd-esp32/share/openocd
Debug: 19 3 options.c:98 add_default_dirs(): run_prefix=D:/Tools/openocd-esp32/bin
Debug: 20 3 configuration.c:42 add_script_search_dir(): adding C:\msys32\home\ben/.openocd
Debug: 21 3 configuration.c:42 add_script_search_dir(): adding C:\Users\ben\AppData\Roaming/OpenOCD
Debug: 22 3 configuration.c:42 add_script_search_dir(): adding D:/Tools/openocd-esp32/bin/builds/6694ddf5/0/idf/openocd-esp32/openocd-esp32/share/openocd/site
Debug: 23 3 configuration.c:42 add_script_search_dir(): adding D:/Tools/openocd-esp32/bin/builds/6694ddf5/0/idf/openocd-esp32/openocd-esp32/share/openocd/scripts
Debug: 24 4 configuration.c:82 find_file(): found share/openocd/scripts/interface/ftdi/tumpa.cfg
Debug: 25 5 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_interface ftdi
Debug: 26 5 command.c:143 script_debug(): command - interface ocd_interface ftdi
Debug: 28 5 command.c:364 register_command_handler(): registering 'ocd_ftdi_device_desc'...
Debug: 29 5 command.c:364 register_command_handler(): registering 'ocd_ftdi_serial'...
Debug: 30 5 command.c:364 register_command_handler(): registering 'ocd_ftdi_location'...
Debug: 31 5 command.c:364 register_command_handler(): registering 'ocd_ftdi_channel'...
Debug: 32 5 command.c:364 register_command_handler(): registering 'ocd_ftdi_layout_init'...
Debug: 33 5 command.c:364 register_command_handler(): registering 'ocd_ftdi_layout_signal'...
Debug: 34 5 command.c:364 register_command_handler(): registering 'ocd_ftdi_set_signal'...
Debug: 35 5 command.c:364 register_command_handler(): registering 'ocd_ftdi_get_signal'...
Debug: 36 5 command.c:364 register_command_handler(): registering 'ocd_ftdi_vid_pid'...
Debug: 37 5 command.c:364 register_command_handler(): registering 'ocd_ftdi_tdo_sample_edge'...
Debug: 38 5 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_ftdi_vid_pid 0x0403 0x8a98 0x0403 0x6010
Debug: 39 5 command.c:143 script_debug(): command - ftdi_vid_pid ocd_ftdi_vid_pid 0x0403 0x8a98 0x0403 0x6010
Debug: 41 5 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_init 0x0038 0x087b
Debug: 42 6 command.c:143 script_debug(): command - ftdi_layout_init ocd_ftdi_layout_init 0x0038 0x087b
Debug: 44 6 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nTRST -data 0x0020
Debug: 45 6 command.c:143 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nTRST -data 0x0020
Debug: 47 6 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nSRST -data 0x0010
Debug: 48 6 command.c:143 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nSRST -data 0x0010
Debug: 50 6 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_push_pull
Debug: 51 6 command.c:143 script_debug(): command - reset_config ocd_reset_config srst_push_pull
User : 53 6 command.c:544 command_print(): none separate
Debug: 54 6 configuration.c:82 find_file(): found share/openocd/scripts/board/esp-wroom-32.cfg
Debug: 55 6 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select jtag
Debug: 56 6 command.c:143 script_debug(): command - ocd_transport ocd_transport select jtag
Debug: 57 7 command.c:364 register_command_handler(): registering 'ocd_jtag_flush_queue_sleep'...
Debug: 58 7 command.c:364 register_command_handler(): registering 'ocd_jtag_rclk'...
Debug: 59 7 command.c:364 register_command_handler(): registering 'ocd_jtag_ntrst_delay'...
Debug: 60 7 command.c:364 register_command_handler(): registering 'ocd_jtag_ntrst_assert_width'...
Debug: 61 7 command.c:364 register_command_handler(): registering 'ocd_scan_chain'...
Debug: 62 7 command.c:364 register_command_handler(): registering 'ocd_jtag_reset'...
Debug: 63 7 command.c:364 register_command_handler(): registering 'ocd_runtest'...
Debug: 64 7 command.c:364 register_command_handler(): registering 'ocd_irscan'...
Debug: 65 7 command.c:364 register_command_handler(): registering 'ocd_verify_ircapture'...
Debug: 66 7 command.c:364 register_command_handler(): registering 'ocd_verify_jtag'...
Debug: 67 7 command.c:364 register_command_handler(): registering 'ocd_tms_sequence'...
Debug: 68 7 command.c:364 register_command_handler(): registering 'ocd_wait_srst_deassert'...
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_jtag'...
Debug: 74 7 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 75 7 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 76 7 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 77 7 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 78 7 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 79 7 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 80 7 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 81 7 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 82 7 command.c:364 register_command_handler(): registering 'ocd_svf'...
Debug: 83 7 command.c:364 register_command_handler(): registering 'ocd_xsvf'...
Debug: 84 8 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 20000
Debug: 85 8 command.c:143 script_debug(): command - adapter_khz ocd_adapter_khz 20000
Debug: 87 8 core.c:1631 jtag_config_khz(): handle jtag khz
Debug: 88 8 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 89 8 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 90 8 command.c:544 command_print(): adapter speed: 20000 kHz
Debug: 91 8 configuration.c:82 find_file(): found share/openocd/scripts/target/esp32.cfg
Debug: 92 8 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap esp32 cpu0 -irlen 5 -expected-id 0x120034e5
Debug: 93 8 command.c:143 script_debug(): command - ocd_jtag ocd_jtag newtap esp32 cpu0 -irlen 5 -expected-id 0x120034e5
Debug: 94 8 tcl.c:549 jim_newtap_cmd(): Creating New Tap, Chip: esp32, Tap: cpu0, Dotted: esp32.cpu0, 4 params
Debug: 95 8 tcl.c:573 jim_newtap_cmd(): Processing option: -irlen
Debug: 96 8 tcl.c:573 jim_newtap_cmd(): Processing option: -expected-id
Debug: 97 8 core.c:1304 jtag_tap_init(): Created Tap: esp32.cpu0 @ abs position 0, irlen 5, capture: 0x1 mask: 0x3
Debug: 98 9 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: 99 9 command.c:143 script_debug(): command - ocd_target ocd_target create esp32 esp32 -endian little -chain-position esp32.cpu0 -rtos FreeRTOS
Debug: 100 9 target.c:1973 target_free_all_working_areas_restore(): freeing all working areas
Debug: 101 9 target.c:1973 target_free_all_working_areas_restore(): freeing all working areas
Debug: 102 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 103 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 104 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 105 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 106 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 107 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 108 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 109 9 core.c:1304 jtag_tap_init(): Created Tap: esp32.cpu1 @ abs position 1, irlen 5, capture: 0x1 mask: 0x3
Debug: 110 9 command.c:399 register_command(): command 'esp32' is already registered in '<global>' context
Debug: 111 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 112 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 113 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 114 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 115 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 116 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 117 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 118 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 119 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 120 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 121 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 122 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 123 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 124 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 125 9 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 126 10 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 127 10 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 128 10 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 129 10 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 130 10 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 131 10 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 132 10 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 133 10 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 134 10 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 135 10 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 136 10 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 137 10 command.c:364 register_command_handler(): registering 'ocd_esp32'...
Debug: 138 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 configure -event halted esp_core_halt esp32
Debug: 139 10 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 configure -event halted esp_core_halt esp32
Debug: 140 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 flashbootstrap 3.3
Debug: 141 10 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 flashbootstrap 3.3
Debug: 143 10 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: 144 10 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: 145 10 target.c:1973 target_free_all_working_areas_restore(): freeing all working areas
Debug: 146 10 target.c:1973 target_free_all_working_areas_restore(): freeing all working areas
Debug: 147 10 target.c:1973 target_free_all_working_areas_restore(): freeing all working areas
Debug: 148 10 target.c:1973 target_free_all_working_areas_restore(): freeing all working areas
Debug: 149 11 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: 150 11 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: 151 11 target.c:1973 target_free_all_working_areas_restore(): freeing all working areas
Debug: 152 11 target.c:1973 target_free_all_working_areas_restore(): freeing all working areas
Debug: 153 11 target.c:1973 target_free_all_working_areas_restore(): freeing all working areas
Debug: 154 11 target.c:1973 target_free_all_working_areas_restore(): freeing all working areas
Debug: 155 11 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash bank esp32.flash esp32 0x0000 0x0 0 0 esp32
Debug: 156 11 command.c:143 script_debug(): command - ocd_flash ocd_flash bank esp32.flash esp32 0x0000 0x0 0 0 esp32
Debug: 158 11 command.c:399 register_command(): command 'esp32' is already registered in '<global>' context
Debug: 159 11 tcl.c:1032 handle_flash_bank_command(): 'esp32' driver usage field missing
Debug: 160 11 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 configure -event gdb-attach halt
Debug: 161 11 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 configure -event gdb-attach halt
Debug: 162 11 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_gdb_breakpoint_override hard
Debug: 163 11 command.c:143 script_debug(): command - gdb_breakpoint_override ocd_gdb_breakpoint_override hard
User : 165 11 gdb_server.c:3039 handle_gdb_breakpoint_override_command(): force hard breakpoints
Debug: 166 11 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: 167 11 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: 169 12 command.c:323 command_new(): BUG: command 'program_esp32' does not have the '.usage' field filled out
Debug: 170 12 command.c:1098 help_add_command(): added 'program_esp32' help text
Debug: 171 12 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text program_esp32 <filename> [address] [verify] [reset] [exit]
Debug: 172 12 command.c:143 script_debug(): command - add_usage_text ocd_add_usage_text program_esp32 <filename> [address] [verify] [reset] [exit]
Debug: 174 12 command.c:1123 help_add_command(): added 'program_esp32' usage text
Debug: 175 12 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_init
Debug: 176 12 command.c:143 script_debug(): command - init ocd_init
Debug: 178 12 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target init
Debug: 179 12 command.c:143 script_debug(): command - ocd_target ocd_target init
Debug: 181 12 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target names
Debug: 182 12 command.c:143 script_debug(): command - ocd_target ocd_target names
Debug: 183 12 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 cget -event gdb-flash-erase-start
Debug: 184 12 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 cget -event gdb-flash-erase-start
Debug: 185 12 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 configure -event gdb-flash-erase-start reset init
Debug: 186 12 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 configure -event gdb-flash-erase-start reset init
Debug: 187 12 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 cget -event gdb-flash-write-end
Debug: 188 12 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 cget -event gdb-flash-write-end
Debug: 189 13 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 configure -event gdb-flash-write-end reset halt
Debug: 190 13 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 configure -event gdb-flash-write-end reset halt
Debug: 191 13 target.c:1374 handle_target_init_command(): Initializing targets...
Debug: 192 13 esp32.c:1239 xtensa_init_target(): xtensa_init_target
Debug: 193 13 command.c:364 register_command_handler(): registering 'ocd_target_request'...
Debug: 194 13 command.c:364 register_command_handler(): registering 'ocd_trace'...
Debug: 195 13 command.c:364 register_command_handler(): registering 'ocd_trace'...
Debug: 196 13 command.c:364 register_command_handler(): registering 'ocd_fast_load_image'...
Debug: 197 13 command.c:364 register_command_handler(): registering 'ocd_fast_load'...
Debug: 198 13 command.c:364 register_command_handler(): registering 'ocd_profile'...
Debug: 199 13 command.c:364 register_command_handler(): registering 'ocd_virt2phys'...
Debug: 200 13 command.c:364 register_command_handler(): registering 'ocd_reg'...
Debug: 201 13 command.c:364 register_command_handler(): registering 'ocd_poll'...
Debug: 202 13 command.c:364 register_command_handler(): registering 'ocd_wait_halt'...
Debug: 203 13 command.c:364 register_command_handler(): registering 'ocd_halt'...
Debug: 204 13 command.c:364 register_command_handler(): registering 'ocd_resume'...
Debug: 205 13 command.c:364 register_command_handler(): registering 'ocd_reset'...
Debug: 206 13 command.c:364 register_command_handler(): registering 'ocd_soft_reset_halt'...
Debug: 207 13 command.c:364 register_command_handler(): registering 'ocd_step'...
Debug: 208 13 command.c:364 register_command_handler(): registering 'ocd_mdw'...
Debug: 209 13 command.c:364 register_command_handler(): registering 'ocd_mdh'...
Debug: 210 13 command.c:364 register_command_handler(): registering 'ocd_mdb'...
Debug: 211 13 command.c:364 register_command_handler(): registering 'ocd_mww'...
Debug: 212 13 command.c:364 register_command_handler(): registering 'ocd_mwh'...
Debug: 213 13 command.c:364 register_command_handler(): registering 'ocd_mwb'...
Debug: 214 13 command.c:364 register_command_handler(): registering 'ocd_bp'...
Debug: 215 13 command.c:364 register_command_handler(): registering 'ocd_rbp'...
Debug: 216 13 command.c:364 register_command_handler(): registering 'ocd_wp'...
Debug: 217 13 command.c:364 register_command_handler(): registering 'ocd_rwp'...
Debug: 218 14 command.c:364 register_command_handler(): registering 'ocd_load_image'...
Debug: 219 14 command.c:364 register_command_handler(): registering 'ocd_dump_image'...
Debug: 220 14 command.c:364 register_command_handler(): registering 'ocd_verify_image'...
Debug: 221 14 command.c:364 register_command_handler(): registering 'ocd_test_image'...
Debug: 222 14 command.c:364 register_command_handler(): registering 'ocd_reset_nag'...
Debug: 223 14 command.c:364 register_command_handler(): registering 'ocd_ps'...
Debug: 224 14 command.c:364 register_command_handler(): registering 'ocd_test_mem_access'...
Debug: 225 14 command.c:364 register_command_handler(): registering 'ocd_set_core'...
Debug: 226 14 ftdi.c:657 ftdi_initialize(): ftdi interface using shortest path jtag state transitions
Error: 227 287 mpsse.c:193 open_matching_device(): libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Debug: 228 288 mpsse.c:422 mpsse_purge(): -
Debug: 229 288 mpsse.c:703 mpsse_loopback_config(): off
Debug: 230 288 mpsse.c:748 mpsse_set_frequency(): target 20000000 Hz
Debug: 231 288 mpsse.c:740 mpsse_rtck_config(): off
Debug: 232 288 mpsse.c:729 mpsse_divide_by_5_config(): off
Debug: 233 288 mpsse.c:709 mpsse_set_divisor(): 1
Debug: 234 288 mpsse.c:772 mpsse_set_frequency(): actually 15000000 Hz
Debug: 235 288 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 236 288 core.c:1601 adapter_khz_to_speed(): have interface set up
Debug: 237 288 mpsse.c:748 mpsse_set_frequency(): target 20000000 Hz
Debug: 238 288 mpsse.c:740 mpsse_rtck_config(): off
Debug: 239 288 mpsse.c:729 mpsse_divide_by_5_config(): off
Debug: 240 288 mpsse.c:709 mpsse_set_divisor(): 1
Debug: 241 288 mpsse.c:772 mpsse_set_frequency(): actually 15000000 Hz
Info : 242 288 ftdi.c:291 ftdi_speed(): ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"
Debug: 243 288 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 244 288 core.c:1601 adapter_khz_to_speed(): have interface set up
Info : 245 288 core.c:1386 adapter_init(): clock speed 20000 kHz
Debug: 246 288 openocd.c:135 handle_init_command(): Debug Adapter init complete
Debug: 247 288 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport init
Debug: 248 288 command.c:143 script_debug(): command - ocd_transport ocd_transport init
Debug: 250 288 transport.c:239 handle_transport_init(): handle_transport_init
Debug: 251 289 core.c:729 jtag_add_reset(): SRST line released
Debug: 252 289 core.c:753 jtag_add_reset(): TRST line released
Debug: 253 289 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 254 289 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init
Debug: 255 289 command.c:143 script_debug(): command - ocd_jtag ocd_jtag arp_init
Debug: 256 289 core.c:1399 jtag_init_inner(): Init JTAG chain
Debug: 257 289 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 258 289 core.c:1060 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS
Debug: 259 289 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Info : 260 289 core.c:959 jtag_examine_chain_display(): JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : 261 289 core.c:959 jtag_examine_chain_display(): JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Debug: 262 289 core.c:1190 jtag_validate_ircapture(): IR capture validation scan
Debug: 263 289 core.c:1248 jtag_validate_ircapture(): esp32.cpu0: IR capture 0x01
Debug: 264 289 core.c:1248 jtag_validate_ircapture(): esp32.cpu1: IR capture 0x01
Debug: 265 289 openocd.c:148 handle_init_command(): Examining targets...
Debug: 266 289 target.c:1567 target_call_event_callbacks(): target event 21 (examine-start)
Debug: 267 289 target.c:1567 target_call_event_callbacks(): target event 22 (examine-end)
Debug: 268 289 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash init
Debug: 269 290 command.c:143 script_debug(): command - ocd_flash ocd_flash init
Debug: 270 290 esp32.c:1310 xtensa_poll(): Thread changed old =0x00000000, current =ffffffff
Debug: 271 290 esp32.c:1323 xtensa_poll(): Stopped: CPU0: 1 CPU1: 1
Debug: 272 290 esp32.c:320 xtensa_halt(): xtensa_halt, target: esp32
Debug: 273 290 esp32.c:348 xtensa_halt(): CPU 0 already halted
Debug: 274 302 esp32.c:1341 xtensa_poll(): cpu0: Halt reason =0x00000020, temp_cause =00000000, dsr=0x8000cc11, dcrset=0x00030001
Debug: 275 302 esp32.c:1341 xtensa_poll(): cpu1: Halt reason =0x00000020, temp_cause =00000000, dsr=0x81008411, dcrset=0x00030001
Debug: 276 302 esp32.c:1358 xtensa_poll(): cpu0: Target halted, pc=0x40091140, debug_reason=00000000, oldstate=00000001, active=true
Debug: 277 302 esp32.c:1358 xtensa_poll(): cpu1: Target halted, pc=0x400076E2, debug_reason=00000000, oldstate=00000001, active=false
Info : 278 302 esp32.c:1365 xtensa_poll(): Target halted. PRO_CPU: PC=0x40091140 (active) APP_CPU: PC=0x400076E2
Debug: 279 302 target.c:1567 target_call_event_callbacks(): target event 0 (gdb-halt)
Debug: 280 302 target.c:1567 target_call_event_callbacks(): target event 1 (halted)
Debug: 281 302 target.c:4422 target_handle_event(): target: (0) esp32 (esp32) event: 1 (halted) action: esp_core_halt esp32
Debug: 282 302 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF5F064 0x50D83AA1
Debug: 283 302 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF5F064 0x50D83AA1
Debug: 284 302 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF5F064
Debug: 285 303 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF5F048 0x0
Debug: 286 303 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF5F048 0x0
Debug: 287 303 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF5F048
Debug: 288 303 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF60064 0x50D83AA1
Debug: 289 303 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF60064 0x50D83AA1
Debug: 290 303 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF60064
Debug: 291 304 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF60048 0x0
Debug: 292 304 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF60048 0x0
Debug: 293 304 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF60048
Debug: 295 304 tcl.c:1098 handle_flash_init_command(): Initializing flash devices...
Debug: 296 304 command.c:364 register_command_handler(): registering 'ocd_flash'...
Debug: 297 304 command.c:364 register_command_handler(): registering 'ocd_flash'...
Debug: 298 304 command.c:364 register_command_handler(): registering 'ocd_flash'...
Debug: 299 304 command.c:364 register_command_handler(): registering 'ocd_flash'...
Debug: 300 304 command.c:364 register_command_handler(): registering 'ocd_flash'...
Debug: 301 304 command.c:364 register_command_handler(): registering 'ocd_flash'...
Debug: 302 304 command.c:364 register_command_handler(): registering 'ocd_flash'...
Debug: 303 304 command.c:364 register_command_handler(): registering 'ocd_flash'...
Debug: 304 304 command.c:364 register_command_handler(): registering 'ocd_flash'...
Debug: 305 304 command.c:364 register_command_handler(): registering 'ocd_flash'...
Debug: 306 305 command.c:364 register_command_handler(): registering 'ocd_flash'...
Debug: 307 305 command.c:364 register_command_handler(): registering 'ocd_flash'...
Debug: 308 305 command.c:364 register_command_handler(): registering 'ocd_flash'...
Debug: 309 305 command.c:364 register_command_handler(): registering 'ocd_flash'...
Debug: 310 305 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_mflash init
Debug: 311 305 command.c:143 script_debug(): command - ocd_mflash ocd_mflash init
Debug: 313 305 mflash.c:1377 handle_mflash_init_command(): Initializing mflash devices...
Debug: 314 306 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_nand init
Debug: 315 306 command.c:143 script_debug(): command - ocd_nand ocd_nand init
Debug: 317 307 tcl.c:495 handle_nand_init_command(): Initializing NAND devices...
Debug: 318 307 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_pld init
Debug: 319 307 command.c:143 script_debug(): command - ocd_pld ocd_pld init
Debug: 321 308 pld.c:205 handle_pld_init_command(): Initializing PLDs...
Debug: 322 308 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_reset init
Debug: 323 308 command.c:143 script_debug(): command - reset ocd_reset init
Debug: 325 309 target.c:1585 target_call_reset_callbacks(): target reset 3 (init)
Debug: 326 310 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target names
Debug: 327 310 command.c:143 script_debug(): command - ocd_target ocd_target names
Debug: 328 310 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event reset-start
Debug: 329 310 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event reset-start
Debug: 330 310 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 331 310 command.c:143 script_debug(): command - ocd_transport ocd_transport select
Debug: 332 310 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init-reset
Debug: 333 310 command.c:143 script_debug(): command - ocd_jtag ocd_jtag arp_init-reset
Debug: 334 310 core.c:1507 jtag_init_reset(): Initializing with hard TRST+SRST reset
Debug: 335 310 core.c:742 jtag_add_reset(): JTAG reset with TLR instead of TRST
Debug: 336 310 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 337 310 core.c:1399 jtag_init_inner(): Init JTAG chain
Debug: 338 310 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 339 310 core.c:1060 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS
Debug: 340 310 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Info : 341 310 core.c:959 jtag_examine_chain_display(): JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : 342 310 core.c:959 jtag_examine_chain_display(): JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Debug: 343 311 core.c:1190 jtag_validate_ircapture(): IR capture validation scan
Debug: 344 311 core.c:1248 jtag_validate_ircapture(): esp32.cpu0: IR capture 0x01
Debug: 345 311 core.c:1248 jtag_validate_ircapture(): esp32.cpu1: IR capture 0x01
Debug: 346 311 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 347 311 command.c:143 script_debug(): command - ocd_transport ocd_transport select
Debug: 348 311 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 cget -chain-position
Debug: 349 311 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 cget -chain-position
Debug: 350 311 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled esp32.cpu0
Debug: 351 311 command.c:143 script_debug(): command - ocd_jtag ocd_jtag tapisenabled esp32.cpu0
Debug: 352 311 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event examine-start
Debug: 353 311 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event examine-start
Debug: 354 311 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 arp_examine
Debug: 355 311 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 arp_examine
Debug: 356 311 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event examine-end
Debug: 357 311 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event examine-end
Debug: 358 311 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event reset-assert-pre
Debug: 359 311 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event reset-assert-pre
Debug: 360 312 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 361 312 command.c:143 script_debug(): command - ocd_transport ocd_transport select
Debug: 362 312 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 cget -chain-position
Debug: 363 312 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 cget -chain-position
Debug: 364 312 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled esp32.cpu0
Debug: 365 312 command.c:143 script_debug(): command - ocd_jtag ocd_jtag tapisenabled esp32.cpu0
Debug: 366 312 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 arp_reset assert 1
Debug: 367 312 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 arp_reset assert 1
Debug: 368 312 target.c:1973 target_free_all_working_areas_restore(): freeing all working areas
Debug: 369 312 target.c:1973 target_free_all_working_areas_restore(): freeing all working areas
Debug: 370 312 esp108_common.c:492 esp32_soc_reset(): esp32_soc_reset 492
Debug: 371 312 esp32.c:555 xtensa_read_memory(): esp32: xtensa_read_memory: reading 76 bytes from addr 50000000
Debug: 372 313 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 76 bytes to addr 50000000
Debug: 373 313 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF48034
Debug: 374 313 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF48070
Debug: 375 314 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF480B0
Debug: 376 314 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF480B4
Debug: 377 314 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF48000
Info : 378 326 esp32.c:1268 xtensa_poll(): esp32: Debug controller was reset (pwrstat=0x5F, after clear 0x0F).
Info : 379 326 esp32.c:1271 xtensa_poll(): esp32: Core was reset (pwrstat=0x5F, after clear 0x0F).
Debug: 380 327 esp32.c:320 xtensa_halt(): xtensa_halt, target: esp32
Debug: 381 327 esp32.c:338 xtensa_halt(): Need to halt CPU 0
Debug: 382 328 esp32.c:1316 xtensa_poll(): xtensa_poll: dsr0=0x80200010, dsr1=0x00000000
Debug: 383 328 esp32.c:787 xtensa_smpbreak_set(): xtensa_smpbreak_set[esp32] set smpbreak=1, state=3
Debug: 384 328 esp32.c:1323 xtensa_poll(): Stopped: CPU0: 1 CPU1: 0
Debug: 385 328 esp32.c:320 xtensa_halt(): xtensa_halt, target: esp32
Debug: 386 328 esp32.c:348 xtensa_halt(): CPU 0 already halted
Debug: 387 339 esp32.c:1341 xtensa_poll(): cpu0: Halt reason =0x00000020, temp_cause =00000000, dsr=0x80208411, dcrset=0x00030001
Debug: 388 339 esp32.c:1341 xtensa_poll(): cpu1: Halt reason =0x00000000, temp_cause =00000000, dsr=0x00000000, dcrset=0x00000000
Debug: 389 339 esp32.c:1358 xtensa_poll(): cpu0: Target halted, pc=0x5000004B, debug_reason=00000000, oldstate=00000003, active=true
Debug: 390 339 esp32.c:1358 xtensa_poll(): cpu1: Target halted, pc=0x00000000, debug_reason=00000000, oldstate=00000003, active=false
Info : 391 339 esp32.c:1365 xtensa_poll(): Target halted. PRO_CPU: PC=0x5000004B (active) APP_CPU: PC=0x00000000
Debug: 392 339 target.c:1567 target_call_event_callbacks(): target event 0 (gdb-halt)
Debug: 393 339 target.c:1567 target_call_event_callbacks(): target event 1 (halted)
Debug: 394 339 target.c:4422 target_handle_event(): target: (0) esp32 (esp32) event: 1 (halted) action: esp_core_halt esp32
Debug: 395 339 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF5F064 0x50D83AA1
Debug: 396 339 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF5F064 0x50D83AA1
Debug: 397 340 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF5F064
Debug: 398 340 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF5F048 0x0
Debug: 399 340 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF5F048 0x0
Debug: 400 340 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF5F048
Debug: 401 340 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF60064 0x50D83AA1
Debug: 402 340 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF60064 0x50D83AA1
Debug: 403 340 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF60064
Debug: 404 341 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF60048 0x0
Debug: 405 341 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF60048 0x0
Debug: 406 341 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF60048
User : 407 341 target.c:2041 target_arch_state(): esp32: target state: halted
Debug: 408 341 esp32.c:1410 xtensa_arch_state(): xtensa_arch_state
Debug: 409 341 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF48034
Debug: 410 341 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF00038
Debug: 411 342 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF00030
Debug: 412 342 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF0002C
Debug: 413 342 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 76 bytes to addr 50000000
Debug: 414 343 FreeRTOS.c:595 FreeRTOS_post_reset_cleanup(): FreeRTOS_post_reset_cleanup
Debug: 415 343 esp108_common.c:642 esp32_soc_reset(): esp32_soc_reset 642
Debug: 416 343 esp32.c:757 xtensa_assert_reset(): xtensa_assert_reset[esp32] coreid=0, target_number=0, begin
Debug: 417 343 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event reset-assert-post
Debug: 418 343 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event reset-assert-post
Debug: 419 343 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event reset-deassert-pre
Debug: 420 343 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event reset-deassert-pre
Debug: 421 343 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 422 343 command.c:143 script_debug(): command - ocd_transport ocd_transport select
Debug: 423 343 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 cget -chain-position
Debug: 424 343 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 cget -chain-position
Debug: 425 343 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled esp32.cpu0
Debug: 426 343 command.c:143 script_debug(): command - ocd_jtag ocd_jtag tapisenabled esp32.cpu0
Debug: 427 343 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 arp_reset deassert 1
Debug: 428 344 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 arp_reset deassert 1
Debug: 429 344 target.c:1973 target_free_all_working_areas_restore(): freeing all working areas
Debug: 430 344 target.c:1973 target_free_all_working_areas_restore(): freeing all working areas
Debug: 431 344 esp32.c:787 xtensa_smpbreak_set(): xtensa_smpbreak_set[esp32] set smpbreak=1, state=3
Debug: 432 344 esp32.c:800 xtensa_deassert_reset(): xtensa_deassert_reset begin reset_halt=1
Debug: 433 344 esp32.c:813 xtensa_deassert_reset(): xtensa_deassert_reset[esp32] begin reset_halt=1, state=3
Debug: 434 344 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event reset-deassert-post
Debug: 435 344 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event reset-deassert-post
Debug: 436 344 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 437 344 command.c:143 script_debug(): command - ocd_transport ocd_transport select
Debug: 438 344 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 cget -chain-position
Debug: 439 344 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 cget -chain-position
Debug: 440 344 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled esp32.cpu0
Debug: 441 344 command.c:143 script_debug(): command - ocd_jtag ocd_jtag tapisenabled esp32.cpu0
Debug: 442 344 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 arp_waitstate halted 1000
Debug: 443 344 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 arp_waitstate halted 1000
Info : 444 345 esp32.c:1271 xtensa_poll(): esp32: Core was reset (pwrstat=0x1F, after clear 0x0F).
Debug: 445 345 esp32.c:1323 xtensa_poll(): Stopped: CPU0: 1 CPU1: 1
Debug: 446 345 esp32.c:320 xtensa_halt(): xtensa_halt, target: esp32
Debug: 447 345 esp32.c:348 xtensa_halt(): CPU 0 already halted
Debug: 448 357 esp32.c:1341 xtensa_poll(): cpu0: Halt reason =0x00000020, temp_cause =00000000, dsr=0x8031cc11, dcrset=0x00230001
Debug: 449 357 esp32.c:1341 xtensa_poll(): cpu1: Halt reason =0x00000020, temp_cause =00000000, dsr=0x80308411, dcrset=0x00230001
Debug: 450 357 esp32.c:1358 xtensa_poll(): cpu0: Target halted, pc=0x40000400, debug_reason=00000000, oldstate=00000001, active=true
Debug: 451 357 esp32.c:1358 xtensa_poll(): cpu1: Target halted, pc=0x40000400, debug_reason=00000000, oldstate=00000001, active=false
Info : 452 358 esp32.c:1365 xtensa_poll(): Target halted. PRO_CPU: PC=0x40000400 (active) APP_CPU: PC=0x40000400
Debug: 453 358 target.c:1567 target_call_event_callbacks(): target event 0 (gdb-halt)
Debug: 454 358 target.c:1567 target_call_event_callbacks(): target event 1 (halted)
Debug: 455 358 target.c:4422 target_handle_event(): target: (0) esp32 (esp32) event: 1 (halted) action: esp_core_halt esp32
Debug: 456 358 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF5F064 0x50D83AA1
Debug: 457 358 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF5F064 0x50D83AA1
Debug: 458 358 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF5F064
Debug: 459 358 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF5F048 0x0
Debug: 460 358 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF5F048 0x0
Debug: 461 358 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF5F048
Debug: 462 359 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF60064 0x50D83AA1
Debug: 463 359 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF60064 0x50D83AA1
Debug: 464 359 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF60064
Debug: 465 359 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 mww 0x3FF60048 0x0
Debug: 466 359 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 mww 0x3FF60048 0x0
Debug: 467 359 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 4 bytes to addr 3FF60048
User : 468 359 target.c:2041 target_arch_state(): esp32: target state: halted
Debug: 469 359 esp32.c:1410 xtensa_arch_state(): xtensa_arch_state
Debug: 470 359 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 curstate
Debug: 471 360 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 curstate
Debug: 472 360 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 473 360 command.c:143 script_debug(): command - ocd_transport ocd_transport select
Debug: 474 360 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 cget -chain-position
Debug: 475 360 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 cget -chain-position
Debug: 476 360 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled esp32.cpu0
Debug: 477 360 command.c:143 script_debug(): command - ocd_jtag ocd_jtag tapisenabled esp32.cpu0
Debug: 478 360 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 arp_waitstate halted 5000
Debug: 479 360 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 arp_waitstate halted 5000
Debug: 480 361 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event reset-init
Debug: 481 361 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event reset-init
Debug: 482 361 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_esp32 invoke-event reset-end
Debug: 483 361 command.c:143 script_debug(): command - ocd_esp32 ocd_esp32 invoke-event reset-end
Debug: 484 362 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_echo ** Programming Started **
Debug: 485 362 command.c:143 script_debug(): command - echo ocd_echo ** Programming Started **
User : 487 363 command.c:762 jim_echo(): ** Programming Started **
Debug: 488 363 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash write_image erase hello-world.bin 0x10000
Debug: 489 363 command.c:143 script_debug(): command - ocd_flash ocd_flash write_image erase hello-world.bin 0x10000
User : 491 363 command.c:544 command_print(): auto erase enabled
Debug: 492 363 configuration.c:82 find_file(): found hello-world.bin
Debug: 493 363 configuration.c:82 find_file(): found hello-world.bin
Debug: 494 364 esp32.c:993 esp32_probe(): Flash size = 0 KB @ 0x0 'esp32' - 'halted'
Info : 495 364 esp32.c:398 esp32_run_algo(): Use core0 of target 'esp32'
Debug: 496 364 target.c:1774 alloc_working_area_try_do(): MMU disabled, using physical address for working memory 0x40090000
Debug: 497 364 target.c:1827 alloc_working_area_try_do(): allocated new working area of 7416 bytes at address 0x40090000
Debug: 498 364 esp32.c:555 xtensa_read_memory(): esp32: xtensa_read_memory: reading 7416 bytes from addr 40090000
Debug: 499 399 target.c:1690 print_wa_layout(): b* 0x40090000-0x40091cf7 (7416 bytes)
Debug: 500 399 target.c:1690 print_wa_layout(): 0x40091cf8-0x400933ff (5896 bytes)
Debug: 501 399 target.c:2140 target_write_buffer(): writing buffer of 7415 byte at 0x40090000
Debug: 502 399 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 7415 bytes to addr 40090000
Debug: 503 431 target.c:1774 alloc_working_area_try_do(): MMU disabled, using physical address for working memory 0x3ffc0000
Debug: 504 431 target.c:1827 alloc_working_area_try_do(): allocated new working area of 632 bytes at address 0x3ffc0000
Debug: 505 431 esp32.c:555 xtensa_read_memory(): esp32: xtensa_read_memory: reading 632 bytes from addr 3FFC0000
Debug: 506 434 target.c:1690 print_wa_layout(): b* 0x3ffc0000-0x3ffc0277 (632 bytes)
Debug: 507 434 target.c:1690 print_wa_layout(): 0x3ffc0278-0x3ffc5fff (23944 bytes)
Debug: 508 434 target.c:2140 target_write_buffer(): writing buffer of 572 byte at 0x3ffc0000
Debug: 509 434 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 572 bytes to addr 3FFC0000
Debug: 510 437 target.c:1827 alloc_working_area_try_do(): allocated new working area of 1536 bytes at address 0x3ffc0278
Debug: 511 437 esp32.c:555 xtensa_read_memory(): esp32: xtensa_read_memory: reading 1536 bytes from addr 3FFC0278
Debug: 512 444 target.c:1690 print_wa_layout(): b* 0x3ffc0000-0x3ffc0277 (632 bytes)
Debug: 513 444 target.c:1690 print_wa_layout(): b* 0x3ffc0278-0x3ffc0877 (1536 bytes)
Debug: 514 444 target.c:1690 print_wa_layout(): 0x3ffc0878-0x3ffc5fff (22408 bytes)
Debug: 515 444 target.c:1827 alloc_working_area_try_do(): allocated new working area of 20 bytes at address 0x40091cf8
Debug: 516 444 esp32.c:555 xtensa_read_memory(): esp32: xtensa_read_memory: reading 20 bytes from addr 40091CF8
Debug: 517 445 target.c:1690 print_wa_layout(): b* 0x40090000-0x40091cf7 (7416 bytes)
Debug: 518 445 target.c:1690 print_wa_layout(): b* 0x40091cf8-0x40091d0b (20 bytes)
Debug: 519 445 target.c:1690 print_wa_layout(): 0x40091d0c-0x400933ff (5876 bytes)
Debug: 520 445 target.c:2140 target_write_buffer(): writing buffer of 18 byte at 0x40091cf8
Debug: 521 445 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 18 bytes to addr 40091CF8
Debug: 522 445 esp32.c:418 esp32_run_algo(): Stub loaded in 80.624 ms
Debug: 523 446 esp32.c:152 esp32_algo_init_args(): Adjust stack addr 0x3ffc0878
Debug: 524 446 esp32.c:439 esp32_run_algo(): Algorithm start @ 0x40091cf8, stack 1536 bytes @ 0x3ffc0878
Debug: 525 446 target.c:1567 target_call_event_callbacks(): target event 3 (resume-start)
Debug: 526 446 esp32.c:365 xtensa_resume(): esp32: xtensa_resume current=0 address=40091cf8
Debug: 527 446 esp32.c:244 esp32_write_dirty_registers(): cpu0: esp32_write_dirty_registers
Debug: 528 446 esp32.c:252 esp32_write_dirty_registers(): cpu0: Writing back reg pc val 40091CF8
Debug: 529 446 esp32.c:252 esp32_write_dirty_registers(): cpu0: Writing back reg ps val 00060021
Debug: 530 446 esp32.c:285 esp32_write_dirty_registers(): cpu0: Writing back reg a0 value 400905EC, num =1
Debug: 531 446 esp32.c:285 esp32_write_dirty_registers(): cpu0: Writing back reg a1 value 3FFC0870, num =2
Debug: 532 446 esp32.c:285 esp32_write_dirty_registers(): cpu0: Writing back reg a2 value 00000005, num =3
Debug: 533 446 esp32.c:285 esp32_write_dirty_registers(): cpu0: Writing back reg a3 value 00000000, num =4
Debug: 534 446 esp32.c:244 esp32_write_dirty_registers(): cpu1: esp32_write_dirty_registers
Debug: 535 446 esp32.c:285 esp32_write_dirty_registers(): cpu1: Writing back reg a3 value 00000000, num =4
Debug: 536 447 target.c:1567 target_call_event_callbacks(): target event 2 (resumed)
Debug: 537 447 target.c:1567 target_call_event_callbacks(): target event 4 (resume-end)
Debug: 538 447 esp32.c:481 esp32_run_algo(): Wait algorithm completion
Debug: 539 447 target.c:2911 target_wait_state(): waiting for target halted...
Debug: 540 460 esp32.c:1316 xtensa_poll(): xtensa_poll: dsr0=0x8000cc01, dsr1=0x80904811
Debug: 541 460 esp32.c:787 xtensa_smpbreak_set(): xtensa_smpbreak_set[esp32] set smpbreak=1, state=4
Debug: 542 460 esp32.c:1323 xtensa_poll(): Stopped: CPU0: 0 CPU1: 1
Debug: 543 460 esp32.c:320 xtensa_halt(): xtensa_halt, target: esp32
Debug: 544 460 esp32.c:348 xtensa_halt(): CPU 0 already halted
Debug: 545 470 esp32.c:1341 xtensa_poll(): cpu0: Halt reason =0x00000008, temp_cause =00000000, dsr=0x8000cc11, dcrset=0x00030001
Debug: 546 471 esp32.c:1341 xtensa_poll(): cpu1: Halt reason =0x00000020, temp_cause =00000000, dsr=0x8080cc11, dcrset=0x00030001
Debug: 547 471 esp32.c:1358 xtensa_poll(): cpu0: Target halted, pc=0x40091D07, debug_reason=00000001, oldstate=00000004, active=true
Debug: 548 471 esp32.c:1358 xtensa_poll(): cpu1: Target halted, pc=0x400076E2, debug_reason=00000001, oldstate=00000004, active=false
Info : 549 471 esp32.c:1365 xtensa_poll(): Target halted. PRO_CPU: PC=0x40091D07 (active) APP_CPU: PC=0x400076E2
Debug: 550 471 target.c:1567 target_call_event_callbacks(): target event 19 (debug-halted)
Debug: 551 471 esp108_common.c:403 xtensa_wait_algorithm_generic(): Read mem params
Debug: 552 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register a15 with value 0x3ffc015c -> 0x00000000
Debug: 553 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register a14 with value 0x2100000 -> 0x00000000
Debug: 554 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register a13 with value 0x3ff48000 -> 0x00000000
Debug: 555 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register a12 with value 0x1c492002 -> 0x00000000
Debug: 556 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register a11 with value 0x1c492000 -> 0x00000000
Debug: 557 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register a10 with value 0x400000 -> 0x00000000
Debug: 558 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register a9 with value 0x3ffc07e0 -> 0x00000000
Debug: 559 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register a8 with value 0x80091d05 -> 0x00000000
Debug: 560 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register a2 with value 0x400000 -> 0x00000000
Debug: 561 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register a1 with value 0x3ffc0870 -> 0x00000000
Debug: 562 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register a0 with value 0x400905ec -> 0x00000000
Debug: 563 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ccount with value 0x27a523 -> 0x00000004
Debug: 564 471 esp108_common.c:440 xtensa_wait_algorithm_generic(): Skip restoring register debugcause with value 0x8 -> 0x00000020
Debug: 565 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register eps6 with value 0x60021 -> 0x0000001f
Debug: 566 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register epc6 with value 0x40091d07 -> 0x40000400
Debug: 567 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register f15 with value 0x8bddec -> 0x008bffcc
Debug: 568 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register f14 with value 0xfffffffe -> 0x00000000
Debug: 569 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register f13 with value 0x383415fa -> 0x008bd5b0
Debug: 570 471 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register f12 with value 0x77de9fd0 -> 0x3ff6004c
Debug: 571 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register f11 with value 0x8bde28 -> 0x008bd5e8
Debug: 572 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register f10 with value 0x99df64 -> 0x00000004
Debug: 573 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register f9 with value 0x96de1c -> 0x3ff6004c
Debug: 574 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register f8 with value 0x0 -> 0x00000004
Debug: 575 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register f7 with value 0x3c -> 0x009af820
Debug: 576 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register f6 with value 0x1 -> 0x3ff70048
Debug: 577 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register f5 with value 0x99dcbc -> 0xcd0ba932
Debug: 578 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register f4 with value 0x636d40 -> 0x756570f4
Debug: 579 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register f3 with value 0x1637360 -> 0x00000000
Debug: 580 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register f2 with value 0x4 -> 0x00a80000
Debug: 581 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register f1 with value 0x104000 -> 0x756570d5
Debug: 582 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register f0 with value 0x2 -> 0x008bd5e8
Debug: 583 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ps with value 0x60021 -> 0x0000001f
Debug: 584 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register sar with value 0x19 -> 0x00000000
Debug: 585 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register lcount with value 0xffffffff -> 0x00000000
Debug: 586 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register lend with value 0x4000c477 -> 0x00000000
Debug: 587 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register lbeg with value 0x4000c46c -> 0x00000000
Debug: 588 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar46 with value 0xffff -> 0x00000000
Debug: 589 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar45 with value 0x3ffae270 -> 0x00000000
Debug: 590 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar44 with value 0x8000000 -> 0x00000000
Debug: 591 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar43 with value 0x3ff42000 -> 0x00000000
Debug: 592 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar42 with value 0x3ff42010 -> 0x00000000
Debug: 593 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar39 with value 0x7 -> 0x00000000
Debug: 594 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar38 with value 0x208000 -> 0x00000000
Debug: 595 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar37 with value 0x80000040 -> 0x00000000
Debug: 596 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar36 with value 0x5c000007 -> 0x00000000
Debug: 597 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar35 with value 0x70000000 -> 0x00000000
Debug: 598 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar33 with value 0x3ffc0750 -> 0x00000000
Debug: 599 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar32 with value 0x1 -> 0x00000000
Debug: 600 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar30 with value 0x3ffae270 -> 0x00000000
Debug: 601 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar29 with value 0x40000 -> 0x00000000
Debug: 602 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar28 with value 0x80000040 -> 0x00000000
Debug: 603 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar27 with value 0x70000000 -> 0x00000000
Debug: 604 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar26 with value 0x8ff -> 0x00000000
Debug: 605 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar25 with value 0x3ff0005c -> 0x00000000
Debug: 606 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar24 with value 0x8c0 -> 0x00000000
Debug: 607 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar23 with value 0xffff -> 0x00000000
Debug: 608 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar22 with value 0x100 -> 0x00000000
Debug: 609 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar21 with value 0x1000 -> 0x00000000
Debug: 610 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar20 with value 0x200 -> 0x00000000
Debug: 611 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar19 with value 0x8ff -> 0x00000000
Debug: 612 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar18 with value 0x1 -> 0x00000000
Debug: 613 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar15 with value 0x3ffc015c -> 0x00000000
Debug: 614 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar14 with value 0x2100000 -> 0x00000000
Debug: 615 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar13 with value 0x3ff48000 -> 0x00000000
Debug: 616 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar12 with value 0x1c492002 -> 0x00000000
Debug: 617 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar11 with value 0x1c492000 -> 0x00000000
Debug: 618 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar10 with value 0x400000 -> 0x00000000
Debug: 619 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar9 with value 0x3ffc07e0 -> 0x00000000
Debug: 620 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar8 with value 0x80091d05 -> 0x00000000
Debug: 621 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar2 with value 0x400000 -> 0x00000000
Debug: 622 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar1 with value 0x3ffc0870 -> 0x00000000
Debug: 623 472 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register ar0 with value 0x400905ec -> 0x00000000
Debug: 624 473 esp108_common.c:445 xtensa_wait_algorithm_generic(): restoring register pc with value 0x40091d07 -> 0x40000400
Debug: 625 473 esp32.c:244 esp32_write_dirty_registers(): esp32: esp32_write_dirty_registers
Debug: 626 473 esp32.c:252 esp32_write_dirty_registers(): esp32: Writing back reg pc val 40000400
Debug: 627 473 esp32.c:252 esp32_write_dirty_registers(): esp32: Writing back reg lbeg val 00000000
Debug: 628 473 esp32.c:252 esp32_write_dirty_registers(): esp32: Writing back reg lend val 00000000
Debug: 629 473 esp32.c:252 esp32_write_dirty_registers(): esp32: Writing back reg lcount val 00000000
Debug: 630 473 esp32.c:252 esp32_write_dirty_registers(): esp32: Writing back reg sar val 00000000
Debug: 631 473 esp32.c:252 esp32_write_dirty_registers(): esp32: Writing back reg ps val 0000001F
Debug: 632 473 esp32.c:252 esp32_write_dirty_registers(): esp32: Writing back reg epc6 val 40000400
Debug: 633 473 esp32.c:252 esp32_write_dirty_registers(): esp32: Writing back reg eps6 val 0000001F
Debug: 634 473 esp32.c:252 esp32_write_dirty_registers(): esp32: Writing back reg ccount val 00000004
Debug: 635 473 esp32.c:285 esp32_write_dirty_registers(): esp32: Writing back reg a0 value 00000000, num =1
Debug: 636 473 esp32.c:285 esp32_write_dirty_registers(): esp32: Writing back reg a1 value 00000000, num =2
Debug: 637 473 esp32.c:285 esp32_write_dirty_registers(): esp32: Writing back reg a2 value 00000000, num =3
Debug: 638 473 esp32.c:285 esp32_write_dirty_registers(): esp32: Writing back reg a3 value 00000000, num =4
Debug: 639 473 esp32.c:285 esp32_write_dirty_registers(): esp32: Writing back reg a8 value 00000000, num =9
Debug: 640 473 esp32.c:285 esp32_write_dirty_registers(): esp32: Writing back reg a9 value 00000000, num =10
Debug: 641 473 esp32.c:285 esp32_write_dirty_registers(): esp32: Writing back reg a10 value 00000000, num =11
Debug: 642 473 esp32.c:285 esp32_write_dirty_registers(): esp32: Writing back reg a11 value 00000000, num =12
Debug: 643 473 esp32.c:285 esp32_write_dirty_registers(): esp32: Writing back reg a12 value 00000000, num =13
Debug: 644 473 esp32.c:285 esp32_write_dirty_registers(): esp32: Writing back reg a13 value 00000000, num =14
Debug: 645 473 esp32.c:285 esp32_write_dirty_registers(): esp32: Writing back reg a14 value 00000000, num =15
Debug: 646 473 esp32.c:285 esp32_write_dirty_registers(): esp32: Writing back reg a15 value 00000000, num =16
Debug: 647 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar0 value 00000000, num =0
Debug: 648 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar1 value 00000000, num =1
Debug: 649 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar2 value 00000000, num =2
Debug: 650 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar8 value 00000000, num =8
Debug: 651 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar9 value 00000000, num =9
Debug: 652 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar10 value 00000000, num =10
Debug: 653 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar11 value 00000000, num =11
Debug: 654 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar12 value 00000000, num =12
Debug: 655 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar13 value 00000000, num =13
Debug: 656 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar14 value 00000000, num =14
Debug: 657 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar15 value 00000000, num =15
Debug: 658 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar18 value 00000000, num =18
Debug: 659 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar19 value 00000000, num =19
Debug: 660 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar20 value 00000000, num =20
Debug: 661 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar21 value 00000000, num =21
Debug: 662 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar22 value 00000000, num =22
Debug: 663 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar23 value 00000000, num =23
Debug: 664 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar24 value 00000000, num =24
Debug: 665 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar25 value 00000000, num =25
Debug: 666 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar26 value 00000000, num =26
Debug: 667 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar27 value 00000000, num =27
Debug: 668 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar28 value 00000000, num =28
Debug: 669 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar29 value 00000000, num =29
Debug: 670 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar30 value 00000000, num =30
Debug: 671 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar32 value 00000000, num =32
Debug: 672 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar33 value 00000000, num =33
Debug: 673 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar35 value 00000000, num =35
Debug: 674 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar36 value 00000000, num =36
Debug: 675 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar37 value 00000000, num =37
Debug: 676 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar38 value 00000000, num =38
Debug: 677 473 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar39 value 00000000, num =39
Debug: 678 474 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar42 value 00000000, num =42
Debug: 679 474 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar43 value 00000000, num =43
Debug: 680 474 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar44 value 00000000, num =44
Debug: 681 474 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar45 value 00000000, num =45
Debug: 682 474 esp32.c:300 esp32_write_dirty_registers(): esp32: Writing back reg ar46 value 00000000, num =46
Debug: 683 475 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 20 bytes to addr 40091CF8
Debug: 684 475 target.c:1915 target_free_working_area_restore(): freed 20 bytes of working area at address 0x40091cf8
Debug: 685 475 target.c:1690 print_wa_layout(): b* 0x40090000-0x40091cf7 (7416 bytes)
Debug: 686 475 target.c:1690 print_wa_layout(): 0x40091cf8-0x400933ff (5896 bytes)
Debug: 687 475 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 7416 bytes to addr 40090000
Debug: 689 505 target.c:1915 target_free_working_area_restore(): freed 7416 bytes of working area at address 0x40090000
Debug: 690 505 target.c:1690 print_wa_layout(): 0x40090000-0x400933ff (13312 bytes)
Debug: 691 505 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 1536 bytes to addr 3FFC0278
Debug: 692 512 target.c:1915 target_free_working_area_restore(): freed 1536 bytes of working area at address 0x3ffc0278
Debug: 693 512 target.c:1690 print_wa_layout(): b* 0x3ffc0000-0x3ffc0277 (632 bytes)
Debug: 694 512 target.c:1690 print_wa_layout(): 0x3ffc0278-0x3ffc5fff (23944 bytes)
Debug: 695 512 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 632 bytes to addr 3FFC0000
Debug: 696 515 target.c:1915 target_free_working_area_restore(): freed 632 bytes of working area at address 0x3ffc0000
Debug: 697 515 target.c:1690 print_wa_layout(): 0x3ffc0000-0x3ffc5fff (24576 bytes)
Debug: 698 515 esp32.c:646 esp32_get_size(): Check algorithm RC
Info : 699 516 esp32.c:1002 esp32_probe(): Auto-detected flash size 4096 KB
Info : 700 516 esp32.c:1005 esp32_probe(): Using flash size 4096 KB
Debug: 701 516 esp32.c:1014 esp32_probe(): allocated 1024 sectors
Debug: 702 516 core.c:718 flash_write_unlock(): image_read_section: section = 0, t_section_num = 0, section_offset = 0, buffer_size = 0, size_read = 128960
Info : 703 516 esp32.c:398 esp32_run_algo(): Use core0 of target 'esp32'
Debug: 704 516 target.c:1827 alloc_working_area_try_do(): allocated new working area of 7416 bytes at address 0x40090000
Debug: 705 516 esp32.c:555 xtensa_read_memory(): esp32: xtensa_read_memory: reading 7416 bytes from addr 40090000
Debug: 706 553 target.c:1690 print_wa_layout(): b* 0x40090000-0x40091cf7 (7416 bytes)
Debug: 707 553 target.c:1690 print_wa_layout(): 0x40091cf8-0x400933ff (5896 bytes)
Debug: 708 553 target.c:2140 target_write_buffer(): writing buffer of 7415 byte at 0x40090000
Debug: 709 553 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 7415 bytes to addr 40090000
Debug: 710 584 target.c:1827 alloc_working_area_try_do(): allocated new working area of 632 bytes at address 0x3ffc0000
Debug: 711 584 esp32.c:555 xtensa_read_memory(): esp32: xtensa_read_memory: reading 632 bytes from addr 3FFC0000
Debug: 712 588 target.c:1690 print_wa_layout(): b* 0x3ffc0000-0x3ffc0277 (632 bytes)
Debug: 713 588 target.c:1690 print_wa_layout(): 0x3ffc0278-0x3ffc5fff (23944 bytes)
Debug: 714 588 target.c:2140 target_write_buffer(): writing buffer of 572 byte at 0x3ffc0000
Debug: 715 588 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 572 bytes to addr 3FFC0000
Debug: 716 591 target.c:1827 alloc_working_area_try_do(): allocated new working area of 1536 bytes at address 0x3ffc0278
Debug: 717 591 esp32.c:555 xtensa_read_memory(): esp32: xtensa_read_memory: reading 1536 bytes from addr 3FFC0278
Debug: 718 598 target.c:1690 print_wa_layout(): b* 0x3ffc0000-0x3ffc0277 (632 bytes)
Debug: 719 598 target.c:1690 print_wa_layout(): b* 0x3ffc0278-0x3ffc0877 (1536 bytes)
Debug: 720 598 target.c:1690 print_wa_layout(): 0x3ffc0878-0x3ffc5fff (22408 bytes)
Debug: 721 598 target.c:1827 alloc_working_area_try_do(): allocated new working area of 20 bytes at address 0x40091cf8
Debug: 722 598 esp32.c:555 xtensa_read_memory(): esp32: xtensa_read_memory: reading 20 bytes from addr 40091CF8
Debug: 723 599 target.c:1690 print_wa_layout(): b* 0x40090000-0x40091cf7 (7416 bytes)
Debug: 724 599 target.c:1690 print_wa_layout(): b* 0x40091cf8-0x40091d0b (20 bytes)
Debug: 725 599 target.c:1690 print_wa_layout(): 0x40091d0c-0x400933ff (5876 bytes)
Debug: 726 599 target.c:2140 target_write_buffer(): writing buffer of 18 byte at 0x40091cf8
Debug: 727 599 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 18 bytes to addr 40091CF8
Debug: 728 599 esp32.c:418 esp32_run_algo(): Stub loaded in 83.384 ms
Debug: 729 599 esp32.c:152 esp32_algo_init_args(): Adjust stack addr 0x3ffc0878
Debug: 730 600 esp32.c:439 esp32_run_algo(): Algorithm start @ 0x40091cf8, stack 1536 bytes @ 0x3ffc0878
Debug: 731 600 target.c:1567 target_call_event_callbacks(): target event 3 (resume-start)
Debug: 732 600 esp32.c:365 xtensa_resume(): esp32: xtensa_resume current=0 address=40091cf8
Debug: 733 600 esp32.c:244 esp32_write_dirty_registers(): cpu0: esp32_write_dirty_registers
Debug: 734 600 esp32.c:252 esp32_write_dirty_registers(): cpu0: Writing back reg pc val 40091CF8
Debug: 735 600 esp32.c:252 esp32_write_dirty_registers(): cpu0: Writing back reg ps val 00060021
Debug: 736 600 esp32.c:285 esp32_write_dirty_registers(): cpu0: Writing back reg a0 value 400905EC, num =1
Debug: 737 600 esp32.c:285 esp32_write_dirty_registers(): cpu0: Writing back reg a1 value 3FFC0870, num =2
Debug: 738 600 esp32.c:285 esp32_write_dirty_registers(): cpu0: Writing back reg a2 value 00000003, num =3
Debug: 739 600 esp32.c:285 esp32_write_dirty_registers(): cpu0: Writing back reg a3 value 00010000, num =4
Debug: 740 600 esp32.c:285 esp32_write_dirty_registers(): cpu0: Writing back reg a4 value 00020000, num =5
Debug: 741 600 esp32.c:244 esp32_write_dirty_registers(): cpu1: esp32_write_dirty_registers
Debug: 742 600 esp32.c:285 esp32_write_dirty_registers(): cpu1: Writing back reg a3 value 3FF00038, num =4
Debug: 743 601 target.c:1567 target_call_event_callbacks(): target event 2 (resumed)
Debug: 744 601 target.c:1567 target_call_event_callbacks(): target event 4 (resume-end)
Debug: 745 601 esp32.c:481 esp32_run_algo(): Wait algorithm completion
Debug: 746 601 target.c:2911 target_wait_state(): waiting for target halted...
Error: 753 3602 target.c:2919 target_wait_state(): timed out while waiting for target halted / 4 - 2
Debug: 754 3602 esp32.c:320 xtensa_halt(): xtensa_halt, target: esp32
Debug: 755 3602 esp32.c:338 xtensa_halt(): Need to halt CPU 0
Debug: 756 3603 esp32.c:1323 xtensa_poll(): Stopped: CPU0: 1 CPU1: 1
Debug: 757 3603 esp32.c:320 xtensa_halt(): xtensa_halt, target: esp32
Debug: 758 3603 esp32.c:348 xtensa_halt(): CPU 0 already halted
Debug: 759 3614 esp32.c:1341 xtensa_poll(): cpu0: Halt reason =0x00000020, temp_cause =00000000, dsr=0x8031cc11, dcrset=0x00030001
Debug: 760 3615 esp32.c:1341 xtensa_poll(): cpu1: Halt reason =0x00000020, temp_cause =00000000, dsr=0x8190cc11, dcrset=0x00030001
Debug: 761 3615 esp32.c:1358 xtensa_poll(): cpu0: Target halted, pc=0x40091138, debug_reason=00000000, oldstate=00000004, active=true
Debug: 762 3615 esp32.c:1358 xtensa_poll(): cpu1: Target halted, pc=0x400076E2, debug_reason=00000000, oldstate=00000004, active=false
Info : 763 3615 esp32.c:1365 xtensa_poll(): Target halted. PRO_CPU: PC=0x40091138 (active) APP_CPU: PC=0x400076E2
Debug: 764 3615 target.c:1567 target_call_event_callbacks(): target event 19 (debug-halted)
Error: 765 3615 esp108_common.c:392 xtensa_wait_algorithm_generic(): xtensa_wait_algorithm: not halted 0, pc 0x40091138, ps 0x60021
Error: 766 3615 esp32.c:488 esp32_run_algo(): Faied to wait algorithm (0)!
Debug: 767 3615 esp32.c:320 xtensa_halt(): xtensa_halt, target: esp32
Debug: 768 3615 esp32.c:348 xtensa_halt(): CPU 0 already halted
Debug: 769 3616 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 20 bytes to addr 40091CF8
Debug: 770 3616 target.c:1915 target_free_working_area_restore(): freed 20 bytes of working area at address 0x40091cf8
Debug: 771 3616 target.c:1690 print_wa_layout(): b* 0x40090000-0x40091cf7 (7416 bytes)
Debug: 772 3616 target.c:1690 print_wa_layout(): 0x40091cf8-0x400933ff (5896 bytes)
Debug: 773 3616 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 7416 bytes to addr 40090000
Debug: 774 3646 target.c:1915 target_free_working_area_restore(): freed 7416 bytes of working area at address 0x40090000
Debug: 775 3646 target.c:1690 print_wa_layout(): 0x40090000-0x400933ff (13312 bytes)
Debug: 776 3646 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 1536 bytes to addr 3FFC0278
Debug: 777 3653 target.c:1915 target_free_working_area_restore(): freed 1536 bytes of working area at address 0x3ffc0278
Debug: 778 3653 target.c:1690 print_wa_layout(): b* 0x3ffc0000-0x3ffc0277 (632 bytes)
Debug: 779 3653 target.c:1690 print_wa_layout(): 0x3ffc0278-0x3ffc5fff (23944 bytes)
Debug: 780 3653 esp32.c:641 xtensa_write_memory(): esp32: xtensa_write_memory: writing 632 bytes to addr 3FFC0000
Debug: 781 3656 target.c:1915 target_free_working_area_restore(): freed 632 bytes of working area at address 0x3ffc0000
Debug: 782 3656 target.c:1690 print_wa_layout(): 0x3ffc0000-0x3ffc5fff (24576 bytes)
Error: 783 3656 esp32.c:688 esp32_erase(): Algorithm run faied (-302)!
Error: 784 3656 core.c:45 flash_driver_erase(): failed erasing sectors 16 to 47
Debug: 785 3656 command.c:626 run_command(): Command failed with error code -302
Debug: 786 3656 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_echo ** Programming Failed **
Debug: 787 3656 command.c:143 script_debug(): command - echo ocd_echo ** Programming Failed **
User : 789 3657 command.c:762 jim_echo(): ** Programming Failed **
Debug: 790 3657 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_shutdown error
Debug: 791 3657 command.c:143 script_debug(): command - shutdown ocd_shutdown error
User : 793 3658 server.c:627 handle_shutdown_command(): shutdown command invoked
Debug: 794 3658 command.c:626 run_command(): Command failed with error code -4
User : 795 3658 command.c:687 command_run_line():
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment