User : 14 2 options.c:57 configuration_output_handler(): debug_level: 3 User : 15 2 options.c:57 configuration_output_handler(): Debug: 16 2 options.c:181 add_default_dirs(): bindir=/usr/local/bin Debug: 17 2 options.c:182 add_default_dirs(): pkgdatadir=/usr/local/share/openocd Debug: 18 3 options.c:183 add_default_dirs(): exepath=/Users/romanvg/.espressif/tools/openocd-esp32/v0.10.0-esp32-20201202/openocd-esp32/bin Debug: 19 3 options.c:184 add_default_dirs(): bin2data=../share/openocd Debug: 20 3 configuration.c:42 add_script_search_dir(): adding /Users/romanvg/.openocd Debug: 21 3 configuration.c:42 add_script_search_dir(): adding /Users/romanvg/.espressif/tools/openocd-esp32/v0.10.0-esp32-20201202/openocd-esp32/share/openocd/scripts Debug: 22 3 configuration.c:42 add_script_search_dir(): adding /Users/romanvg/.espressif/tools/openocd-esp32/v0.10.0-esp32-20201202/openocd-esp32/bin/../share/openocd/site Debug: 23 3 configuration.c:42 add_script_search_dir(): adding /Users/romanvg/.espressif/tools/openocd-esp32/v0.10.0-esp32-20201202/openocd-esp32/bin/../share/openocd/scripts Debug: 24 3 configuration.c:97 find_file(): found /Users/romanvg/.espressif/tools/openocd-esp32/v0.10.0-esp32-20201202/openocd-esp32/share/openocd/scripts/interface/remote_bitbang.cfg Debug: 25 3 command.c:143 script_debug(): command - interface interface remote_bitbang Debug: 27 3 command.c:355 register_command_handler(): registering 'remote_bitbang_port'... Debug: 28 3 command.c:355 register_command_handler(): registering 'remote_bitbang_host'... Info : 29 3 transport.c:117 allow_transports(): only one transport option; autoselect 'jtag' Debug: 30 3 command.c:355 register_command_handler(): registering 'jtag_flush_queue_sleep'... Debug: 31 3 command.c:355 register_command_handler(): registering 'jtag_rclk'... Debug: 32 3 command.c:355 register_command_handler(): registering 'jtag_ntrst_delay'... Debug: 33 3 command.c:355 register_command_handler(): registering 'jtag_ntrst_assert_width'... Debug: 34 3 command.c:355 register_command_handler(): registering 'scan_chain'... Debug: 35 3 command.c:355 register_command_handler(): registering 'jtag_reset'... Debug: 36 3 command.c:355 register_command_handler(): registering 'runtest'... Debug: 37 3 command.c:355 register_command_handler(): registering 'irscan'... Debug: 38 3 command.c:355 register_command_handler(): registering 'verify_ircapture'... Debug: 39 3 command.c:355 register_command_handler(): registering 'verify_jtag'... Debug: 40 3 command.c:355 register_command_handler(): registering 'tms_sequence'... Debug: 41 3 command.c:355 register_command_handler(): registering 'wait_srst_deassert'... Debug: 42 3 command.c:355 register_command_handler(): registering 'jtag'... Debug: 43 3 command.c:355 register_command_handler(): registering 'jtag'... Debug: 44 3 command.c:355 register_command_handler(): registering 'jtag'... Debug: 45 3 command.c:355 register_command_handler(): registering 'jtag'... Debug: 46 3 command.c:355 register_command_handler(): registering 'jtag'... Debug: 47 3 command.c:355 register_command_handler(): registering 'jtag'... Debug: 48 3 command.c:355 register_command_handler(): registering 'jtag'... Debug: 49 3 command.c:355 register_command_handler(): registering 'jtag'... Debug: 50 3 command.c:355 register_command_handler(): registering 'jtag'... Debug: 51 3 command.c:355 register_command_handler(): registering 'jtag'... Debug: 52 3 command.c:355 register_command_handler(): registering 'jtag'... Debug: 53 3 command.c:355 register_command_handler(): registering 'jtag'... Debug: 54 3 command.c:355 register_command_handler(): registering 'jtag'... Debug: 55 3 command.c:355 register_command_handler(): registering 'svf'... Debug: 56 3 command.c:355 register_command_handler(): registering 'xsvf'... Debug: 57 3 command.c:143 script_debug(): command - adapter_khz adapter_khz 100 Debug: 59 3 core.c:1704 jtag_config_khz(): handle jtag khz Debug: 60 3 core.c:1667 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 61 3 core.c:1667 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 62 3 command.c:143 script_debug(): command - remote_bitbang_port remote_bitbang_port 5555 Debug: 64 3 configuration.c:97 find_file(): found /Users/romanvg/.espressif/tools/openocd-esp32/v0.10.0-esp32-20201202/openocd-esp32/share/openocd/scripts/target/esp32s2.cfg.orig Debug: 65 3 command.c:143 script_debug(): command - transport transport select jtag Warn : 66 3 transport.c:297 jim_transport_select(): Transport "jtag" was already selected Debug: 67 3 configuration.c:97 find_file(): found /Users/romanvg/.espressif/tools/openocd-esp32/v0.10.0-esp32-20201202/openocd-esp32/share/openocd/scripts/target/esp_common.cfg Debug: 68 4 command.c:143 script_debug(): command - add_help_text add_help_text program_esp write an image to flash, address is only required for binary images. verify, reset, exit are optional Debug: 70 4 command.c:1127 help_add_command(): added 'program_esp' help text Debug: 71 4 command.c:143 script_debug(): command - add_usage_text add_usage_text program_esp [address] [verify] [reset] [exit] Debug: 73 4 command.c:1153 help_add_command(): added 'program_esp' usage text Debug: 74 4 command.c:143 script_debug(): command - add_help_text add_help_text program_esp_bins write all the images at address specified in flasher_args.json generated while building idf project Debug: 76 4 command.c:1127 help_add_command(): added 'program_esp_bins' help text Debug: 77 4 command.c:143 script_debug(): command - add_usage_text add_usage_text program_esp_bins flasher_args.json [verify] [reset] [exit] Debug: 79 4 command.c:1153 help_add_command(): added 'program_esp_bins' usage text Debug: 80 4 command.c:143 script_debug(): command - add_help_text add_help_text esp_get_mac Print MAC address of the chip from EFUSE_BLK0_RDATA1_REG and EFUSE_BLK0_RDATA2_REG. Use a `format` argument to return formatted MAC value Debug: 82 4 command.c:1127 help_add_command(): added 'esp_get_mac' help text Debug: 83 4 command.c:143 script_debug(): command - add_usage_text add_usage_text esp_get_mac [format] Debug: 85 4 command.c:1153 help_add_command(): added 'esp_get_mac' usage text Debug: 86 4 command.c:143 script_debug(): command - jtag jtag newtap esp32s2 cpu -irlen 5 -expected-id 0x120034e5 Debug: 87 4 tcl.c:567 jim_newtap_cmd(): Creating New Tap, Chip: esp32s2, Tap: cpu, Dotted: esp32s2.cpu, 4 params Debug: 88 4 tcl.c:591 jim_newtap_cmd(): Processing option: -irlen Debug: 89 4 tcl.c:591 jim_newtap_cmd(): Processing option: -expected-id Debug: 90 4 core.c:1372 jtag_tap_init(): Created Tap: esp32s2.cpu @ abs position 0, irlen 5, capture: 0x1 mask: 0x3 Debug: 91 4 command.c:143 script_debug(): command - target target create esp32s2 esp32s2 -endian little -chain-position esp32s2.cpu -rtos FreeRTOS Debug: 92 4 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas Debug: 93 4 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas Info : 94 4 FreeRTOS.c:1056 FreeRTOS_create(): FreeRTOS creation Debug: 95 4 command.c:355 register_command_handler(): registering 'xtensa'... Debug: 96 4 command.c:355 register_command_handler(): registering 'xtensa'... Debug: 97 4 command.c:355 register_command_handler(): registering 'xtensa'... Debug: 98 4 command.c:355 register_command_handler(): registering 'xtensa'... Debug: 99 4 command.c:355 register_command_handler(): registering 'xtensa'... Debug: 100 4 command.c:355 register_command_handler(): registering 'xtensa'... Debug: 101 4 command.c:355 register_command_handler(): registering 'xtensa'... Debug: 102 4 command.c:355 register_command_handler(): registering 'xtensa'... Debug: 103 4 command.c:355 register_command_handler(): registering 'esp'... Debug: 104 4 command.c:355 register_command_handler(): registering 'esp'... Debug: 105 4 command.c:355 register_command_handler(): registering 'esp'... Debug: 106 4 command.c:355 register_command_handler(): registering 'esp'... Debug: 107 4 command.c:355 register_command_handler(): registering 'esp'... Debug: 108 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 109 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 110 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 111 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 112 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 113 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 114 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 115 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 116 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 117 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 118 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 119 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 120 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 121 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 122 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 123 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 124 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 125 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 126 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 127 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 128 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 129 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 130 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 131 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 132 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 133 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 134 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 135 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 136 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 137 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 138 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 139 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 140 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 141 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 142 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 143 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 144 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 145 4 command.c:355 register_command_handler(): registering 'esp32s2'... Debug: 146 4 command.c:143 script_debug(): command - esp32s2 esp32s2 configure -work-area-phys 0x40030000 -work-area-virt 0x40030000 -work-area-size 0x3400 -work-area-backup 1 Debug: 147 4 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas Debug: 148 4 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas Debug: 149 4 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas Debug: 150 4 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas Debug: 151 4 command.c:143 script_debug(): command - esp32s2 esp32s2 configure -alt-work-area-phys 0x3FFE0000 -alt-work-area-virt 0x3FFE0000 -alt-work-area-size 0x6000 -alt-work-area-backup 1 Debug: 152 4 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas Debug: 153 4 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas Debug: 154 4 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas Debug: 155 4 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas Debug: 156 4 command.c:143 script_debug(): command - flash flash bank esp32s2.flash esp32s2 0x0 0 0 0 esp32s2 Debug: 158 4 command.c:377 register_command(): command 'esp' is already registered in '' context Debug: 159 4 command.c:355 register_command_handler(): registering 'esp'... Debug: 160 4 tcl.c:1156 handle_flash_bank_command(): 'esp32s2' driver usage field missing Debug: 161 4 command.c:143 script_debug(): command - flash flash bank esp32s2.irom esp32s2 0x0 0 0 0 esp32s2 Debug: 163 4 command.c:377 register_command(): command 'esp' is already registered in '' context Debug: 164 4 command.c:377 register_command(): command 'appimage_offset' is already registered in 'esp' context Debug: 165 4 tcl.c:1156 handle_flash_bank_command(): 'esp32s2' driver usage field missing Debug: 166 4 command.c:143 script_debug(): command - flash flash bank esp32s2.drom esp32s2 0x0 0 0 0 esp32s2 Debug: 168 4 command.c:377 register_command(): command 'esp' is already registered in '' context Debug: 169 4 command.c:377 register_command(): command 'appimage_offset' is already registered in 'esp' context Debug: 170 4 tcl.c:1156 handle_flash_bank_command(): 'esp32s2' driver usage field missing Debug: 171 4 command.c:143 script_debug(): command - xtensa xtensa maskisr on Debug: 173 4 command.c:143 script_debug(): command - esp esp semihost_basedir . Info : 175 5 server.c:311 add_service(): Listening on port 6666 for tcl connections Info : 176 5 server.c:311 add_service(): Listening on port 4444 for telnet connections Debug: 177 5 command.c:143 script_debug(): command - init init Debug: 179 5 command.c:143 script_debug(): command - target target init Debug: 181 5 command.c:143 script_debug(): command - target target names Debug: 182 5 command.c:143 script_debug(): command - esp32s2 esp32s2 cget -event gdb-flash-erase-start Debug: 183 5 command.c:143 script_debug(): command - esp32s2 esp32s2 configure -event gdb-flash-erase-start reset init Debug: 184 5 command.c:143 script_debug(): command - esp32s2 esp32s2 cget -event gdb-flash-write-end Debug: 185 5 command.c:143 script_debug(): command - esp32s2 esp32s2 configure -event gdb-flash-write-end reset halt Debug: 186 5 command.c:143 script_debug(): command - esp32s2 esp32s2 cget -event gdb-attach Debug: 187 5 command.c:143 script_debug(): command - esp32s2 esp32s2 configure -event gdb-attach halt Debug: 188 5 target.c:1448 handle_target_init_command(): Initializing targets... Debug: 189 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'lbeg' (65) does not exist Debug: 190 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'lend' (66) does not exist Debug: 191 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'lcount' (67) does not exist Debug: 192 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'br' (75) does not exist Debug: 193 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'scompare1' (76) does not exist Debug: 194 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'acclo' (77) does not exist Debug: 195 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'acchi' (78) does not exist Debug: 196 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'm0' (79) does not exist Debug: 197 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'm1' (80) does not exist Debug: 198 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'm2' (81) does not exist Debug: 199 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'm3' (82) does not exist Debug: 200 5 xtensa.c:2359 xtensa_build_reg_cache(): FP reg 'f0' (83) does not exist Debug: 201 5 xtensa.c:2359 xtensa_build_reg_cache(): FP reg 'f1' (84) does not exist Debug: 202 5 xtensa.c:2359 xtensa_build_reg_cache(): FP reg 'f2' (85) does not exist Debug: 203 5 xtensa.c:2359 xtensa_build_reg_cache(): FP reg 'f3' (86) does not exist Debug: 204 5 xtensa.c:2359 xtensa_build_reg_cache(): FP reg 'f4' (87) does not exist Debug: 205 5 xtensa.c:2359 xtensa_build_reg_cache(): FP reg 'f5' (88) does not exist Debug: 206 5 xtensa.c:2359 xtensa_build_reg_cache(): FP reg 'f6' (89) does not exist Debug: 207 5 xtensa.c:2359 xtensa_build_reg_cache(): FP reg 'f7' (90) does not exist Debug: 208 5 xtensa.c:2359 xtensa_build_reg_cache(): FP reg 'f8' (91) does not exist Debug: 209 5 xtensa.c:2359 xtensa_build_reg_cache(): FP reg 'f9' (92) does not exist Debug: 210 5 xtensa.c:2359 xtensa_build_reg_cache(): FP reg 'f10' (93) does not exist Debug: 211 5 xtensa.c:2359 xtensa_build_reg_cache(): FP reg 'f11' (94) does not exist Debug: 212 5 xtensa.c:2359 xtensa_build_reg_cache(): FP reg 'f12' (95) does not exist Debug: 213 5 xtensa.c:2359 xtensa_build_reg_cache(): FP reg 'f13' (96) does not exist Debug: 214 5 xtensa.c:2359 xtensa_build_reg_cache(): FP reg 'f14' (97) does not exist Debug: 215 5 xtensa.c:2359 xtensa_build_reg_cache(): FP reg 'f15' (98) does not exist Debug: 216 5 xtensa.c:2354 xtensa_build_reg_cache(): User reg 'fcr' (99) does not exist Debug: 217 5 xtensa.c:2354 xtensa_build_reg_cache(): User reg 'fsr' (100) does not exist Debug: 218 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'atomctl' (104) does not exist Debug: 219 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'litbase' (152) does not exist Debug: 220 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'ptevaddr' (153) does not exist Debug: 221 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'rasid' (154) does not exist Debug: 222 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'itlbcfg' (155) does not exist Debug: 223 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'dtlbcfg' (156) does not exist Debug: 224 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'mepc' (157) does not exist Debug: 225 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'meps' (158) does not exist Debug: 226 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'mesave' (159) does not exist Debug: 227 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'mesr' (160) does not exist Debug: 228 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'mecr' (161) does not exist Debug: 229 5 xtensa.c:2366 xtensa_build_reg_cache(): Special reg 'mevaddr' (162) does not exist Debug: 230 5 semihosting_common.c:98 semihosting_common_init(): Debug: 231 5 command.c:355 register_command_handler(): registering 'target_request'... Debug: 232 5 command.c:355 register_command_handler(): registering 'trace'... Debug: 233 5 command.c:355 register_command_handler(): registering 'trace'... Debug: 234 5 command.c:355 register_command_handler(): registering 'fast_load_image'... Debug: 235 5 command.c:355 register_command_handler(): registering 'fast_load'... Debug: 236 5 command.c:355 register_command_handler(): registering 'profile'... Debug: 237 5 command.c:355 register_command_handler(): registering 'virt2phys'... Debug: 238 5 command.c:355 register_command_handler(): registering 'reg'... Debug: 239 5 command.c:355 register_command_handler(): registering 'poll'... Debug: 240 5 command.c:355 register_command_handler(): registering 'wait_halt'... Debug: 241 5 command.c:355 register_command_handler(): registering 'halt'... Debug: 242 5 command.c:355 register_command_handler(): registering 'resume'... Debug: 243 5 command.c:355 register_command_handler(): registering 'reset'... Debug: 244 5 command.c:355 register_command_handler(): registering 'soft_reset_halt'... Debug: 245 5 command.c:355 register_command_handler(): registering 'step'... Debug: 246 5 command.c:355 register_command_handler(): registering 'mdd'... Debug: 247 5 command.c:355 register_command_handler(): registering 'mdw'... Debug: 248 5 command.c:355 register_command_handler(): registering 'mdh'... Debug: 249 5 command.c:355 register_command_handler(): registering 'mdb'... Debug: 250 5 command.c:355 register_command_handler(): registering 'mwd'... Debug: 251 5 command.c:355 register_command_handler(): registering 'mww'... Debug: 252 5 command.c:355 register_command_handler(): registering 'mwh'... Debug: 253 5 command.c:355 register_command_handler(): registering 'mwb'... Debug: 254 5 command.c:355 register_command_handler(): registering 'bp'... Debug: 255 5 command.c:355 register_command_handler(): registering 'rbp'... Debug: 256 6 command.c:355 register_command_handler(): registering 'wp'... Debug: 257 6 command.c:355 register_command_handler(): registering 'rwp'... Debug: 258 6 command.c:355 register_command_handler(): registering 'load_image'... Debug: 259 6 command.c:355 register_command_handler(): registering 'dump_image'... Debug: 260 6 command.c:355 register_command_handler(): registering 'verify_image_checksum'... Debug: 261 6 command.c:355 register_command_handler(): registering 'verify_image'... Debug: 262 6 command.c:355 register_command_handler(): registering 'test_image'... Debug: 263 6 command.c:355 register_command_handler(): registering 'reset_nag'... Debug: 264 6 command.c:355 register_command_handler(): registering 'ps'... Debug: 265 6 command.c:355 register_command_handler(): registering 'test_mem_access'... Info : 266 6 remote_bitbang.c:283 remote_bitbang_init(): Initializing remote_bitbang driver Info : 267 6 remote_bitbang.c:214 remote_bitbang_init_tcp(): Connecting to localhost:5555 Info : 268 6 remote_bitbang.c:299 remote_bitbang_init(): remote_bitbang driver initialized Info : 269 6 core.c:1420 adapter_init(): This adapter doesn't support configurable speed Debug: 270 6 openocd.c:141 handle_init_command(): Debug Adapter init complete Debug: 271 6 command.c:143 script_debug(): command - transport transport init Debug: 273 6 transport.c:239 handle_transport_init(): handle_transport_init Debug: 274 7 core.c:729 jtag_add_reset(): SRST line released Debug: 275 7 core.c:753 jtag_add_reset(): TRST line released Debug: 276 7 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 277 7 command.c:143 script_debug(): command - jtag jtag arp_init Debug: 278 7 core.c:1462 jtag_init_inner(): Init JTAG chain Debug: 279 7 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 280 7 core.c:1128 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS Debug: 281 7 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Info : 282 100 core.c:1027 jtag_examine_chain_display(): JTAG tap: esp32s2.cpu tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1) Debug: 283 100 core.c:1258 jtag_validate_ircapture(): IR capture validation scan Debug: 284 103 core.c:1316 jtag_validate_ircapture(): esp32s2.cpu: IR capture 0x01 Debug: 285 103 command.c:143 script_debug(): command - dap dap init Debug: 287 103 arm_dap.c:106 dap_init_all(): Initializing all DAPs ... Debug: 288 103 openocd.c:158 handle_init_command(): Examining targets... Debug: 289 103 target.c:1636 target_call_event_callbacks(): target event 17 (examine-start) for core esp32s2 Debug: 290 103 esp32s2.c:621 esp32s2_handle_target_event(): 17 Debug: 291 103 esp_xtensa.c:109 esp_xtensa_handle_target_event(): 17 Debug: 292 103 xtensa.c:2433 xtensa_handle_target_event(): 17 Debug: 293 103 xtensa.c:685 xtensa_examine(): xtensa_examine coreid=0 Debug: 294 112 xtensa.c:698 xtensa_examine(): OCD_ID = 03339fd2 Debug: 295 112 target.c:1636 target_call_event_callbacks(): target event 18 (examine-end) for core esp32s2 Debug: 296 112 esp32s2.c:621 esp32s2_handle_target_event(): 18 Debug: 297 112 esp_xtensa.c:109 esp_xtensa_handle_target_event(): 18 Debug: 298 112 xtensa.c:2433 xtensa_handle_target_event(): 18 Debug: 299 112 xtensa.c:726 xtensa_smpbreak_write(): esp32s2: write smpbreak set=0x0 clear=0x630000 Debug: 300 112 command.c:143 script_debug(): command - flash flash init Debug: 301 136 xtensa.c:889 xtensa_fetch_all_regs(): esp32s2: start Debug: 302 1210 xtensa.c:787 xtensa_core_status_check(): esp32s2: DSR (FFFFFFFF) Error: 303 1210 xtensa.c:791 xtensa_core_status_check(): esp32s2: DSR (FFFFFFFF) indicates target still busy! Error: 304 1210 xtensa.c:799 xtensa_core_status_check(): esp32s2: DSR (FFFFFFFF) indicates DIR instruction generated an exception! Error: 305 1210 xtensa.c:806 xtensa_core_status_check(): esp32s2: DSR (FFFFFFFF) indicates DIR instruction generated an overrun! Debug: 306 2295 xtensa.c:787 xtensa_core_status_check(): esp32s2: DSR (FFFFFFFF) Error: 307 2295 xtensa.c:791 xtensa_core_status_check(): esp32s2: DSR (FFFFFFFF) indicates target still busy! Error: 308 2295 xtensa.c:799 xtensa_core_status_check(): esp32s2: DSR (FFFFFFFF) indicates DIR instruction generated an exception! Error: 309 2295 xtensa.c:806 xtensa_core_status_check(): esp32s2: DSR (FFFFFFFF) indicates DIR instruction generated an overrun! Error: 310 2295 xtensa.c:982 xtensa_fetch_all_regs(): Exception reading pc! Debug: 311 2295 xtensa.c:1847 xtensa_poll(): esp32s2: Target halted, pc=0x00000000, debug_reason=00000000, oldstate=00000001 Debug: 312 2295 xtensa.c:1852 xtensa_poll(): esp32s2: Halt reason=0x00000000, exc_cause=0, dsr=0xffffffff Info : 313 2295 xtensa.c:1855 xtensa_poll(): esp32s2: Target halted, PC=0x00000000, debug_reason=00000000 Debug: 314 2305 target.c:1636 target_call_event_callbacks(): target event 0 (gdb-halt) for core esp32s2 Debug: 315 2305 esp32s2.c:621 esp32s2_handle_target_event(): 0 Debug: 316 2305 esp_xtensa.c:109 esp_xtensa_handle_target_event(): 0 Debug: 317 2305 xtensa.c:2433 xtensa_handle_target_event(): 0 Debug: 318 2305 target.c:1636 target_call_event_callbacks(): target event 1 (halted) for core esp32s2 Debug: 319 2305 esp32s2.c:621 esp32s2_handle_target_event(): 1 Debug: 320 2305 esp_xtensa.c:109 esp_xtensa_handle_target_event(): 1 Debug: 321 2305 xtensa.c:2433 xtensa_handle_target_event(): 1 Debug: 322 2305 esp_xtensa.c:246 esp_xtensa_dbgstubs_info_update(): esp32s2: Read debug stubs info 0 / 0 Debug: 323 2305 target.c:2537 target_write_u32(): address: 0x3f41f064, value: 0x50d83aa1 Debug: 324 2325 xtensa.c:787 xtensa_core_status_check(): esp32s2: DSR (FFFFFFFF) Error: 325 2325 xtensa.c:791 xtensa_core_status_check(): esp32s2: DSR (FFFFFFFF) indicates target still busy! Error: 326 2325 xtensa.c:799 xtensa_core_status_check(): esp32s2: DSR (FFFFFFFF) indicates DIR instruction generated an exception! Error: 327 2325 xtensa.c:806 xtensa_core_status_check(): esp32s2: DSR (FFFFFFFF) indicates DIR instruction generated an overrun! Warn : 328 2325 xtensa.c:1752 xtensa_write_memory(): esp32s2: Failed writing 4 bytes at address 0x3f41f064 Debug: 329 2325 target.c:2542 target_write_u32(): failed: -4 Error: 330 2325 esp32s2.c:510 esp32s2_disable_wdts(): Failed to write ESP32_S2_TIMG0WDT_PROTECT (-4)! Debug: 332 2325 tcl.c:1222 handle_flash_init_command(): Initializing flash devices... Debug: 333 2325 command.c:355 register_command_handler(): registering 'flash'... Debug: 334 2325 command.c:355 register_command_handler(): registering 'flash'... Debug: 335 2325 command.c:355 register_command_handler(): registering 'flash'... Debug: 336 2325 command.c:355 register_command_handler(): registering 'flash'... Debug: 337 2325 command.c:355 register_command_handler(): registering 'flash'... Debug: 338 2325 command.c:355 register_command_handler(): registering 'flash'... Debug: 339 2325 command.c:355 register_command_handler(): registering 'flash'... Debug: 340 2325 command.c:355 register_command_handler(): registering 'flash'... Debug: 341 2325 command.c:355 register_command_handler(): registering 'flash'... Debug: 342 2325 command.c:355 register_command_handler(): registering 'flash'... Debug: 343 2325 command.c:355 register_command_handler(): registering 'flash'... Debug: 344 2325 command.c:355 register_command_handler(): registering 'flash'... Debug: 345 2325 command.c:355 register_command_handler(): registering 'flash'... Debug: 346 2325 command.c:355 register_command_handler(): registering 'flash'... Debug: 347 2325 command.c:143 script_debug(): command - nand nand init Debug: 348 2325 log.c:409 keep_alive(): keep_alive() was not invoked in the 1000ms timelimit (2325). This may cause trouble with GDB connections. Debug: 351 2360 tcl.c:498 handle_nand_init_command(): Initializing NAND devices... Debug: 352 2360 command.c:143 script_debug(): command - pld pld init Debug: 354 2386 pld.c:206 handle_pld_init_command(): Initializing PLDs... Debug: 355 2386 gdb_server.c:3584 gdb_target_start(): starting gdb server for esp32s2 on 3333 Info : 356 2386 server.c:311 add_service(): Listening on port 3333 for gdb connections Debug: 357 36124 xtensa.c:1818 xtensa_poll(): esp32s2: not powered 0x0 0 Info : 358 42946 server.c:100 add_connection(): accepting 'gdb' connection on tcp/3333 Debug: 359 42947 breakpoints.c:358 breakpoint_clear_target_internal(): Delete all breakpoints for target: esp32s2 Debug: 360 42947 breakpoints.c:552 watchpoint_clear_target(): Delete all watchpoints for target: esp32s2 Debug: 361 42947 FreeRTOS.c:1018 FreeRTOS_clean(): FreeRTOS_clean Debug: 362 42947 FreeRTOS.c:491 FreeRTOS_update_threads(): FreeRTOS_update_threads Warn : 363 42947 FreeRTOS.c:497 FreeRTOS_update_threads(): No symbols for FreeRTOS! Debug: 364 42948 target.c:1636 target_call_event_callbacks(): target event 19 (gdb-attach) for core esp32s2 Debug: 365 42948 target.c:4637 target_handle_event(): target(0): esp32s2 (esp32s2) event: 19 (gdb-attach) action: halt Debug: 366 42948 command.c:143 script_debug(): command - halt halt Debug: 368 42948 target.c:3133 handle_halt_command(): - Error: 369 42948 target.c:587 target_halt(): Target not examined yet Debug: 370 42948 command.c:630 run_command(): Command 'halt' failed with error code -4 User : 371 42948 target.c:4656 target_handle_event(): Error executing event gdb-attach on target esp32s2: Debug: 372 42948 esp32s2.c:621 esp32s2_handle_target_event(): 19 Debug: 373 42948 esp_xtensa.c:109 esp_xtensa_handle_target_event(): 19 Debug: 374 42948 xtensa.c:2433 xtensa_handle_target_event(): 19 Error: 375 42948 esp_xtensa.c:717 esp_xtensa_probe(): Target not halted Error: 376 42948 core.c:263 get_flash_bank_by_num(): auto_probe failed Error: 377 42948 gdb_server.c:1003 gdb_new_connection(): Connect failed. Consider setting up a gdb-attach event for the target to prepare target for GDB connect, or use 'gdb_memory_map disable'. Error: 378 42948 server.c:104 add_connection(): attempted 'gdb' connection rejected Debug: 379 68418 server.c:609 sig_handler(): Terminating on Signal 2 Debug: 380 68419 command.c:143 script_debug(): command - shutdown shutdown User : 382 68419 server.c:742 handle_shutdown_command(): shutdown command invoked Debug: 383 68419 esp_xtensa.c:189 esp_xtensa_target_deinit(): start Debug: 384 68419 xtensa.c:2518 xtensa_target_deinit(): start Debug: 385 68419 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas Info : 386 68419 remote_bitbang.c:120 remote_bitbang_quit(): remote_bitbang interface quit