完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
在读取idcode的时候出现0xffffffff的情况,还是第一次遇到一直没有办法处理,不知道是rtl有点问题还是如果要调试双核在nucleistudio环境的配置上要进行修改,以下是console的状况和openocd:
Open On-Chip Debugger 0.11.0+dev-01875-g13d7bc6cf (2021-09-25-22:27) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Warn : riscv1.cpu: nonstandard IR value Info : libusb_open() failed with LIBUSB_ERROR_NOT_FOUND Info : no device found, trying D2xx driver Info : D2xx device count: 3 Info : Connecting to “Dual RS232-HS A” using D2xx mode… Info : clock speed 1000 kHz Info : JTAG tap: riscv.cpu tap/device found: 0x12030a6d (mfg: 0x536 (Nuclei System Technology Co Ltd), part: 0x2030, ver: 0x1) Info : JTAG tap: riscv1.cpu tap/device found: 0xffffffff (mfg: 0x7ff (), part: 0xffff, ver: 0xf) Warn : JTAG tap: riscv1.cpu UNEXPECTED: 0xffffffff (mfg: 0x7ff (), part: 0xffff, ver: 0xf) Error: JTAG tap: riscv1.cpu expected 1 of 1: 0x12030a6d (mfg: 0x536 (Nuclei System Technology Co Ltd), part: 0x2030, ver: 0x1) Error: Trying to use configured scan chain anyway… Error: riscv1.cpu: IR capture error; saw 0x1f not 0x1f Warn : Bypassing JTAG setup events due to errors Error: dtmcontrol is 0. Check JTAG connectivity/board power. Warn : target riscv.cpu examination failed Error: Unsupported DTM version: 8 Warn : target riscv1.cpu examination failed Info : starting gdb server for riscv.cpu on 3333 Info : Listening on port 3333 for gdb connections Info : starting gdb server for riscv1.cpu on 3334 Info : Listening on port 3334 for gdb connections Error: Target not examined yet Error: Unsupported DTM version: 8 openocd: adapter speed 1000 adapter driver ftdi ftdi_device_desc “Dual RS232-HS” ftdi_vid_pid 0x0403 0x6010 ftdi_oscan1_mode on transport select jtag ftdi_layout_init 0x0008 0x001b ftdi_layout_signal nSRST -oe 0x0020 -data 0x0020 ftdi_layout_signal TCK -data 0x0001 ftdi_layout_signal TDI -data 0x0002 ftdi_layout_signal TDO -input 0x0004 ftdi_layout_signal TMS -data 0x0008 ftdi_layout_signal JTAG_SEL -data 0x0100 -oe 0x0100 set _CHIPNAME riscv set _CHIPNAME1 riscv1 jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x12030a6d jtag newtap $_CHIPNAME1 cpu -irlen 5 -expected-id 0x12030a6d -ircapture 0x1f set _TARGETNAME $_CHIPNAME.cpu set _TARGETNAME1 $_CHIPNAME1.cpu target create $_TARGETNAME riscv -chain-position $_TARGETNAME -coreid 0 target create $_TARGETNAME1 riscv -chain-position $_TARGETNAME1 -coreid 0 tcl_port disabled telnet_port disabled gdb_port 3333 init if {[ info exists pulse_srst]} { ftdi_set_signal nSRST 0 ftdi_set_signal nSRST z } halt echo “Ready for Remote Connections” |
|
相关推荐
1个回答
|
|
|
在读取IDCODE时出现 1. 检查硬件连接
2. 检查JTAG链配置
3. OpenOCD配置
4. 调试信息分析
5. RTL代码检查
6. 双核调试配置
7. Nuclei Studio环境
8. 进一步调试
总结出现 |
|
|
|
|
只有小组成员才能发言,加入小组>>
在软件SDK中选择不同的下载模式时,是哪个部件更改了QSPI0中寄存器的值?
692 浏览 2 评论
cmt_instret_ena的使能为什么要排除branch等指令造成流水线冲刷的情况?
836 浏览 1 评论
e203 rom启动仅仅是引导到itcm执行指令吗?flash启动就是加载指令到itcm中吗?
966 浏览 1 评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 22:18 , Processed in 0.486046 second(s), Total 43, Slave 36 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
374
