RISC-V MCU中文社区

e203_v2版本在Ubuntu下make upload报错

发表于 开源蜂鸟E203 2020-12-30 15:05:07
12
4519
2

使用在芯来买的的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.


喜欢2
用户评论 (12)
  • 2022-04-13 22:13:41 1#

    老哥,请问这个问题解决了吗?

  • 即是路人

    2021-12-07 15:57:17 即是路人 2#

    老哥,你的问题解决了吗?


  • 张大炮

    2021-09-22 10:59:50 张大炮 3#

    你换成USB3.0连接电脑试试,我这么搞解决了,虽然不知道为什么.....

  • 张大炮

    2021-09-18 15:22:45 张大炮 4#

    我也有这个问题,不知道怎么解决,用别的操作系统没问题。

  • 2021-09-01 17:47:33 5#

    老哥,这个问题成功解决了么?

  • 领主文

    2021-03-29 17:16:13 领主文 6#

    越跃楽

    我查看了下載器连接没问题,rtl部分也没有动,使用的也是官方配套的蜂鸟下载器。 $ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 009: ID 0403:6010 Future Technology Devices International, Ltd FT2232C Dual USB-UART/FIFO IC Bus 001 Device 119: ID 046d:c084 Logitech, Inc. Bus 001 Device 099: ID 1a81:2038 Holtek Semiconductor, Inc. Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    板子是100t的嘛,和新版还是有些区别的,约束文件要改一下。

  • 越跃楽

    2021-03-29 17:13:46 越跃楽 7#

    领主文

    可能是下载器没接到linux系统,或者是你的rtl删多了

    我查看了下載器连接没问题,rtl部分也没有动,使用的也是官方配套的蜂鸟下载器。 $ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 009: ID 0403:6010 Future Technology Devices International, Ltd FT2232C Dual USB-UART/FIFO IC Bus 001 Device 119: ID 046d:c084 Logitech, Inc. Bus 001 Device 099: ID 1a81:2038 Holtek Semiconductor, Inc. Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  • wujiboy

    2021-03-28 20:48:53 wujiboy 8#

    楼主,我有几个问题,多谢!

    1. 我看了下地址映射gpioA与V1版本中的GPIO是一样的, gpioB才是新版本中多出来的,请问为什么屏蔽的是gpioA部分呢?

    2. V2中 0x1002 5000映射由V1中的PWM0 为I2C0, 0x1003 5000映射由V1中的PWM1变成I2C1。这部分是不是由直接处理程I2C了,可以不关心?

  • J

    2021-03-27 11:02:21 J 9#

    哥们,用HummingBird EV 板子移植v2成功了没有

  • 巴啦啦

    2021-02-18 15:42:23 巴啦啦 10#

    移植到arty遇到相似的问题,运行make upload时没有出报错,但是串口监视窗口没有任何打印信息。但是直接执行openocd -f就会出现与楼主一样的报错

  • 领主文

    2021-01-18 10:31:18 领主文 11#

    可能是下载器没接到linux系统,或者是你的rtl删多了

  • Lynn Peng

    2020-12-30 15:07:11 Lynn Peng 12#

    终端中输入命令groups,结果如下adm cdrom sudo dip plugdev lpadmin sambashare,所以驱动已经安装成功。

Lynn Peng

Lynn Peng 实名认证

懒的都不写签名

积分
问答
粉丝
关注
  • RV-STAR 开发板
  • RISC-V处理器设计系列课程
  • 培养RISC-V大学土壤 共建RISC-V教育生态
RV-STAR 开发板