完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
使用同样的代码和工程配置挂载合宙9.9元的开发板JTAG是可以的,环境使用的是Espressif-IDE 2.5
现在工程PCB使用的是ESP32-C3-MINI-U模组 观察硬件差异只有合宙9.9元的开发板的FLASH是外置的 ESP32-C3-MINI-U模组是片内FLASH 在工程中已经关闭了内存保护,但模组还是挂不上JTAG,日志如下: 大概能看出来是openocd对flash的操作有什么问题 Open On-Chip Debugger v0.11.0-esp32-20211220 (2021-12-20-15:43) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Info : only one transport option; autoselect 'jtag' Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001 Info : esp_usb_jtag: capabilities descriptor set to 0x2000 Warn : Transport "jtag" was already selected Flashing C:/Espressif/frameworks/esp-idf-v4.4/workspace/BMS76952_4S/build/partition_table/partition-table.bin at 0x8000 Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED Info : esp_usb_jtag: Device found. Base speed 40000KHz, div range 1 to 255 Info : clock speed 40000 kHz Info : JTAG tap: esp32c3.cpu tap/device found: 0x00005c25 (mfg: 0x612 (Espressif Systems), part: 0x0005, ver: 0x0) Info : Examined RISC-V core; found 1 harts Info : hart 0: XLEN=32, misa=0x40101104 Info : starting gdb server for esp32c3 on 3333 Info : Listening on port 3333 for gdb connections Info : JTAG tap: esp32c3.cpu tap/device found: 0x00005c25 (mfg: 0x612 (Espressif Systems), part: 0x0005, ver: 0x0) Info : [0] Found 8 triggers Error: Failed to get flash maps (4294967295)! Warn : Failed to get flash mappings (-4)! Error: Failed to get flash size! Error: Failed to get flash size! Error: Failed to probe flash, size 0 KB Error: auto_probe failed Error: Failed to find bank 'esp32c3.flash'! ** Flashing Failed ** -1 Started by GNU MCU Eclipse Info : Listening on port 6666 for tcl connections Info : Listening on port 4444 for telnet connections Info : accepting 'gdb' connection on tcp/3333 Warn : No symbols for FreeRTOS! Error: Failed to get flash maps (4294967295)! Warn : Failed to get flash mappings (-4)! Error: Failed to get flash size! Error: Failed to get flash size! Error: Failed to probe flash, size 0 KB Error: auto_probe failed Error: Connect failed. Consider setting up a gdb-attach event for the target to prepare target for GDB connect, or use 'gdb_memory_map disable'. Error: attempted 'gdb' connection rejected shutdown command invoked |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
532浏览 6评论
449浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
431浏览 5评论
427浏览 4评论
404浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-11 02:19 , Processed in 0.716311 second(s), Total 73, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号