Skip to content

Instantly share code, notes, and snippets.

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