🔍 搜索帖子 / 资讯 / 芯片型号…
论坛/开源蜂鸟E203/MCU200T 下载碰到的问题,请求指教
MCU200T 下载碰到的问题,请求指教
开源蜂鸟E203 作者 发布于 2021-07-30 20:00(1897 天前) 4966 浏览

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

全部回复 1
胡灿
胡灿1894 天前 · 1 楼

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

💡 请 登录 后参与讨论(微信扫码即登录/注册)