完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
使用在芯来买的的Humming Evaluation Kit开发板和调试器,下载新版的e203_v2代码(将新版代码中gpioA屏蔽,且在约束文件中删除gpioA的管教约束,然后生成*.mcs),下载成功。接着使用新版hbird-sdk,在make upload时不成功,不成功时报错如下。
Download and run helloworld.elf riscv-nuclei-elf-gdb helloworld.elf -ex "set remotetimeout 240" -ex "target remote | openocd --pipe -f ../../../SoC/hbirdv2/Board/ddr200t/openocd_hbirdv2.cfg" --batch -ex "monitor reset halt" -ex "monitor halt" -ex "monitor flash protect 0 0 last off" -ex "load" -ex "monitor resume" -ex "quit" Nuclei OpenOCD, x86_64 Open On-Chip Debugger 0.10.0+dev-g11f0cf429 (2020-07-15-04:07) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Remote communication error. Target disconnected.: Connection reset by peer. "monitor" command not supported by this target. "monitor" command not supported by this target. "monitor" command not supported by this target. You can't do that when your target is `exec' "monitor" command not supported by this target. |
|
相关推荐
1个回答
|
|
|
针对您在使用e203_v2版本和新版hbird-sdk在Ubuntu下 问题原因分析从报错信息看,失败发生在GDB通过OpenOCD连接调试器的阶段,可能原因包括:
解决方案1. 检查OpenOCD配置文件路径确保SDK中的OpenOCD配置路径与工程匹配: 若路径不符,修改Makefile中的 2. 配置USB调试器权限步骤:
3. 验证OpenOCD连接手动启动OpenOCD测试连接: 成功连接标志: 若出现 4. 使用官方指定OpenOCD版本芯来开发板需使用定制版OpenOCD:
5. 检查硬件连接
6. 修改GDB超时时间(可选)在 补充建议
执行上述步骤后,90%以上类似问题可解决。若仍存在问题,请提供完整的OpenOCD日志输出以进一步分析。 |
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
【作品合集】玄铁BPI-CanMV-K230D-Zero开发板测评
3030 浏览 0 评论
【作品合集】玄铁Banana Pi BPI-RV2开发板测评
1679 浏览 0 评论
27298 浏览 0 评论
【作品合集】矽速科技Sipeed MaixCAM Pro开发板测评
33636 浏览 0 评论
【作品合集】赛昉科技VisionFive 2单板计算机开发板测评
36189 浏览 0 评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 01:10 , Processed in 0.529712 second(s), Total 45, Slave 36 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
481