Skip to content

Instantly share code, notes, and snippets.

@luizribeiro
Created March 28, 2021 14:34
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 luizribeiro/e69ba8896c5514e4d87fa530bf07a307 to your computer and use it in GitHub Desktop.
Save luizribeiro/e69ba8896c5514e4d87fa530bf07a307 to your computer and use it in GitHub Desktop.
% /home/luiz/openocd-esp32/src/openocd -d3 -s /home/luiz/openocd-esp32/tcl -f interface/jlink.cfg -f target/esp32s2.cfg -c "adapter_khz 1000" -c "program_esp {{/home/luiz/hw-sandbox/esp32-s2/.pio/build/esp32doit-devkit-v1/firmware.bin}} 0x10000 verify" -c "reset run; shutdown" 2> output.txt
Open On-Chip Debugger v0.10.0-esp32-20201202-33-gc32f3b57 (2021-03-28-08:55)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
User : 13 2 options.c:57 configuration_output_handler(): debug_level: 3
User : 14 2 options.c:57 configuration_output_handler():
Debug: 15 2 configuration.c:42 add_script_search_dir(): adding /home/luiz/openocd-esp32/tcl
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 2 options.c:183 add_default_dirs(): exepath=/home/luiz/openocd-esp32/src
Debug: 19 2 options.c:184 add_default_dirs(): bin2data=../share/openocd
Debug: 20 2 configuration.c:42 add_script_search_dir(): adding /home/luiz/.openocd
Debug: 21 2 configuration.c:42 add_script_search_dir(): adding /home/luiz/openocd-esp32/src/../share/openocd/site
Debug: 22 2 configuration.c:42 add_script_search_dir(): adding /home/luiz/openocd-esp32/src/../share/openocd/scripts
Debug: 23 2 configuration.c:97 find_file(): found /home/luiz/openocd-esp32/tcl/interface/jlink.cfg
Debug: 24 2 command.c:143 script_debug(): command - interface interface jlink
Debug: 26 2 command.c:355 register_command_handler(): registering 'jlink'...
Debug: 27 2 command.c:355 register_command_handler(): registering 'jlink'...
Debug: 28 2 command.c:355 register_command_handler(): registering 'jlink'...
Debug: 29 2 command.c:355 register_command_handler(): registering 'jlink'...
Debug: 30 2 command.c:355 register_command_handler(): registering 'jlink'...
Debug: 31 2 command.c:355 register_command_handler(): registering 'jlink'...
Debug: 32 2 command.c:355 register_command_handler(): registering 'jlink'...
Debug: 33 2 command.c:355 register_command_handler(): registering 'jlink'...
Debug: 34 2 command.c:355 register_command_handler(): registering 'jlink'...
Debug: 35 2 command.c:355 register_command_handler(): registering 'jlink'...
Debug: 36 2 command.c:355 register_command_handler(): registering 'jlink'...
Debug: 37 2 command.c:355 register_command_handler(): registering 'jlink'...
Debug: 38 2 command.c:355 register_command_handler(): registering 'jlink'...
Debug: 39 2 command.c:355 register_command_handler(): registering 'jlink'...
Debug: 40 2 command.c:355 register_command_handler(): registering 'jlink'...
Debug: 41 2 command.c:355 register_command_handler(): registering 'jlink'...
Debug: 42 2 configuration.c:97 find_file(): found /home/luiz/openocd-esp32/tcl/target/esp32s2.cfg
Debug: 43 2 command.c:143 script_debug(): command - transport transport select jtag
Debug: 44 2 command.c:355 register_command_handler(): registering 'jtag_flush_queue_sleep'...
Debug: 45 2 command.c:355 register_command_handler(): registering 'jtag_rclk'...
Debug: 46 2 command.c:355 register_command_handler(): registering 'jtag_ntrst_delay'...
Debug: 47 2 command.c:355 register_command_handler(): registering 'jtag_ntrst_assert_width'...
Debug: 48 2 command.c:355 register_command_handler(): registering 'scan_chain'...
Debug: 49 2 command.c:355 register_command_handler(): registering 'jtag_reset'...
Debug: 50 2 command.c:355 register_command_handler(): registering 'runtest'...
Debug: 51 2 command.c:355 register_command_handler(): registering 'irscan'...
Debug: 52 2 command.c:355 register_command_handler(): registering 'verify_ircapture'...
Debug: 53 2 command.c:355 register_command_handler(): registering 'verify_jtag'...
Debug: 54 2 command.c:355 register_command_handler(): registering 'tms_sequence'...
Debug: 55 2 command.c:355 register_command_handler(): registering 'wait_srst_deassert'...
Debug: 56 2 command.c:355 register_command_handler(): registering 'jtag'...
Debug: 57 2 command.c:355 register_command_handler(): registering 'jtag'...
Debug: 58 2 command.c:355 register_command_handler(): registering 'jtag'...
Debug: 59 2 command.c:355 register_command_handler(): registering 'jtag'...
Debug: 60 2 command.c:355 register_command_handler(): registering 'jtag'...
Debug: 61 2 command.c:355 register_command_handler(): registering 'jtag'...
Debug: 62 2 command.c:355 register_command_handler(): registering 'jtag'...
Debug: 63 2 command.c:355 register_command_handler(): registering 'jtag'...
Debug: 64 2 command.c:355 register_command_handler(): registering 'jtag'...
Debug: 65 2 command.c:355 register_command_handler(): registering 'jtag'...
Debug: 66 2 command.c:355 register_command_handler(): registering 'jtag'...
Debug: 67 3 command.c:355 register_command_handler(): registering 'jtag'...
Debug: 68 3 command.c:355 register_command_handler(): registering 'jtag'...
Debug: 69 3 command.c:355 register_command_handler(): registering 'svf'...
Debug: 70 3 command.c:355 register_command_handler(): registering 'xsvf'...
Debug: 71 3 configuration.c:97 find_file(): found /home/luiz/openocd-esp32/tcl/target/esp_common.cfg
Debug: 72 3 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, compress are optional
Debug: 74 3 command.c:1127 help_add_command(): added 'program_esp' help text
Debug: 75 3 command.c:143 script_debug(): command - add_usage_text add_usage_text program_esp <filename> [address] [verify] [reset] [exit] [compress]
Debug: 77 3 command.c:1153 help_add_command(): added 'program_esp' usage text
Debug: 78 3 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: 80 3 command.c:1127 help_add_command(): added 'program_esp_bins' help text
Debug: 81 3 command.c:143 script_debug(): command - add_usage_text add_usage_text program_esp_bins <build_dir> flasher_args.json [verify] [reset] [exit] [compress]
Debug: 83 3 command.c:1153 help_add_command(): added 'program_esp_bins' usage text
Debug: 84 3 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: 86 3 command.c:1127 help_add_command(): added 'esp_get_mac' help text
Debug: 87 3 command.c:143 script_debug(): command - add_usage_text add_usage_text esp_get_mac [format]
Debug: 89 3 command.c:1153 help_add_command(): added 'esp_get_mac' usage text
Debug: 90 3 command.c:143 script_debug(): command - jtag jtag newtap esp32s2 cpu -irlen 5 -expected-id 0x120034e5
Debug: 91 3 tcl.c:567 jim_newtap_cmd(): Creating New Tap, Chip: esp32s2, Tap: cpu, Dotted: esp32s2.cpu, 4 params
Debug: 92 3 tcl.c:591 jim_newtap_cmd(): Processing option: -irlen
Debug: 93 3 tcl.c:591 jim_newtap_cmd(): Processing option: -expected-id
Debug: 94 3 core.c:1372 jtag_tap_init(): Created Tap: esp32s2.cpu @ abs position 0, irlen 5, capture: 0x1 mask: 0x3
Debug: 95 3 command.c:143 script_debug(): command - target target create esp32s2 esp32s2 -endian little -chain-position esp32s2.cpu -rtos FreeRTOS
Debug: 96 3 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas
Debug: 97 3 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas
Debug: 98 3 FreeRTOS.c:1202 FreeRTOS_create(): FreeRTOS_create
Debug: 99 3 command.c:355 register_command_handler(): registering 'xtensa'...
Debug: 100 3 command.c:355 register_command_handler(): registering 'xtensa'...
Debug: 101 3 command.c:355 register_command_handler(): registering 'xtensa'...
Debug: 102 3 command.c:355 register_command_handler(): registering 'xtensa'...
Debug: 103 3 command.c:355 register_command_handler(): registering 'xtensa'...
Debug: 104 3 command.c:355 register_command_handler(): registering 'xtensa'...
Debug: 105 3 command.c:355 register_command_handler(): registering 'xtensa'...
Debug: 106 3 command.c:355 register_command_handler(): registering 'xtensa'...
Debug: 107 3 command.c:355 register_command_handler(): registering 'esp'...
Debug: 108 3 command.c:355 register_command_handler(): registering 'esp'...
Debug: 109 3 command.c:355 register_command_handler(): registering 'esp'...
Debug: 110 3 command.c:355 register_command_handler(): registering 'esp'...
Debug: 111 3 command.c:355 register_command_handler(): registering 'esp'...
Debug: 112 3 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 113 3 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 114 3 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 115 3 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 116 3 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 117 3 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 118 3 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 119 3 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 120 3 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 121 3 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 122 3 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 123 3 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 124 3 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 125 3 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 126 3 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 127 3 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:355 register_command_handler(): registering 'esp32s2'...
Debug: 147 4 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 148 4 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 149 4 command.c:355 register_command_handler(): registering 'esp32s2'...
Debug: 150 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: 151 4 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas
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 command.c:143 script_debug(): command - esp32s2 esp32s2 configure -alt-work-area-phys 0x3FFE0000 -alt-work-area-virt 0x3FFE0000 -alt-work-area-size 0x10000 -alt-work-area-backup 1
Debug: 156 4 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas
Debug: 157 4 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas
Debug: 158 4 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas
Debug: 159 4 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas
Debug: 160 4 command.c:143 script_debug(): command - flash flash bank esp32s2.flash esp32s2 0x0 0 0 0 esp32s2
Debug: 162 4 command.c:377 register_command(): command 'esp' is already registered in '<global>' context
Debug: 163 4 command.c:355 register_command_handler(): registering 'esp'...
Debug: 164 4 command.c:355 register_command_handler(): registering 'esp'...
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.irom esp32s2 0x0 0 0 0 esp32s2
Debug: 168 4 command.c:377 register_command(): command 'esp' is already registered in '<global>' context
Debug: 169 4 command.c:377 register_command(): command 'appimage_offset' is already registered in 'esp' context
Debug: 170 4 command.c:377 register_command(): command 'compression' is already registered in 'esp' context
Debug: 171 4 tcl.c:1156 handle_flash_bank_command(): 'esp32s2' driver usage field missing
Debug: 172 4 command.c:143 script_debug(): command - flash flash bank esp32s2.drom esp32s2 0x0 0 0 0 esp32s2
Debug: 174 4 command.c:377 register_command(): command 'esp' is already registered in '<global>' context
Debug: 175 4 command.c:377 register_command(): command 'appimage_offset' is already registered in 'esp' context
Debug: 176 4 command.c:377 register_command(): command 'compression' is already registered in 'esp' context
Debug: 177 4 tcl.c:1156 handle_flash_bank_command(): 'esp32s2' driver usage field missing
Debug: 178 4 command.c:143 script_debug(): command - xtensa xtensa maskisr on
Debug: 180 4 command.c:143 script_debug(): command - esp esp semihost_basedir .
Debug: 182 4 command.c:143 script_debug(): command - adapter_khz adapter_khz 1000
Debug: 184 4 core.c:1704 jtag_config_khz(): handle jtag khz
Debug: 185 4 core.c:1667 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 186 4 core.c:1667 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 187 4 options.c:57 configuration_output_handler(): adapter speed: 1000 kHz
User : 188 4 options.c:57 configuration_output_handler():
Debug: 189 4 command.c:143 script_debug(): command - init init
Debug: 191 4 command.c:143 script_debug(): command - target target init
Debug: 193 4 command.c:143 script_debug(): command - target target names
Debug: 194 5 command.c:143 script_debug(): command - esp32s2 esp32s2 cget -event gdb-flash-erase-start
Debug: 195 5 command.c:143 script_debug(): command - esp32s2 esp32s2 configure -event gdb-flash-erase-start reset init
Debug: 196 5 command.c:143 script_debug(): command - esp32s2 esp32s2 cget -event gdb-flash-write-end
Debug: 197 5 command.c:143 script_debug(): command - esp32s2 esp32s2 configure -event gdb-flash-write-end reset halt
Debug: 198 5 command.c:143 script_debug(): command - esp32s2 esp32s2 cget -event gdb-attach
Debug: 199 5 command.c:143 script_debug(): command - esp32s2 esp32s2 configure -event gdb-attach halt
Debug: 200 5 target.c:1448 handle_target_init_command(): Initializing targets...
Debug: 201 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'lbeg' (65) does not exist
Debug: 202 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'lend' (66) does not exist
Debug: 203 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'lcount' (67) does not exist
Debug: 204 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'br' (75) does not exist
Debug: 205 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'scompare1' (76) does not exist
Debug: 206 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'acclo' (77) does not exist
Debug: 207 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'acchi' (78) does not exist
Debug: 208 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'm0' (79) does not exist
Debug: 209 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'm1' (80) does not exist
Debug: 210 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'm2' (81) does not exist
Debug: 211 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'm3' (82) does not exist
Debug: 212 5 xtensa.c:2363 xtensa_build_reg_cache(): FP reg 'f0' (83) does not exist
Debug: 213 5 xtensa.c:2363 xtensa_build_reg_cache(): FP reg 'f1' (84) does not exist
Debug: 214 5 xtensa.c:2363 xtensa_build_reg_cache(): FP reg 'f2' (85) does not exist
Debug: 215 5 xtensa.c:2363 xtensa_build_reg_cache(): FP reg 'f3' (86) does not exist
Debug: 216 5 xtensa.c:2363 xtensa_build_reg_cache(): FP reg 'f4' (87) does not exist
Debug: 217 5 xtensa.c:2363 xtensa_build_reg_cache(): FP reg 'f5' (88) does not exist
Debug: 218 5 xtensa.c:2363 xtensa_build_reg_cache(): FP reg 'f6' (89) does not exist
Debug: 219 5 xtensa.c:2363 xtensa_build_reg_cache(): FP reg 'f7' (90) does not exist
Debug: 220 5 xtensa.c:2363 xtensa_build_reg_cache(): FP reg 'f8' (91) does not exist
Debug: 221 5 xtensa.c:2363 xtensa_build_reg_cache(): FP reg 'f9' (92) does not exist
Debug: 222 5 xtensa.c:2363 xtensa_build_reg_cache(): FP reg 'f10' (93) does not exist
Debug: 223 5 xtensa.c:2363 xtensa_build_reg_cache(): FP reg 'f11' (94) does not exist
Debug: 224 5 xtensa.c:2363 xtensa_build_reg_cache(): FP reg 'f12' (95) does not exist
Debug: 225 5 xtensa.c:2363 xtensa_build_reg_cache(): FP reg 'f13' (96) does not exist
Debug: 226 5 xtensa.c:2363 xtensa_build_reg_cache(): FP reg 'f14' (97) does not exist
Debug: 227 5 xtensa.c:2363 xtensa_build_reg_cache(): FP reg 'f15' (98) does not exist
Debug: 228 5 xtensa.c:2358 xtensa_build_reg_cache(): User reg 'fcr' (99) does not exist
Debug: 229 5 xtensa.c:2358 xtensa_build_reg_cache(): User reg 'fsr' (100) does not exist
Debug: 230 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'atomctl' (104) does not exist
Debug: 231 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'litbase' (152) does not exist
Debug: 232 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'ptevaddr' (153) does not exist
Debug: 233 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'rasid' (154) does not exist
Debug: 234 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'itlbcfg' (155) does not exist
Debug: 235 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'dtlbcfg' (156) does not exist
Debug: 236 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'mepc' (157) does not exist
Debug: 237 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'meps' (158) does not exist
Debug: 238 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'mesave' (159) does not exist
Debug: 239 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'mesr' (160) does not exist
Debug: 240 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'mecr' (161) does not exist
Debug: 241 5 xtensa.c:2370 xtensa_build_reg_cache(): Special reg 'mevaddr' (162) does not exist
Debug: 242 5 semihosting_common.c:98 semihosting_common_init():
Debug: 243 5 command.c:355 register_command_handler(): registering 'target_request'...
Debug: 244 5 command.c:355 register_command_handler(): registering 'trace'...
Debug: 245 5 command.c:355 register_command_handler(): registering 'trace'...
Debug: 246 5 command.c:355 register_command_handler(): registering 'fast_load_image'...
Debug: 247 5 command.c:355 register_command_handler(): registering 'fast_load'...
Debug: 248 5 command.c:355 register_command_handler(): registering 'profile'...
Debug: 249 5 command.c:355 register_command_handler(): registering 'virt2phys'...
Debug: 250 5 command.c:355 register_command_handler(): registering 'reg'...
Debug: 251 5 command.c:355 register_command_handler(): registering 'poll'...
Debug: 252 5 command.c:355 register_command_handler(): registering 'wait_halt'...
Debug: 253 5 command.c:355 register_command_handler(): registering 'halt'...
Debug: 254 5 command.c:355 register_command_handler(): registering 'resume'...
Debug: 255 5 command.c:355 register_command_handler(): registering 'reset'...
Debug: 256 5 command.c:355 register_command_handler(): registering 'soft_reset_halt'...
Debug: 257 5 command.c:355 register_command_handler(): registering 'step'...
Debug: 258 5 command.c:355 register_command_handler(): registering 'mdd'...
Debug: 259 5 command.c:355 register_command_handler(): registering 'mdw'...
Debug: 260 5 command.c:355 register_command_handler(): registering 'mdh'...
Debug: 261 5 command.c:355 register_command_handler(): registering 'mdb'...
Debug: 262 5 command.c:355 register_command_handler(): registering 'mwd'...
Debug: 263 5 command.c:355 register_command_handler(): registering 'mww'...
Debug: 264 5 command.c:355 register_command_handler(): registering 'mwh'...
Debug: 265 5 command.c:355 register_command_handler(): registering 'mwb'...
Debug: 266 5 command.c:355 register_command_handler(): registering 'bp'...
Debug: 267 5 command.c:355 register_command_handler(): registering 'rbp'...
Debug: 268 5 command.c:355 register_command_handler(): registering 'wp'...
Debug: 269 5 command.c:355 register_command_handler(): registering 'rwp'...
Debug: 270 5 command.c:355 register_command_handler(): registering 'load_image'...
Debug: 271 5 command.c:355 register_command_handler(): registering 'dump_image'...
Debug: 272 5 command.c:355 register_command_handler(): registering 'verify_image_checksum'...
Debug: 273 6 command.c:355 register_command_handler(): registering 'verify_image'...
Debug: 274 6 command.c:355 register_command_handler(): registering 'test_image'...
Debug: 275 6 command.c:355 register_command_handler(): registering 'reset_nag'...
Debug: 276 6 command.c:355 register_command_handler(): registering 'ps'...
Debug: 277 6 command.c:355 register_command_handler(): registering 'test_mem_access'...
Debug: 278 6 jlink.c:580 jlink_init(): Using libjaylink 0.2.0-git-f73ad5e (compiled with 0.2.0-git-f73ad5e).
Debug: 279 11 jlink.c:534 jaylink_log_handler(): Found device (VID:PID = 1366:0101, bus:address = 001:049).
Debug: 280 13 jlink.c:534 jaylink_log_handler(): Device: USB address = 0.
Debug: 281 13 jlink.c:534 jaylink_log_handler(): Device: Serial number = 801026901.
Debug: 282 13 jlink.c:534 jaylink_log_handler(): Allocating new device instance.
Debug: 283 13 jlink.c:534 jaylink_log_handler(): Found 1 USB device(s).
Debug: 284 13 jlink.c:534 jaylink_log_handler(): Trying to open device (bus:address = 001:049).
Debug: 285 13 jlink.c:534 jaylink_log_handler(): Using endpoint 81 (IN) and 02 (OUT).
Debug: 286 14 jlink.c:534 jaylink_log_handler(): Device opened successfully.
Info : 294 14 jlink.c:704 jlink_init(): J-Link EDU Mini V1 compiled Feb 18 2021 11:25:23
Info : 307 14 jlink.c:745 jlink_init(): Hardware version: 1.00
Info : 316 15 jlink.c:787 jlink_init(): VTarget = 3.281 V
Debug: 322 15 jlink.c:534 jaylink_log_handler(): Last read operation left 16 bytes in the buffer.
Debug: 332 15 jlink.c:939 jlink_reset(): TRST: 0, SRST: 0.
Debug: 350 19 core.c:1667 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 351 19 core.c:1671 adapter_khz_to_speed(): have interface set up
Debug: 358 19 core.c:1667 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 359 19 core.c:1671 adapter_khz_to_speed(): have interface set up
Info : 360 19 core.c:1449 adapter_init(): clock speed 1000 kHz
Debug: 361 19 openocd.c:141 handle_init_command(): Debug Adapter init complete
Debug: 362 19 command.c:143 script_debug(): command - transport transport init
Debug: 364 19 transport.c:239 handle_transport_init(): handle_transport_init
Debug: 365 19 jlink.c:939 jlink_reset(): TRST: 0, SRST: 0.
Debug: 370 19 core.c:729 jtag_add_reset(): SRST line released
Debug: 371 19 core.c:753 jtag_add_reset(): TRST line released
Debug: 372 19 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 373 19 command.c:143 script_debug(): command - jtag jtag arp_init
Debug: 374 19 core.c:1462 jtag_init_inner(): Init JTAG chain
Debug: 375 19 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 383 19 core.c:1128 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS
Debug: 384 19 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Info : 392 21 core.c:1027 jtag_examine_chain_display(): JTAG tap: esp32s2.cpu tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Debug: 393 21 core.c:1258 jtag_validate_ircapture(): IR capture validation scan
Debug: 401 21 core.c:1316 jtag_validate_ircapture(): esp32s2.cpu: IR capture 0x01
Debug: 402 21 command.c:143 script_debug(): command - dap dap init
Debug: 404 21 arm_dap.c:106 dap_init_all(): Initializing all DAPs ...
Debug: 405 21 openocd.c:158 handle_init_command(): Examining targets...
Debug: 406 21 target.c:1636 target_call_event_callbacks(): target event 17 (examine-start) for core esp32s2
Debug: 407 21 esp32s2.c:621 esp32s2_handle_target_event(): 17
Debug: 408 21 esp_xtensa.c:109 esp_xtensa_handle_target_event(): 17
Debug: 409 21 xtensa.c:2438 xtensa_handle_target_event(): 17
Debug: 410 21 xtensa.c:685 xtensa_examine(): xtensa_examine coreid=0
Debug: 425 22 xtensa.c:698 xtensa_examine(): OCD_ID = 03339fd2
Debug: 426 22 target.c:1636 target_call_event_callbacks(): target event 18 (examine-end) for core esp32s2
Debug: 427 22 esp32s2.c:621 esp32s2_handle_target_event(): 18
Debug: 428 22 esp_xtensa.c:109 esp_xtensa_handle_target_event(): 18
Debug: 429 22 xtensa.c:2438 xtensa_handle_target_event(): 18
Debug: 430 22 xtensa.c:726 xtensa_smpbreak_write(): esp32s2: write smpbreak set=0x0 clear=0x630000
Debug: 438 22 command.c:143 script_debug(): command - flash flash init
Debug: 460 23 xtensa.c:890 xtensa_fetch_all_regs(): esp32s2: start
Debug: 483 41 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 499 62 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 514 62 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 515 63 xtensa.c:1851 xtensa_poll(): esp32s2: Target halted, pc=0x40000400, debug_reason=00000000, oldstate=00000001
Debug: 516 63 xtensa.c:1856 xtensa_poll(): esp32s2: Halt reason=0x00000020, exc_cause=0, dsr=0x8080cc11
Info : 517 63 xtensa.c:1859 xtensa_poll(): esp32s2: Target halted, PC=0x40000400, debug_reason=00000000
Debug: 532 63 target.c:1636 target_call_event_callbacks(): target event 0 (gdb-halt) for core esp32s2
Debug: 533 63 esp32s2.c:621 esp32s2_handle_target_event(): 0
Debug: 534 63 esp_xtensa.c:109 esp_xtensa_handle_target_event(): 0
Debug: 535 63 xtensa.c:2438 xtensa_handle_target_event(): 0
Debug: 536 63 target.c:1636 target_call_event_callbacks(): target event 1 (halted) for core esp32s2
Debug: 537 63 esp32s2.c:621 esp32s2_handle_target_event(): 1
Debug: 538 63 esp_xtensa.c:109 esp_xtensa_handle_target_event(): 1
Debug: 539 63 xtensa.c:2438 xtensa_handle_target_event(): 1
Debug: 540 63 esp_xtensa.c:248 esp_xtensa_dbgstubs_info_update(): esp32s2: Read debug stubs info 0 / 0
Debug: 541 63 target.c:2537 target_write_u32(): address: 0x3f41f064, value: 0x50d83aa1
Debug: 556 64 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 557 64 target.c:2537 target_write_u32(): address: 0x3f41f048, value: 0x00000000
Debug: 572 65 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 573 65 target.c:2537 target_write_u32(): address: 0x3f420064, value: 0x50d83aa1
Debug: 588 66 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 589 66 target.c:2537 target_write_u32(): address: 0x3f420048, value: 0x00000000
Debug: 604 67 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 605 67 target.c:2537 target_write_u32(): address: 0x3f4080ac, value: 0x50d83aa1
Debug: 620 68 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 621 68 target.c:2537 target_write_u32(): address: 0x3f408094, value: 0x00000000
Debug: 636 69 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 651 69 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 652 69 esp32s2.c:564 esp32s2_on_halt(): Chip ver 0x19031400
Info : 653 69 esp32s2.c:566 esp32s2_on_halt(): Detected ESP32-S2 chip
Debug: 655 69 tcl.c:1222 handle_flash_init_command(): Initializing flash devices...
Debug: 656 69 command.c:355 register_command_handler(): registering 'flash'...
Debug: 657 69 command.c:355 register_command_handler(): registering 'flash'...
Debug: 658 69 command.c:355 register_command_handler(): registering 'flash'...
Debug: 659 70 command.c:355 register_command_handler(): registering 'flash'...
Debug: 660 70 command.c:355 register_command_handler(): registering 'flash'...
Debug: 661 70 command.c:355 register_command_handler(): registering 'flash'...
Debug: 662 70 command.c:355 register_command_handler(): registering 'flash'...
Debug: 663 70 command.c:355 register_command_handler(): registering 'flash'...
Debug: 664 70 command.c:355 register_command_handler(): registering 'flash'...
Debug: 665 70 command.c:355 register_command_handler(): registering 'flash'...
Debug: 666 70 command.c:355 register_command_handler(): registering 'flash'...
Debug: 667 70 command.c:355 register_command_handler(): registering 'flash'...
Debug: 668 70 command.c:355 register_command_handler(): registering 'flash'...
Debug: 669 70 command.c:355 register_command_handler(): registering 'flash'...
Debug: 670 70 command.c:143 script_debug(): command - nand nand init
Debug: 700 71 tcl.c:498 handle_nand_init_command(): Initializing NAND devices...
Debug: 701 71 command.c:143 script_debug(): command - pld pld init
Debug: 731 72 pld.c:206 handle_pld_init_command(): Initializing PLDs...
Debug: 732 72 gdb_server.c:3584 gdb_target_start(): starting gdb server for esp32s2 on 3333
Info : 733 72 server.c:311 add_service(): Listening on port 3333 for gdb connections
Debug: 734 72 command.c:143 script_debug(): command - reset reset init
Debug: 764 73 target.c:1654 target_call_reset_callbacks(): target reset 3 (init)
Debug: 765 73 command.c:143 script_debug(): command - target target names
Debug: 766 73 command.c:143 script_debug(): command - esp32s2 esp32s2 invoke-event reset-start
Debug: 767 73 command.c:143 script_debug(): command - transport transport select
Debug: 768 73 command.c:143 script_debug(): command - jtag jtag arp_init-reset
Debug: 769 73 core.c:1576 jtag_init_reset(): Initializing with hard TRST+SRST reset
Debug: 770 73 core.c:742 jtag_add_reset(): JTAG reset with TLR instead of TRST
Debug: 771 73 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 779 73 core.c:1462 jtag_init_inner(): Init JTAG chain
Debug: 780 74 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 788 74 core.c:1128 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS
Debug: 789 74 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Info : 797 75 core.c:1027 jtag_examine_chain_display(): JTAG tap: esp32s2.cpu tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Debug: 798 75 core.c:1258 jtag_validate_ircapture(): IR capture validation scan
Debug: 806 75 core.c:1316 jtag_validate_ircapture(): esp32s2.cpu: IR capture 0x01
Debug: 807 75 command.c:143 script_debug(): command - transport transport select
Debug: 808 75 command.c:143 script_debug(): command - esp32s2 esp32s2 cget -chain-position
Debug: 809 75 command.c:143 script_debug(): command - jtag jtag tapisenabled esp32s2.cpu
Debug: 810 75 command.c:143 script_debug(): command - esp32s2 esp32s2 invoke-event examine-start
Debug: 811 75 command.c:143 script_debug(): command - esp32s2 esp32s2 arp_examine allow-defer
Debug: 812 75 xtensa.c:685 xtensa_examine(): xtensa_examine coreid=0
Debug: 827 76 xtensa.c:698 xtensa_examine(): OCD_ID = 03339fd2
Debug: 828 76 command.c:143 script_debug(): command - esp32s2 esp32s2 invoke-event examine-end
Debug: 829 76 command.c:143 script_debug(): command - esp32s2 esp32s2 invoke-event reset-assert-pre
Debug: 830 76 command.c:143 script_debug(): command - transport transport select
Debug: 831 76 command.c:143 script_debug(): command - esp32s2 esp32s2 cget -chain-position
Debug: 832 76 command.c:143 script_debug(): command - jtag jtag tapisenabled esp32s2.cpu
Debug: 833 76 command.c:143 script_debug(): command - esp32s2 esp32s2 arp_reset assert 1
Debug: 834 76 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas
Debug: 835 76 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas
Debug: 836 76 esp32s2.c:293 esp32s2_assert_reset(): esp32s2: begin
Debug: 837 76 esp32s2.c:373 esp32s2_soc_reset(): start
Debug: 838 76 target.c:2537 target_write_u32(): address: 0x3f4080bc, value: 0x00000000
Debug: 853 77 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 854 77 target.c:2537 target_write_u32(): address: 0x3f4080c0, value: 0x00000000
Debug: 869 78 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 870 78 target.c:2537 target_write_u32(): address: 0x3f408074, value: 0x01583218
Debug: 885 79 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 886 79 esp32s2.c:324 esp32s2_stall_set(): esp32s2: begin
Debug: 901 80 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 902 80 target.c:2449 target_read_u32(): address: 0x3f4080b8, value: 0x00000000
Debug: 903 80 target.c:2537 target_write_u32(): address: 0x3f4080b8, value: 0x84000000
Debug: 918 81 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 933 82 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 934 82 target.c:2449 target_read_u32(): address: 0x3f408000, value: 0x1c00a000
Debug: 935 82 target.c:2537 target_write_u32(): address: 0x3f408000, value: 0x1c00a008
Debug: 950 82 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8180CC11)
Debug: 951 82 xtensa.c:726 xtensa_smpbreak_write(): esp32s2: write smpbreak set=0x200000 clear=0x430000
Debug: 973 84 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8180CC11)
Debug: 974 84 target.c:2449 target_read_u32(): address: 0x3f408000, value: 0x1c00a008
Debug: 975 84 target.c:2537 target_write_u32(): address: 0x3f408000, value: 0x9c00a008
Debug: 990 85 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (81800000)
Info : 998 196 xtensa.c:1797 xtensa_poll(): esp32s2: Debug controller was reset.
Debug: 999 196 xtensa.c:726 xtensa_smpbreak_write(): esp32s2: write smpbreak set=0x0 clear=0x630000
Info : 1007 196 xtensa.c:1803 xtensa_poll(): esp32s2: Core was reset.
Debug: 1022 197 xtensa.c:1133 xtensa_halt(): xtensa_halt, target: esp32s2
Debug: 1030 197 xtensa.c:1145 xtensa_halt(): esp32s2: Core status 0x81800000
Debug: 1059 198 xtensa.c:890 xtensa_fetch_all_regs(): esp32s2: start
Debug: 1082 217 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (81A08411)
Debug: 1098 237 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (81A08411)
Debug: 1113 238 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (81A08411)
Debug: 1114 238 xtensa.c:1851 xtensa_poll(): esp32s2: Target halted, pc=0x4000F998, debug_reason=00000000, oldstate=00000001
Debug: 1115 238 xtensa.c:1856 xtensa_poll(): esp32s2: Halt reason=0x00000020, exc_cause=0, dsr=0x81a08411
Info : 1116 238 xtensa.c:1859 xtensa_poll(): esp32s2: Target halted, PC=0x4000F998, debug_reason=00000000
Debug: 1131 238 target.c:1636 target_call_event_callbacks(): target event 0 (gdb-halt) for core esp32s2
Debug: 1132 238 esp32s2.c:621 esp32s2_handle_target_event(): 0
Debug: 1133 238 esp_xtensa.c:109 esp_xtensa_handle_target_event(): 0
Debug: 1134 238 xtensa.c:2438 xtensa_handle_target_event(): 0
Debug: 1135 238 target.c:1636 target_call_event_callbacks(): target event 1 (halted) for core esp32s2
Debug: 1136 238 esp32s2.c:621 esp32s2_handle_target_event(): 1
Debug: 1137 238 esp_xtensa.c:109 esp_xtensa_handle_target_event(): 1
Debug: 1138 238 xtensa.c:2438 xtensa_handle_target_event(): 1
Debug: 1139 238 esp_xtensa.c:248 esp_xtensa_dbgstubs_info_update(): esp32s2: Read debug stubs info 0 / 0
Debug: 1140 238 target.c:2537 target_write_u32(): address: 0x3f41f064, value: 0x50d83aa1
Debug: 1155 239 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8180CC11)
Debug: 1156 239 target.c:2537 target_write_u32(): address: 0x3f41f048, value: 0x00000000
Debug: 1171 240 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8180CC11)
Debug: 1172 240 target.c:2537 target_write_u32(): address: 0x3f420064, value: 0x50d83aa1
Debug: 1187 241 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8180CC11)
Debug: 1188 241 target.c:2537 target_write_u32(): address: 0x3f420048, value: 0x00000000
Debug: 1203 242 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8180CC11)
Debug: 1204 242 target.c:2537 target_write_u32(): address: 0x3f4080ac, value: 0x50d83aa1
Debug: 1219 243 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8180CC11)
Debug: 1220 243 target.c:2537 target_write_u32(): address: 0x3f408094, value: 0x00000000
Debug: 1235 244 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8180CC11)
Debug: 1236 244 esp32s2.c:324 esp32s2_stall_set(): esp32s2: begin
Debug: 1251 245 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8180CC11)
Debug: 1252 245 target.c:2449 target_read_u32(): address: 0x3f4080b8, value: 0x84000000
Debug: 1253 245 target.c:2537 target_write_u32(): address: 0x3f4080b8, value: 0x00000000
Debug: 1268 246 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 1283 246 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 1284 246 target.c:2449 target_read_u32(): address: 0x3f408000, value: 0x1c00a008
Debug: 1285 246 target.c:2537 target_write_u32(): address: 0x3f408000, value: 0x1c00a000
Debug: 1300 247 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 1301 247 target.c:2537 target_write_u32(): address: 0x3f41f064, value: 0x50d83aa1
Debug: 1316 248 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 1317 248 target.c:2537 target_write_u32(): address: 0x3f41f048, value: 0x00000000
Debug: 1332 249 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 1333 249 target.c:2537 target_write_u32(): address: 0x3f420064, value: 0x50d83aa1
Debug: 1348 250 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 1349 250 target.c:2537 target_write_u32(): address: 0x3f420048, value: 0x00000000
Debug: 1364 251 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 1365 251 target.c:2537 target_write_u32(): address: 0x3f4080ac, value: 0x50d83aa1
Debug: 1380 252 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 1381 252 target.c:2537 target_write_u32(): address: 0x3f408094, value: 0x00000000
Debug: 1396 253 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 1397 253 target.c:2537 target_write_u32(): address: 0x3f4c10e0, value: 0x00000000
Debug: 1412 254 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 1413 254 FreeRTOS.c:1117 FreeRTOS_post_reset_cleanup(): FreeRTOS_post_reset_cleanup
Debug: 1414 254 xtensa.c:845 xtensa_assert_reset(): esp32s2: target_number=0, begin
Debug: 1422 254 command.c:143 script_debug(): command - esp32s2 esp32s2 invoke-event reset-assert-post
Debug: 1423 254 command.c:143 script_debug(): command - esp32s2 esp32s2 invoke-event reset-deassert-pre
Debug: 1424 254 command.c:143 script_debug(): command - transport transport select
Debug: 1425 254 command.c:143 script_debug(): command - esp32s2 esp32s2 cget -chain-position
Debug: 1426 254 command.c:143 script_debug(): command - jtag jtag tapisenabled esp32s2.cpu
Debug: 1427 254 command.c:143 script_debug(): command - esp32s2 esp32s2 arp_reset deassert 1
Debug: 1428 254 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas
Debug: 1429 254 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas
Debug: 1430 254 esp32s2.c:306 esp32s2_deassert_reset(): esp32s2: begin
Debug: 1431 254 xtensa.c:864 xtensa_deassert_reset(): esp32s2 halt=1
Debug: 1439 254 xtensa.c:726 xtensa_smpbreak_write(): esp32s2: write smpbreak set=0x0 clear=0x630000
Debug: 1447 255 command.c:143 script_debug(): command - esp32s2 esp32s2 invoke-event reset-deassert-post
Debug: 1448 255 command.c:143 script_debug(): command - transport transport select
Debug: 1449 255 command.c:143 script_debug(): command - esp32s2 esp32s2 cget -chain-position
Debug: 1450 255 command.c:143 script_debug(): command - jtag jtag tapisenabled esp32s2.cpu
Debug: 1451 255 command.c:143 script_debug(): command - esp32s2 esp32s2 was_examined
Debug: 1452 255 command.c:143 script_debug(): command - esp32s2 esp32s2 arp_waitstate halted 1000
Info : 1460 255 xtensa.c:1803 xtensa_poll(): esp32s2: Core was reset.
Debug: 1475 256 xtensa.c:890 xtensa_fetch_all_regs(): esp32s2: start
Debug: 1498 274 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (80A0CC11)
Debug: 1514 294 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (80A0CC11)
Debug: 1529 295 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (80A0CC11)
Debug: 1530 295 xtensa.c:1851 xtensa_poll(): esp32s2: Target halted, pc=0x40000400, debug_reason=00000000, oldstate=00000001
Debug: 1531 295 xtensa.c:1856 xtensa_poll(): esp32s2: Halt reason=0x00000020, exc_cause=0, dsr=0x80a0cc11
Info : 1532 295 xtensa.c:1859 xtensa_poll(): esp32s2: Target halted, PC=0x40000400, debug_reason=00000000
Debug: 1540 296 esp_xtensa.c:212 esp_xtensa_poll(): esp32s2: Clear debug stubs info
Debug: 1548 296 target.c:1636 target_call_event_callbacks(): target event 0 (gdb-halt) for core esp32s2
Debug: 1549 296 esp32s2.c:621 esp32s2_handle_target_event(): 0
Debug: 1550 296 esp_xtensa.c:109 esp_xtensa_handle_target_event(): 0
Debug: 1551 296 xtensa.c:2438 xtensa_handle_target_event(): 0
Debug: 1552 296 target.c:1636 target_call_event_callbacks(): target event 1 (halted) for core esp32s2
Debug: 1553 296 esp32s2.c:621 esp32s2_handle_target_event(): 1
Debug: 1554 296 esp_xtensa.c:109 esp_xtensa_handle_target_event(): 1
Debug: 1555 296 xtensa.c:2438 xtensa_handle_target_event(): 1
Debug: 1556 296 esp_xtensa.c:248 esp_xtensa_dbgstubs_info_update(): esp32s2: Read debug stubs info 0 / 0
Debug: 1557 296 target.c:2537 target_write_u32(): address: 0x3f41f064, value: 0x50d83aa1
Debug: 1572 297 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 1573 297 target.c:2537 target_write_u32(): address: 0x3f41f048, value: 0x00000000
Debug: 1588 298 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 1589 298 target.c:2537 target_write_u32(): address: 0x3f420064, value: 0x50d83aa1
Debug: 1604 299 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 1605 299 target.c:2537 target_write_u32(): address: 0x3f420048, value: 0x00000000
Debug: 1620 300 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 1621 300 target.c:2537 target_write_u32(): address: 0x3f4080ac, value: 0x50d83aa1
Debug: 1636 300 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 1637 300 target.c:2537 target_write_u32(): address: 0x3f408094, value: 0x00000000
Debug: 1652 301 xtensa.c:788 xtensa_core_status_check(): esp32s2: DSR (8080CC11)
Debug: 1653 301 command.c:143 script_debug(): command - esp32s2 esp32s2 curstate
Debug: 1654 301 command.c:143 script_debug(): command - transport transport select
Debug: 1655 301 command.c:143 script_debug(): command - esp32s2 esp32s2 cget -chain-position
Debug: 1656 301 command.c:143 script_debug(): command - jtag jtag tapisenabled esp32s2.cpu
Debug: 1657 301 command.c:143 script_debug(): command - esp32s2 esp32s2 was_examined
Debug: 1658 302 command.c:143 script_debug(): command - esp32s2 esp32s2 arp_waitstate halted 5000
Debug: 1687 303 command.c:143 script_debug(): command - esp32s2 esp32s2 invoke-event reset-init
Debug: 1688 303 command.c:143 script_debug(): command - esp32s2 esp32s2 invoke-event reset-end
Debug: 1717 304 command.c:143 script_debug(): command - target target names
Debug: 1718 304 command.c:143 script_debug(): command - esp32s2 esp32s2 cget -work-area-backup
Debug: 1719 304 command.c:143 script_debug(): command - esp32s2 esp32s2 configure -work-area-backup 0
Debug: 1720 304 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas
Debug: 1721 304 command.c:143 script_debug(): command - esp32s2 esp32s2 cget -alt-work-area-backup
Debug: 1722 304 command.c:143 script_debug(): command - esp32s2 esp32s2 configure -alt-work-area-backup 0
Debug: 1723 304 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas
Debug: 1724 304 command.c:143 script_debug(): command - esp esp compression off
Debug: 1754 305 esp_xtensa.c:1189 esp_xtensa_cmd_set_compression(): Flash compressed upload is off
Debug: 1755 305 esp_xtensa.c:1165 esp_xtensa_set_compression(): compression:0 for bank_name:esp32s2.flash
Debug: 1756 305 esp_xtensa.c:828 esp_xtensa_probe(): Flash size = 0 KB @ 0x00000000 'esp32s2' - 'halted'
Debug: 1757 305 esp_xtensa.c:212 esp_xtensa_flasher_image_init(): base=00000000 set=0
Debug: 1758 305 xtensa_algorithm.c:597 xtensa_run_do(): Set arg[0] = 5
Debug: 1759 305 xtensa_algorithm.c:609 xtensa_run_do(): Set arg[1] = -1
Debug: 1760 305 xtensa_algorithm.c:609 xtensa_run_do(): Set arg[2] = 0
Debug: 1761 305 xtensa_algorithm.c:108 xtensa_stub_load(): stub: base 0x0, start 0x40030b40, 2 sections
Debug: 1762 305 xtensa_algorithm.c:115 xtensa_stub_load(): addr 0x00000000, sz 4107, flags 1
Debug: 1763 305 target.c:1835 alloc_working_area_try_do(): MMU disabled, using physical address for working memory 0x40030000
Debug: 1764 305 target.c:1889 alloc_working_area_try_do(): allocated new working area of 4108 bytes at address 0x40030000
Debug: 1765 305 target.c:1751 print_wa_layout(): * 0x40030000-0x4003100b (4108 bytes)
Debug: 1766 305 target.c:1751 print_wa_layout(): 0x4003100c-0x400333ff (9204 bytes)
Debug: 1767 305 target.c:2236 target_write_buffer(): writing buffer of 512 byte at 0x40030000
Debug: 1770 306 jlink.c:534 jaylink_log_handler(): Adjusted buffer size to 4096 bytes.
Warn : 1782 1327 jlink.c:534 jaylink_log_handler(): Failed to send data to device: LIBUSB_ERROR_TIMEOUT.
Warn : 1784 2327 jlink.c:534 jaylink_log_handler(): Failed to send data to device: LIBUSB_ERROR_TIMEOUT.
Error: 1786 2327 jlink.c:534 jaylink_log_handler(): Sending data to device timed out.
Error: 1787 2327 jlink.c:534 jaylink_log_handler(): transport_write() failed: timeout occurred.
Error: 1788 2327 jlink.c:2022 jlink_flush(): jaylink_jtag_io() failed: timeout occurred.
Warn : 1789 2328 xtensa.c:1753 xtensa_write_memory(): esp32s2: Failed writing 512 bytes at address 0x40030000
Error: 1790 2328 xtensa_algorithm.c:183 xtensa_stub_load(): Failed to write stub section!
Debug: 1791 2328 target.c:1977 target_free_working_area_restore(): freed 4108 bytes of working area at address 0x40030000
Debug: 1792 2328 target.c:1751 print_wa_layout(): 0x40030000-0x400333ff (13312 bytes)
Error: 1793 2328 xtensa_algorithm.c:323 xtensa_algo_run(): Failed to load stub (-104)!
Error: 1794 2328 xtensa_algorithm.c:617 xtensa_run_do(): Algorithm run failed (-104)!
Error: 1795 2328 esp_xtensa.c:352 esp_xtensa_get_mappings(): Failed to run flasher stub (-104)!
Warn : 1796 2328 esp_xtensa.c:840 esp_xtensa_probe(): Failed to get flash mappings (-104)!
Debug: 1797 2328 esp_xtensa.c:212 esp_xtensa_flasher_image_init(): base=00000000 set=0
Debug: 1798 2328 xtensa_algorithm.c:597 xtensa_run_do(): Set arg[0] = 4
Debug: 1799 2328 xtensa_algorithm.c:108 xtensa_stub_load(): stub: base 0x0, start 0x40030b40, 2 sections
Debug: 1800 2328 xtensa_algorithm.c:115 xtensa_stub_load(): addr 0x00000000, sz 4107, flags 1
Debug: 1801 2328 target.c:1889 alloc_working_area_try_do(): allocated new working area of 4108 bytes at address 0x40030000
Debug: 1802 2328 target.c:1751 print_wa_layout(): * 0x40030000-0x4003100b (4108 bytes)
Debug: 1803 2328 target.c:1751 print_wa_layout(): 0x4003100c-0x400333ff (9204 bytes)
Debug: 1804 2328 target.c:2236 target_write_buffer(): writing buffer of 512 byte at 0x40030000
Warn : 1806 2328 jlink.c:534 jaylink_log_handler(): Last read operation left 113 bytes.
Warn : 1820 4337 jlink.c:534 jaylink_log_handler(): Failed to send data to device: LIBUSB_ERROR_TIMEOUT.
Warn : 1822 5337 jlink.c:534 jaylink_log_handler(): Failed to send data to device: LIBUSB_ERROR_TIMEOUT.
Error: 1824 5337 jlink.c:534 jaylink_log_handler(): Sending data to device timed out.
Error: 1825 5337 jlink.c:534 jaylink_log_handler(): transport_write() failed: timeout occurred.
Error: 1826 5337 jlink.c:2022 jlink_flush(): jaylink_jtag_io() failed: timeout occurred.
Warn : 1827 5337 xtensa.c:1753 xtensa_write_memory(): esp32s2: Failed writing 512 bytes at address 0x40030000
Error: 1828 5337 xtensa_algorithm.c:183 xtensa_stub_load(): Failed to write stub section!
Debug: 1829 5337 target.c:1977 target_free_working_area_restore(): freed 4108 bytes of working area at address 0x40030000
Debug: 1830 5337 target.c:1751 print_wa_layout(): 0x40030000-0x400333ff (13312 bytes)
Error: 1831 5337 xtensa_algorithm.c:323 xtensa_algo_run(): Failed to load stub (-104)!
Error: 1832 5337 xtensa_algorithm.c:617 xtensa_run_do(): Algorithm run failed (-104)!
Error: 1833 5337 esp_xtensa.c:311 esp_xtensa_get_size(): Failed to run flasher stub (-104)!
Debug: 1834 5337 esp_xtensa.c:212 esp_xtensa_flasher_image_init(): base=00000000 set=0
Debug: 1835 5337 xtensa_algorithm.c:597 xtensa_run_do(): Set arg[0] = 4
Debug: 1836 5337 xtensa_algorithm.c:108 xtensa_stub_load(): stub: base 0x0, start 0x40030b40, 2 sections
Debug: 1837 5337 xtensa_algorithm.c:115 xtensa_stub_load(): addr 0x00000000, sz 4107, flags 1
Debug: 1838 5337 target.c:1889 alloc_working_area_try_do(): allocated new working area of 4108 bytes at address 0x40030000
Debug: 1839 5337 target.c:1751 print_wa_layout(): * 0x40030000-0x4003100b (4108 bytes)
Debug: 1840 5337 target.c:1751 print_wa_layout(): 0x4003100c-0x400333ff (9204 bytes)
Debug: 1841 5337 target.c:2236 target_write_buffer(): writing buffer of 512 byte at 0x40030000
Warn : 1843 5338 jlink.c:534 jaylink_log_handler(): Last read operation left 113 bytes.
Warn : 1857 7347 jlink.c:534 jaylink_log_handler(): Failed to send data to device: LIBUSB_ERROR_TIMEOUT.
Warn : 1859 8347 jlink.c:534 jaylink_log_handler(): Failed to send data to device: LIBUSB_ERROR_TIMEOUT.
Error: 1861 8347 jlink.c:534 jaylink_log_handler(): Sending data to device timed out.
Error: 1862 8347 jlink.c:534 jaylink_log_handler(): transport_write() failed: timeout occurred.
Error: 1863 8347 jlink.c:2022 jlink_flush(): jaylink_jtag_io() failed: timeout occurred.
Warn : 1864 8347 xtensa.c:1753 xtensa_write_memory(): esp32s2: Failed writing 512 bytes at address 0x40030000
Error: 1865 8347 xtensa_algorithm.c:183 xtensa_stub_load(): Failed to write stub section!
Debug: 1866 8347 target.c:1977 target_free_working_area_restore(): freed 4108 bytes of working area at address 0x40030000
Debug: 1867 8347 target.c:1751 print_wa_layout(): 0x40030000-0x400333ff (13312 bytes)
Error: 1868 8347 xtensa_algorithm.c:323 xtensa_algo_run(): Failed to load stub (-104)!
Error: 1869 8347 xtensa_algorithm.c:617 xtensa_run_do(): Algorithm run failed (-104)!
Error: 1870 8347 esp_xtensa.c:311 esp_xtensa_get_size(): Failed to run flasher stub (-104)!
Error: 1871 8347 esp_xtensa.c:880 esp_xtensa_probe(): Failed to probe flash, size 0 KB
Error: 1872 8347 core.c:243 get_flash_bank_by_name(): auto_probe failed
Error: 1873 8347 esp_xtensa.c:1168 esp_xtensa_set_compression(): Failed to find bank 'esp32s2.flash'!
Debug: 1874 8347 command.c:630 run_command(): Command 'esp compression' failed with error code -4
User : 1875 8348 command.c:695 command_run_line():
Debug: 1876 8348 esp_xtensa.c:191 esp_xtensa_target_deinit(): start
Debug: 1877 8348 xtensa.c:2524 xtensa_target_deinit(): start
Warn : 1879 8348 jlink.c:534 jaylink_log_handler(): Last read operation left 113 bytes.
Debug: 1887 9335 target.c:2010 target_free_all_working_areas_restore(): freeing all working areas
Debug: 1888 9335 target.c:1751 print_wa_layout(): 0x40030000-0x400333ff (13312 bytes)
Debug: 1894 9335 jlink.c:534 jaylink_log_handler(): Last read operation left 16 bytes in the buffer.
Debug: 1896 9335 jlink.c:534 jaylink_log_handler(): Closing device (bus:address = 001:049).
Debug: 1897 9335 jlink.c:534 jaylink_log_handler(): Device closed successfully.
Debug: 1898 9335 jlink.c:534 jaylink_log_handler(): Device destroyed (bus:address = 001:049).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment