完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
使用ESP32-C3-DevkitM-1开发板进行JTAG调试,按照如下链接所写方式进行openocd下载安装,连接JTAG失败,请问导致失败的原因可能是什么
使用 ESP32-C3 的内置 JTAG 接口: https://docs.espressif.com/projects/esp ... index.html 这是我的操作过程: 一、从源代码编译 OpenOCD 工具 1. 下载相关库 sudo apt-get install build-essential pkg-config autoconf automake libtool libusb-dev libusb-1.0-0-dev libhidapi-dev sudo apt-get install libtool libsysfs-dev 2. 下载源码 cd esp git clone https://github.com/espressif/openocd-esp32.git 3. 编译并安装openocd cd openocd-esp32 sudo ./bootstrap sudo ./configure --enable-cmsis-dap make -j sudo make install 4. 测试是否安装成功 openocd --version 5.设置 OPENOCD_SCRIPTS 环境变量 cd ~/esp/openocd-esp32 export OPENOCD_SCRIPTS=$PWD/tcl 以上安装成功 二、运行 OpenOCD 1.设置使能JTAG: 在components/esptool_py/esptool/下,执行 espefuse.py -p /dev/ttyUSB0 burn_efuse JTAG_SEL_ENABLE 2. openocd -f board/esp32c3-builtin.cfg 或 openocd -f interface/esp_usb_jtag.cfg -f target/esp32c3.cfg 结果如下: openocd -f board/esp32c3-builtin.cfg Open On-Chip Debugger v0.10.0-esp32-20210902 (2021-09-19-13:45) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Info : only one transport option; autoselect 'jtag' Warn : Transport "jtag" was already selected Info : Listening on port 6666 for tcl connections Info : Listening on port 4444 for telnet connections Error: esp_usb_jtag: could not find or open device! 三、espefuse.py summary 显示如下 WAFER_VERSION (BLOCK1) WAFER version = 3 R/W (0b011) 请问有可能是什么原因导致的 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
257个成员聚集在这个小组
加入小组649 浏览 1 评论
3271 浏览 2 评论
为blufi_device设置自定义名称,但是无法修改,为什么?
602浏览 4评论
请问ESP32-S2-WROOM怎么获得ESP32-S2外接FLASH的唯一序列号?
342浏览 3评论
1387浏览 3评论
ESP-IDF的VScode插件的build按钮点击会报错的原因?
1638浏览 3评论
ESP-Jumpstart例程中第5个工程:5_cloud连接报错是哪里的问题?
351浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-7-20 19:35 , Processed in 0.787071 second(s), Total 42, Slave 37 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191