Open On-Chip Debugger v0.11.0-esp32-20211220 (2021-12-20-15:42) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html User : 13 1 options.c:63 configuration_output_handler(): debug_level: 4 User : 14 1 options.c:63 configuration_output_handler(): Debug: 15 1 options.c:244 add_default_dirs(): bindir=/builds/idf/openocd-esp32/_build/../openocd-esp32/bin Debug: 16 1 options.c:245 add_default_dirs(): pkgdatadir=/builds/idf/openocd-esp32/_build/../openocd-esp32/share/openocd Debug: 17 1 options.c:246 add_default_dirs(): exepath=/home/nick/.espressif/tools/openocd-esp32/v0.11.0-esp32-20211220/openocd-esp32/bin Debug: 18 1 options.c:247 add_default_dirs(): bin2data=../share/openocd Debug: 19 1 configuration.c:42 add_script_search_dir(): adding /home/nick/.espressif/tools/openocd-esp32/v0.11.0-esp32-20211220/openocd-esp32/share/openocd/scripts Debug: 20 1 configuration.c:42 add_script_search_dir(): adding /home/nick/.config/openocd Debug: 21 1 configuration.c:42 add_script_search_dir(): adding /home/nick/.openocd Debug: 22 1 configuration.c:42 add_script_search_dir(): adding /home/nick/.espressif/tools/openocd-esp32/v0.11.0-esp32-20211220/openocd-esp32/bin/../share/openocd/site Debug: 23 1 configuration.c:42 add_script_search_dir(): adding /home/nick/.espressif/tools/openocd-esp32/v0.11.0-esp32-20211220/openocd-esp32/bin/../share/openocd/scripts Debug: 24 1 configuration.c:97 find_file(): found /home/nick/.espressif/tools/openocd-esp32/v0.11.0-esp32-20211220/openocd-esp32/share/openocd/scripts/board/esp32s3-builtin.cfg Debug: 25 1 configuration.c:97 find_file(): found /home/nick/.espressif/tools/openocd-esp32/v0.11.0-esp32-20211220/openocd-esp32/share/openocd/scripts/interface/esp_usb_jtag.cfg Debug: 26 1 command.c:146 script_debug(): command - adapter driver esp_usb_jtag Info : 28 1 transport.c:117 allow_transports(): only one transport option; autoselect 'jtag' Debug: 29 2 command.c:146 script_debug(): command - espusbjtag vid_pid 0x303a 0x1001 Info : 31 2 esp_usb_jtag.c:899 esp_usb_jtag_vid_pid(): esp_usb_jtag: VID set to 0x303a and PID to 0x1001 Debug: 32 2 command.c:146 script_debug(): command - espusbjtag caps_descriptor 0x2000 Info : 34 2 esp_usb_jtag.c:912 esp_usb_jtag_caps_descriptor(): esp_usb_jtag: capabilities descriptor set to 0x2000 Debug: 35 2 command.c:146 script_debug(): command - adapter speed 40000 Debug: 37 2 core.c:1822 jtag_config_khz(): handle jtag khz Debug: 38 2 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 39 2 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 40 2 configuration.c:97 find_file(): found /home/nick/.espressif/tools/openocd-esp32/v0.11.0-esp32-20211220/openocd-esp32/share/openocd/scripts/target/esp32s3.cfg Debug: 41 2 command.c:146 script_debug(): command - transport select jtag Warn : 42 2 transport.c:286 jim_transport_select(): Transport "jtag" was already selected Debug: 43 2 configuration.c:97 find_file(): found /home/nick/.espressif/tools/openocd-esp32/v0.11.0-esp32-20211220/openocd-esp32/share/openocd/scripts/target/esp_common.cfg Debug: 44 2 command.c:146 script_debug(): command - add_help_text program_esp write an image to flash, address is only required for binary images. verify, reset, exit, compress, restore_clock are optional Debug: 46 2 command.c:1115 help_add_command(): added 'program_esp' help text Debug: 47 2 command.c:146 script_debug(): command - add_usage_text program_esp [address] [verify] [reset] [exit] [compress] [restore_clock] Debug: 49 2 command.c:1141 help_add_command(): added 'program_esp' usage text Debug: 50 2 command.c:146 script_debug(): command - add_help_text program_esp_bins write all the images at address specified in flasher_args.json generated while building idf project Debug: 52 2 command.c:1115 help_add_command(): added 'program_esp_bins' help text Debug: 53 2 command.c:146 script_debug(): command - add_usage_text program_esp_bins flasher_args.json [verify] [reset] [exit] [compress] [restore_clock] Debug: 55 2 command.c:1141 help_add_command(): added 'program_esp_bins' usage text Debug: 56 2 command.c:146 script_debug(): command - add_help_text esp_get_mac Print MAC address of the chip. Use a `format` argument to return formatted MAC value Debug: 58 2 command.c:1115 help_add_command(): added 'esp_get_mac' help text Debug: 59 2 command.c:146 script_debug(): command - add_usage_text esp_get_mac [format] Debug: 61 2 command.c:1141 help_add_command(): added 'esp_get_mac' usage text Debug: 62 2 command.c:146 script_debug(): command - jtag newtap esp32s3 cpu0 -irlen 5 -expected-id 0x120034e5 Debug: 63 2 tcl.c:572 jim_newtap_cmd(): Creating New Tap, Chip: esp32s3, Tap: cpu0, Dotted: esp32s3.cpu0, 4 params Debug: 64 2 tcl.c:596 jim_newtap_cmd(): Processing option: -irlen Debug: 65 2 tcl.c:596 jim_newtap_cmd(): Processing option: -expected-id Debug: 66 2 core.c:1488 jtag_tap_init(): Created Tap: esp32s3.cpu0 @ abs position 0, irlen 5, capture: 0x1 mask: 0x3 Debug: 67 2 command.c:146 script_debug(): command - jtag newtap esp32s3 cpu1 -irlen 5 -expected-id 0x120034e5 Debug: 68 2 tcl.c:572 jim_newtap_cmd(): Creating New Tap, Chip: esp32s3, Tap: cpu1, Dotted: esp32s3.cpu1, 4 params Debug: 69 2 tcl.c:596 jim_newtap_cmd(): Processing option: -irlen Debug: 70 2 tcl.c:596 jim_newtap_cmd(): Processing option: -expected-id Debug: 71 2 core.c:1488 jtag_tap_init(): Created Tap: esp32s3.cpu1 @ abs position 1, irlen 5, capture: 0x1 mask: 0x3 Debug: 72 2 command.c:146 script_debug(): command - target create esp32s3.cpu0 esp32s3 -endian little -chain-position esp32s3.cpu0 -coreid 0 -rtos FreeRTOS Debug: 73 2 target.c:2218 target_free_all_working_areas_restore(): freeing all working areas Debug: 74 2 target.c:2218 target_free_all_working_areas_restore(): freeing all working areas Debug: 75 2 FreeRTOS.c:1242 FreeRTOS_create(): FreeRTOS_create Debug: 76 2 command.c:376 register_command(): command 'esp' is already registered in '' context Debug: 77 2 command.c:376 register_command(): command 'esp' is already registered in 'esp32s3.cpu0' context Debug: 78 2 command.c:146 script_debug(): command - esp32s3.cpu0 configure -work-area-phys 0x403B0000 -work-area-virt 0x403B0000 -work-area-size 0x3400 -work-area-backup 1 Debug: 79 2 target.c:2218 target_free_all_working_areas_restore(): freeing all working areas Debug: 80 2 target.c:2218 target_free_all_working_areas_restore(): freeing all working areas Debug: 81 2 target.c:2218 target_free_all_working_areas_restore(): freeing all working areas Debug: 82 2 target.c:2218 target_free_all_working_areas_restore(): freeing all working areas Debug: 83 2 command.c:146 script_debug(): command - esp32s3.cpu0 configure -alt-work-area-phys 0x3FCE0000 -alt-work-area-virt 0x3FCE0000 -alt-work-area-size 0x10000 -alt-work-area-backup 1 Debug: 84 2 target.c:2218 target_free_all_working_areas_restore(): freeing all working areas Debug: 85 2 target.c:2218 target_free_all_working_areas_restore(): freeing all working areas Debug: 86 2 target.c:2218 target_free_all_working_areas_restore(): freeing all working areas Debug: 87 2 target.c:2218 target_free_all_working_areas_restore(): freeing all working areas Debug: 88 2 command.c:146 script_debug(): command - flash bank esp32s3.cpu0.flash esp32s3 0x0 0 0 0 esp32s3.cpu0 Debug: 90 2 command.c:376 register_command(): command 'esp' is already registered in '' context Debug: 91 2 tcl.c:1319 handle_flash_bank_command(): 'esp32s3' driver usage field missing Debug: 92 2 command.c:146 script_debug(): command - flash bank esp32s3.cpu0.irom esp32s3 0x0 0 0 0 esp32s3.cpu0 Debug: 94 2 command.c:376 register_command(): command 'esp' is already registered in '' context Debug: 95 2 command.c:376 register_command(): command 'appimage_offset' is already registered in 'esp' context Debug: 96 2 command.c:376 register_command(): command 'compression' is already registered in 'esp' context Debug: 97 2 command.c:376 register_command(): command 'verify_bank_hash' is already registered in 'esp' context Debug: 98 2 command.c:376 register_command(): command 'flash_stub_clock_boost' is already registered in 'esp' context Debug: 99 2 command.c:376 register_command(): command 'esp32s3' is already registered in '' context Debug: 100 2 command.c:376 register_command(): command 'appimage_offset' is already registered in 'esp32s3' context Debug: 101 2 command.c:376 register_command(): command 'compression' is already registered in 'esp32s3' context Debug: 102 2 command.c:376 register_command(): command 'verify_bank_hash' is already registered in 'esp32s3' context Debug: 103 2 command.c:376 register_command(): command 'flash_stub_clock_boost' is already registered in 'esp32s3' context Debug: 104 2 tcl.c:1319 handle_flash_bank_command(): 'esp32s3' driver usage field missing Debug: 105 2 command.c:146 script_debug(): command - flash bank esp32s3.cpu0.drom esp32s3 0x0 0 0 0 esp32s3.cpu0 Debug: 107 2 command.c:376 register_command(): command 'esp' is already registered in '' context Debug: 108 2 command.c:376 register_command(): command 'appimage_offset' is already registered in 'esp' context Debug: 109 2 command.c:376 register_command(): command 'compression' is already registered in 'esp' context Debug: 110 2 command.c:376 register_command(): command 'verify_bank_hash' is already registered in 'esp' context Debug: 111 2 command.c:376 register_command(): command 'flash_stub_clock_boost' is already registered in 'esp' context Debug: 112 2 command.c:376 register_command(): command 'esp32s3' is already registered in '' context Debug: 113 2 command.c:376 register_command(): command 'appimage_offset' is already registered in 'esp32s3' context Debug: 114 2 command.c:376 register_command(): command 'compression' is already registered in 'esp32s3' context Debug: 115 2 command.c:376 register_command(): command 'verify_bank_hash' is already registered in 'esp32s3' context Debug: 116 2 command.c:376 register_command(): command 'flash_stub_clock_boost' is already registered in 'esp32s3' context Debug: 117 2 tcl.c:1319 handle_flash_bank_command(): 'esp32s3' driver usage field missing Debug: 118 2 command.c:146 script_debug(): command - target create esp32s3.cpu1 esp32s3 -endian little -chain-position esp32s3.cpu1 -coreid 1 -rtos FreeRTOS Debug: 119 2 target.c:2218 target_free_all_working_areas_restore(): freeing all working areas Debug: 120 2 target.c:2218 target_free_all_working_areas_restore(): freeing all working areas Debug: 121 2 FreeRTOS.c:1242 FreeRTOS_create(): FreeRTOS_create Debug: 122 2 command.c:376 register_command(): command 'xtensa' is already registered in '' context Debug: 123 2 command.c:376 register_command(): command 'set_permissive' is already registered in 'xtensa' context Debug: 124 2 command.c:376 register_command(): command 'maskisr' is already registered in 'xtensa' context Debug: 125 2 command.c:376 register_command(): command 'smpbreak' is already registered in 'xtensa' context Debug: 126 2 command.c:376 register_command(): command 'perfmon_enable' is already registered in 'xtensa' context Debug: 127 2 command.c:376 register_command(): command 'perfmon_dump' is already registered in 'xtensa' context Debug: 128 2 command.c:376 register_command(): command 'tracestart' is already registered in 'xtensa' context Debug: 129 2 command.c:376 register_command(): command 'tracestop' is already registered in 'xtensa' context Debug: 130 2 command.c:376 register_command(): command 'tracedump' is already registered in 'xtensa' context Debug: 131 2 command.c:376 register_command(): command 'esp' is already registered in '' context Debug: 132 2 command.c:376 register_command(): command 'semihost_basedir' is already registered in 'esp' context Debug: 133 2 command.c:376 register_command(): command 'esp' is already registered in '' context Debug: 134 2 command.c:376 register_command(): command 'apptrace' is already registered in 'esp' context Debug: 135 2 command.c:376 register_command(): command 'sysview' is already registered in 'esp' context Debug: 136 2 command.c:376 register_command(): command 'sysview_mcore' is already registered in 'esp' context Debug: 137 2 command.c:376 register_command(): command 'gcov' is already registered in 'esp' context Debug: 138 2 command.c:376 register_command(): command 'esp32' is already registered in '' context Debug: 139 2 command.c:376 register_command(): command 'smp' is already registered in 'esp32' context Debug: 140 2 command.c:376 register_command(): command 'smp_on' is already registered in 'esp32' context Debug: 141 2 command.c:376 register_command(): command 'smp_off' is already registered in 'esp32' context Debug: 142 2 command.c:376 register_command(): command 'smp_gdb' is already registered in 'esp32' context Debug: 143 2 command.c:376 register_command(): command 'esp' is already registered in 'esp32s3.cpu1' context Debug: 144 2 command.c:146 script_debug(): command - flash bank esp32s3.cpu1.flash esp32s3 0x0 0 0 0 esp32s3.cpu1 Debug: 146 2 command.c:376 register_command(): command 'esp' is already registered in '' context Debug: 147 2 command.c:376 register_command(): command 'appimage_offset' is already registered in 'esp' context Debug: 148 2 command.c:376 register_command(): command 'compression' is already registered in 'esp' context Debug: 149 2 command.c:376 register_command(): command 'verify_bank_hash' is already registered in 'esp' context Debug: 150 2 command.c:376 register_command(): command 'flash_stub_clock_boost' is already registered in 'esp' context Debug: 151 2 command.c:376 register_command(): command 'esp32s3' is already registered in '' context Debug: 152 2 command.c:376 register_command(): command 'appimage_offset' is already registered in 'esp32s3' context Debug: 153 2 command.c:376 register_command(): command 'compression' is already registered in 'esp32s3' context Debug: 154 2 command.c:376 register_command(): command 'verify_bank_hash' is already registered in 'esp32s3' context Debug: 155 2 command.c:376 register_command(): command 'flash_stub_clock_boost' is already registered in 'esp32s3' context Debug: 156 2 tcl.c:1319 handle_flash_bank_command(): 'esp32s3' driver usage field missing Debug: 157 2 command.c:146 script_debug(): command - flash bank esp32s3.cpu1.irom esp32s3 0x0 0 0 0 esp32s3.cpu1 Debug: 159 2 command.c:376 register_command(): command 'esp' is already registered in '' context Debug: 160 2 command.c:376 register_command(): command 'appimage_offset' is already registered in 'esp' context Debug: 161 2 command.c:376 register_command(): command 'compression' is already registered in 'esp' context Debug: 162 2 command.c:376 register_command(): command 'verify_bank_hash' is already registered in 'esp' context Debug: 163 2 command.c:376 register_command(): command 'flash_stub_clock_boost' is already registered in 'esp' context Debug: 164 2 command.c:376 register_command(): command 'esp32s3' is already registered in '' context Debug: 165 2 command.c:376 register_command(): command 'appimage_offset' is already registered in 'esp32s3' context Debug: 166 2 command.c:376 register_command(): command 'compression' is already registered in 'esp32s3' context Debug: 167 2 command.c:376 register_command(): command 'verify_bank_hash' is already registered in 'esp32s3' context Debug: 168 2 command.c:376 register_command(): command 'flash_stub_clock_boost' is already registered in 'esp32s3' context Debug: 169 2 tcl.c:1319 handle_flash_bank_command(): 'esp32s3' driver usage field missing Debug: 170 2 command.c:146 script_debug(): command - flash bank esp32s3.cpu1.drom esp32s3 0x0 0 0 0 esp32s3.cpu1 Debug: 172 2 command.c:376 register_command(): command 'esp' is already registered in '' context Debug: 173 2 command.c:376 register_command(): command 'appimage_offset' is already registered in 'esp' context Debug: 174 2 command.c:376 register_command(): command 'compression' is already registered in 'esp' context Debug: 175 2 command.c:376 register_command(): command 'verify_bank_hash' is already registered in 'esp' context Debug: 176 2 command.c:376 register_command(): command 'flash_stub_clock_boost' is already registered in 'esp' context Debug: 177 2 command.c:376 register_command(): command 'esp32s3' is already registered in '' context Debug: 178 2 command.c:376 register_command(): command 'appimage_offset' is already registered in 'esp32s3' context Debug: 179 2 command.c:376 register_command(): command 'compression' is already registered in 'esp32s3' context Debug: 180 2 command.c:376 register_command(): command 'verify_bank_hash' is already registered in 'esp32s3' context Debug: 181 2 command.c:376 register_command(): command 'flash_stub_clock_boost' is already registered in 'esp32s3' context Debug: 182 2 tcl.c:1319 handle_flash_bank_command(): 'esp32s3' driver usage field missing Debug: 183 2 command.c:146 script_debug(): command - target smp esp32s3.cpu0 esp32s3.cpu1 Debug: 184 2 target.c:6062 jim_target_smp(): 3 Debug: 185 2 target.c:6072 jim_target_smp(): esp32s3.cpu0 Debug: 186 2 target.c:6072 jim_target_smp(): esp32s3.cpu1 Debug: 187 2 command.c:146 script_debug(): command - esp32s3.cpu0 xtensa maskisr on Debug: 189 2 command.c:146 script_debug(): command - esp32s3.cpu0 xtensa smpbreak BreakIn BreakOut Debug: 191 2 xtensa.c:744 xtensa_smpbreak_set(): esp32s3.cpu0: set smpbreak=30000, state=1 Debug: 192 2 xtensa.c:744 xtensa_smpbreak_set(): esp32s3.cpu1: set smpbreak=30000, state=1 Debug: 193 2 command.c:146 script_debug(): command - esp32s3.cpu0 esp semihost_basedir . Debug: 195 2 command.c:146 script_debug(): command - esp32s3.cpu0 configure -event gdb-attach $_TARGETNAME_0 xtensa smpbreak BreakIn BreakOut # necessary to auto-probe flash bank when GDB is connected halt Debug: 196 2 command.c:146 script_debug(): command - esp32s3.cpu1 configure -event gdb-attach $_TARGETNAME_1 xtensa smpbreak BreakIn BreakOut # necessary to auto-probe flash bank when GDB is connected halt Info : 197 2 server.c:312 add_service(): Listening on port 6666 for tcl connections Info : 198 3 server.c:312 add_service(): Listening on port 4444 for telnet connections Debug: 199 3 command.c:146 script_debug(): command - init Debug: 201 3 command.c:146 script_debug(): command - target init Debug: 203 3 command.c:146 script_debug(): command - target names Debug: 204 3 command.c:146 script_debug(): command - esp32s3.cpu0 cget -event gdb-flash-erase-start Debug: 205 3 command.c:146 script_debug(): command - esp32s3.cpu0 configure -event gdb-flash-erase-start reset init Debug: 206 3 command.c:146 script_debug(): command - esp32s3.cpu0 cget -event gdb-flash-write-end Debug: 207 3 command.c:146 script_debug(): command - esp32s3.cpu0 configure -event gdb-flash-write-end reset halt Debug: 208 3 command.c:146 script_debug(): command - esp32s3.cpu0 cget -event gdb-attach Debug: 209 3 command.c:146 script_debug(): command - esp32s3.cpu1 cget -event gdb-flash-erase-start Debug: 210 3 command.c:146 script_debug(): command - esp32s3.cpu1 configure -event gdb-flash-erase-start reset init Debug: 211 3 command.c:146 script_debug(): command - esp32s3.cpu1 cget -event gdb-flash-write-end Debug: 212 3 command.c:146 script_debug(): command - esp32s3.cpu1 configure -event gdb-flash-write-end reset halt Debug: 213 3 command.c:146 script_debug(): command - esp32s3.cpu1 cget -event gdb-attach Debug: 214 3 target.c:1661 handle_target_init_command(): Initializing targets... Debug: 215 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'litbase' (152) does not exist Debug: 216 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'ptevaddr' (153) does not exist Debug: 217 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'rasid' (154) does not exist Debug: 218 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'itlbcfg' (155) does not exist Debug: 219 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'dtlbcfg' (156) does not exist Debug: 220 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'mepc' (157) does not exist Debug: 221 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'meps' (158) does not exist Debug: 222 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'mesave' (159) does not exist Debug: 223 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'mesr' (160) does not exist Debug: 224 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'mecr' (161) does not exist Debug: 225 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'mevaddr' (162) does not exist Debug: 226 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'litbase' (152) does not exist Debug: 227 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'ptevaddr' (153) does not exist Debug: 228 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'rasid' (154) does not exist Debug: 229 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'itlbcfg' (155) does not exist Debug: 230 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'dtlbcfg' (156) does not exist Debug: 231 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'mepc' (157) does not exist Debug: 232 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'meps' (158) does not exist Debug: 233 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'mesave' (159) does not exist Debug: 234 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'mesr' (160) does not exist Debug: 235 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'mecr' (161) does not exist Debug: 236 3 xtensa.c:2379 xtensa_build_reg_cache(): Special reg 'mevaddr' (162) does not exist Error: 237 7 esp_usb_jtag.c:662 esp_usb_jtag_init(): esp_usb_jtag: could not find or open device! Debug: 238 7 command.c:629 run_command(): Command 'init' failed with error code -4 User : 239 7 command.c:694 command_run_line(): Debug: 240 7 esp_xtensa.c:131 esp_xtensa_target_deinit(): start Debug: 241 7 xtensa.c:2533 xtensa_target_deinit(): start openocd: ../src/jtag/core.c:343: jtag_checks: Assertion `jtag_trst == 0' failed. Debug: 242 7 server.c:609 sig_handler(): Terminating on Signal 6