ESP32S3 openocd debugging

sumant
Posts: 3
Joined: Fri Sep 17, 2021 4:25 am

ESP32S3 openocd debugging

Postby sumant » Fri Sep 17, 2021 4:41 am

I am trying to configure openocd for debugging with ESP32S3 module. I am using ESP32-S3-DevKitC-1. I am using eclipse for my debugging. My configuration to start server on cmd prompt is openocd.exe -f interface\esp_usb_jtag.cfg -f board\esp32s3-builtin.cfg and I use GDB Hardware debugging onn eclipse to set the gdb client. GDB command xtensa-esp32s3-elf-gdb and GDB Connection STring is localhost:3333.
But when I run debug configuration I get
Error: esp_usb_jtag: usb sent only 0 out of 31 bytes.
Error: missing data from bitq interface
Error: esp_usb_jtag: usb sent only 0 out of 50 bytes.
Error: missing data from bitq interface
Error: Failed to exec JTAG queue!
Error: Failed to read debug stubs address location (-104)!


I understand that all the openocd features are not supported currently for ESP32S3 but I assume that the basic debugging part is supported. So i was expecting it to work. I am not sure if I am missing any configuration? Any inputs on this? Thanks.

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: ESP32S3 openocd debugging

Postby ESP_igrr » Fri Sep 17, 2021 8:31 am

Hi sumant,
Could you please report this issue at https://github.com/espressif/openocd-esp32/issues? Please also mention the OpenOCD version you are using.

Who is online

Users browsing this forum: No registered users and 102 guests