完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我将FTDI D2XX驱动安装好以后,又按照官方文档MCU JTAG的安装教程在group里添加了plugdev。先后尝试用makefile和ide下载hellowworld demo到FPGA上均出现错误。我使用的fpga开发板是XC7A200T,调试器是sipeed ID 0403:6010 Future Technology Devices International, Ltd FT2232C/D/H Dual UART/FIFO IC。
我的疑问是出现这个错误的原因是驱动没有安装好还是CORE下载有问题?是fpga的i/o pin约束有问题嘛?可以尝试修改的办法有哪些? 以下是upload报的错误 ================================================== Download and run helloworld.elf riscv-nuclei-elf-gdb helloworld.elf -ex “set remotetimeout 240” -ex “target remote | openocd -c ”gdb_port pipe; log_output openocd.log” -f ../../../SoC/hbirdv2/Board/ddr200t/openocd_hbirdv2.cfg” —batch -ex “monitor reset halt” -ex “load” -ex “monitor resume” -ex “quit” Open On-Chip Debugger 0.11.0+dev-01889-geee887d60 (2022-01-14-04:28) Licensed under GNU GPL v2 For bug reports, read Remote communication error. Target disconnected.: Connection reset by peer. “monitor” command not supported by this target. You can’t do that when your target is `exec’ “monitor” command not supported by this target. ================================================= -以下是make run_openocd Open On-Chip Debugger 0.11.0+dev-01889-geee887d60 (2022-01-14-04:28) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Info : Using libusb driver Info : clock speed 1000 kHz Error: JTAG scan chain interrogation failed: all ones Error: Check JTAG interface, timings, target power, etc. Error: Trying to use configured scan chain anyway… Error: riscv.cpu: IR capture error; saw 0x1f not 0x01 Warn : Bypassing JTAG setup events due to errors Error: Unsupported DTM version: 15 Warn : target riscv.cpu examination failed Info : starting gdb server for riscv.cpu on 3333 Info : Listening on port 3333 for gdb connections Error: Target not examined yet Error: Unsupported DTM version: 15 make: * [run_openocd] Error 1 在ide GUI编译器里面也是一样的错误 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
在软件SDK中选择不同的下载模式时,是哪个部件更改了QSPI0中寄存器的值?
404 浏览 2 评论
cmt_instret_ena的使能为什么要排除branch等指令造成流水线冲刷的情况?
547 浏览 1 评论
e203 rom启动仅仅是引导到itcm执行指令吗?flash启动就是加载指令到itcm中吗?
574 浏览 1 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 17:56 , Processed in 0.552221 second(s), Total 43, Slave 38 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号