有解决方案么? |
搞好了。
1. 首先要自己编译这个仓库的openocd: https://github.com/riscv-mcu/riscv-openocd
2. mac不是每个usb接口都行,只有一部分好使。我的是2018款15吋的,好使的是左边两个。
3. 在https://www.riscv-mcu.com/mcukssszl下载Nuclei Studio IDE,解压,拿出这个文件
./NucleiStudio/configuration/org.eclipse.osgi/600/1/.cp/templates/gigadevice_exe_c_project/RISCV/env_Eclipse/openocd_gdlink.cfg
要注释掉autoexit true这一行