Simon@Visual Micro wrote on Feb 24
th, 2025 at 4:06pm:
Thanks for the update and detail.
We have updated the OpenOCD Version for the ESP32S3 USB Debugging due to a bug in OpenOCD, can you amend the board.txt entries to match the updated ESP32S3 USB Debugging page, and try the Hardware debugging again once amended?
https://www.visualmicro.com/page/ESP32S3-USB-Debugging.aspx deep search started 18:58
uploaded 19:15
I walk in the Watchy menu, during this time it is active and
connected by USB, I press "Attach to process" and get
Unable to start debugging. Unexpected GDB output from command "-exec-run". Don't know how to run. Try "help target".
output
=thread-group-added,id="i1"
Reading symbols from .elf...
+echo vMicro: Hardware Debugging
vMicro: Hardware Debugging+echo vMicro: debug.tool = esps3usb\n
vMicro: debug.tool = esps3usb
+set mi-async on
=cmd-param-changed,param="mi-async",value="on"
+set remotetimeout 5
=cmd-param-changed,param="remotetimeout",value="5"
+set logging file _DebugGDB.log
=cmd-param-changed,param="logging p32s3\\Debug/7_SEG.ino_DebugGDB.log"
+set logging overwrite on
=cmd-param-changed,param="logging overwrite",value="on"
+set logging off
+set logging on
+echo vMicro: Initializing remote target...\n
vMicro: Initializing remote target...
+echo Running Setup Actions\n
Running Setup Actions
+target extended-remote | " -d2 -c "gdb_port pipe; telnet_port disabled" -c "adapter_khz 5000" -l no_DebugOpenOCD.log}" -s ts/" -c "set ESP_FLASH_SIZE 0" -f ts/interface/../board/esp32s3-builtin.cfg" -c "set ESP32_RTOS none" -c "init; reset halt"
=cmd-param-changed,param="pagination",value="off"
The program '' has exited with code 42 (0x2a).