e203_v2版本在Ubuntu下make upload报错

发表于 2020-12-30 15:05:07
3
363

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


用户评论 (3)
  • 巴啦啦

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

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

  • 领主文

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

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

  • Lynn Peng

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

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