-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32S3 openocd debugging (OCD-406) #178
Comments
Hi @skj2021 It looks like problem with driver on Winodws. Can you try to remove it and install using IDF Tools Installer? |
Out of curiosity, did you find the documentation for that command? |
Sorry for that. This is a mistake in docs. There are two board config files for S3:
Maybe it was mentioned as BTW. Could you post efuse configs for your board (output of |
Can you show me what its suppose to look like in device manager? I've tried 3 S3s on 2 different PCs. Is there a fuse you have to SET to get it to work? Looks like all my fuses are pretty much 0
Unfortunately, you can't seem to be able to read all of block 0, so I can't guarantee the fuse status of fuses relating to USB JTAG |
Yes. It seems that In any case I think if you see CDC USB device you should also have USB_JTAG. Could you post screenshot with list of USB devices shown by zadig? BTW, Could you post output of |
It will be released soon. |
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.
The text was updated successfully, but these errors were encountered: