无法闪存到软设备



我正在使用nrf5 sdk闪烁软件pca10001 s110,每当我使用make flash_softdevice时,它显示以下错误行:

Flashing: s130_nrf51_2.0.0_softdevice.hex
nrfjprog --program ../../../../../../components/softdevice/s130/hex/s130_nrf51_2.0.0_softdevice.hex -f nrf51 --chiperase
make: execvp: nrfjprog: Permission denied
Makefile:245: recipe for target 'flash_softdevice' failed
make: *** [flash_softdevice] Error 127

据我所知,您尝试执行nrfjprog的用户无权这样做。尝试使其可运行:

sudo chmod a+x <path-to-nrfjprog>/nrfjprog

应该使其适用于所有用户。

最新更新