芯来科技
直播中

淡淡的爱

11年用户 899经验值
私信 关注
[问答]

MCU200T下载碰到的问题求解答

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
                                                                                

更多回帖

发帖
×
20
完善资料,
赚取积分