Open AaronPMM opened 5 days ago
ESP32-S3 默认走 USB-Serial-JTAG 接口进行 GDB 调试,请查阅文档 https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-guides/jtag-debugging/index.html#selecting-jtag-adapter
同时要确认,进行调试时, USB 接口未用作其它用途(和 USB-OTG 功能不能同时使用)
ESP32-S3 默认走 USB-Serial-JTAG 接口进行 GDB 调试,请查阅文档 https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-guides/jtag-debugging/index.html#selecting-jtag-adapter
同时要确认,进行调试时, USB 接口未用作其它用途(和 USB-OTG 功能不能同时使用)
还是没有明白如何连接到硬件,ESP32-S3-BOX-3 带上底座,共有3个 USB 口,我尝试了3个 USB 都出现同样的问题,所以第一步,我该如何将 ESP32-S3-BOX-3 与 电脑连接?
@AaronPMM 只连接 esp32-s3-box 主板上的 USB 接口,底座上的口不要同时连接
@AaronPMM 只连接 esp32-s3-box 主板上的 USB 接口,底座上的口不要同时连接
如果这样,为什么在调用 idf.py openocd 时,会提示Error:esp_usb_jtag: could not find or open device!?
Checklist
How often does this bug occurs?
always
Expected behavior
Actual behavior (suspected bug)
目的: 我希望在硬件 ESP32-S3-BOX-3 进行 gdb 调试测试,以方便后续在项目开发上的调试
系统: ubuntu 20.04
步骤:
结果: gdb 提示:3333 连接超时 openocd 提示:Error:esp_usb_jtag: could not find or open device!
Error logs or terminal output
No response
Steps to reproduce the behavior
正常输入调试命令
Project release version
master
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Linux
Operating system version
ubuntu 20.04
Shell
Bash
Additional context
No response