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