关于用segger的ARM仿真器的JTAG连接ESP32实现调试环境的问题?

liruilianww
Posts: 5
Joined: Sat Nov 20, 2021 9:14 am

关于用segger的ARM仿真器的JTAG连接ESP32实现调试环境的问题?

Postby liruilianww » Fri May 27, 2022 9:37 am

我用segger的ARM仿真器的JTAG连接ESP32开发板(ESP32-LYRAT-MINI_V1.2)的JTAG接口实现调试环境的时候失败,电脑已经成功安装了openocd, 并可以查到版本,两边JTAG的接口是直接焊接的,不存在接触的问题。在执行 openocd -f board/esp32-wrover-kit-3.3v.cfg的时候报错,显示找不到设备。是什么原因?如下:
PS D:\workplace\ESP32\esp-iot-solution\examples\audio\wav_player> openocd -f board/esp32-wrover-kit-3.3v.cfg
Open On-Chip Debugger v0.10.0-esp32-20210401 (2021-04-01-15:46)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, description '*', serial '*' at bus location '*'
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6014, description '*', serial '*' at bus location '*'

Assertion failed!

ESP_Yake
Posts: 109
Joined: Mon Mar 06, 2017 12:23 pm

Re: 关于用segger的ARM仿真器的JTAG连接ESP32实现调试环境的问题?

Postby ESP_Yake » Tue May 31, 2022 6:21 am

ESP32 的 Jtag 有很多要求,参考这个链接: https://docs.espressif.com/projects/esp ... ag-adapter 或许你可以试试参考 ESP-Prog 的电路设计

scu319hy
Posts: 1
Joined: Tue Jun 14, 2022 8:06 am

Re: 关于用segger的ARM仿真器的JTAG连接ESP32实现调试环境的问题?

Postby scu319hy » Tue Jun 14, 2022 9:01 am

你打开esp32-wrover-kit-3.3v.cfg看一下就明白了
它默认指定了interface/ftdi/esp32_devkitj_v1.cfg做为仿真器接口
你要做的是直接使用 target/esp32.cfg 以及 interface/jlink.cfg 并且 指定运行速度 adapter speed XXXX
当然,前提条件是jlink的驱动换成libusb了

有兴趣的话可以试一下我的编辑器 :D https://www.ed-x.cc
Image

Who is online

Users browsing this forum: No registered users and 51 guests