RISC-V MCU中文社区

【求助】 MCU200T 下载碰到的问题,请求指教

发表于 开源蜂鸟E203 2021-07-30 20:00:20
1
319
0

study@ubuntu:~/Desktop/hbird-sdk/application/baremetal/helloworld$ sudo vi /etc/udev/rules.d/99-openocd.rules

study@ubuntu:~/Desktop/hbird-sdk/application/baremetal/helloworld$ whoami

study

study@ubuntu:~/Desktop/hbird-sdk/application/baremetal/helloworld$ groups

study adm cdrom sudo dip plugdev lpadmin lxd sambashare

study@ubuntu:~/Desktop/hbird-sdk/application/baremetal/helloworld$ make upload SOC=hbirdv2 BOARD=mcu200t CORE=e203 DOWNLOAD=flash

Download and run helloworld.elf

riscv-nuclei-elf-gdb helloworld.elf -ex "set remotetimeout 240" \

        -ex "target remote | openocd --pipe -f ../../../SoC/hbirdv2/Board/mcu200t/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"

sh: 1: openocd: not found

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.

study@ubuntu:~/Desktop/hbird-sdk/application/bar

喜欢0
用户评论 (1)
  • 胡灿

    2021-08-02 10:14:52 胡灿 1#

    提示的是“openocd not found”,Hbird SDK在使用前需要先setup好环境的

关于作者
涛走云飞

涛走云飞 未通过人工认证

懒的都不写签名

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