【无标题】蜂鸟risc-v 移植下载失败

问题一:

Info : [riscv.cpu] Found 0 triggers
halted at 0x80000240 due to debug interrupt
Info : Examined RISCV core; XLEN=32, misa=0x40001105
Info : starting gdb server for riscv.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : Valid NUSPI on device Nuclei SoC SPI Flash at address 0x20000000 with spictrl regbase at 0x10014000
Info : Nuclei SPI controller version 0x00000000
Info : Got data from 0x12 but expected it from 0x5
Error: Core got an exception (0xffffffff) while writing to 0x10014018
Error: nuspi_write_reg() error writing 0x0 to 0x10014018
Error: auto_probe failed

解决:软件生成例程的时候有个BUG,虽然选择了从RAM上启动,但是 还有自己手动改一下。

注释完之后重新编译下载。

问题二:

Open On-Chip Debugger 0.11.0+dev-01897-gc8fc2a168 (2022-04-01-04:46)
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
DEPRECATED! use 'adapter speed' not 'adapter_khz'
DEPRECATED! use 'adapter driver' not 'interface'
Info : libusb_open() failed with LIBUSB_ERROR_NOT_FOUND
Info : no device found, trying D2xx driver
Info : D2xx device count: 3
Info : Connecting to "(null)" using D2xx mode...
Info : clock speed 1000 kHz
Info : JTAG tap: riscv.cpu tap/device found: 0xe3c40035 (mfg: 0x01a (Zilog), part: 0x3c40, ver: 0xe)
Error: Wrote 0xfff04493 to Debug RAM at 0, but read back 0x40000000
Error: Wrote 0x1f4d493 to Debug RAM at 1, but read back 0x0
Error: Wrote 0x40902023 to Debug RAM at 2, but read back 0x0
Error: Wrote 0x1f4d493 to Debug RAM at 3, but read back 0x0
Error: Wrote 0x40902223 to Debug RAM at 4, but read back 0x0
Error: Wrote 0x3f00006f to Debug RAM at 5, but read back 0x0
Error: Wrote 0x60c1218 to Debug RAM at 6, but read back 0x0
Error: Debug RAM 0x0: 0x00000000
Error: Debug RAM 0x1: 0x00000000
Error: Debug RAM 0x2: 0x00000000
Error: Debug RAM 0x3: 0x00000000
Error: Debug RAM 0x4: 0x00000000
Error: Debug RAM 0x5: 0x00000000
Error: Debug RAM 0x6: 0x00000000
Error: Debug RAM 0x7: 0x00000000
Error: Debug RAM 0x8: 0x00000000
Error: Debug RAM 0x9: 0x00000000
Error: Debug RAM 0xa: 0x00000000
Error: Debug RAM 0xb: 0x00000000
Error: Debug RAM 0xc: 0x00000000
Error: Debug RAM 0xd: 0x00000000
Error: Debug RAM 0xe: 0x00000000
Error: Debug RAM 0xf: 0x00000000
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
 

解决:杜邦线质量不好或者太长,换一个好点、短点的杜邦线连接。

问题三:

Open On-Chip Debugger 0.11.0+dev-01897-gc8fc2a168 (2022-04-01-04:46)
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
DEPRECATED! use 'adapter speed' not 'adapter_khz'
DEPRECATED! use 'adapter driver' not 'interface'
Info : libusb_open() failed with LIBUSB_ERROR_NOT_FOUND
Info : no device found, trying D2xx driver
Info : D2xx device count: 2
Warn : D2xx driver found nothing, falling back to libusb...
Error: unrecognized USB device descriptor
Error: unable to open ftdi device with vid 0403, pid 6010, description '*', serial '*' at bus location '*'

出现问题的原因:没有成功下载蜂鸟RISC-V,如果已下载好处理器,那么有可能是下载器不是蜂鸟的下载器或者有另外的窗口占领了下载端口或者其他的原因占领了下载端口。

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值