0

I am using nRF5 SDK to flash a softdevice pca10001 s110, and when ever I am using make flash_softdevice it shows the below error line :

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
VC.One
  • 14,790
  • 4
  • 25
  • 57
Prasath
  • 57
  • 1
  • 7
  • Improve your tags (add more relevant tags) for better access to more help. Also make sure this is a **programming** question not just a hardware issue (since not "code related" issues are off-topic on this forum). – VC.One Jun 25 '16 at 09:02

1 Answers1

0

As far as I can see the user with which you try to execute nrfjprog does not have the rights to do so. Try to make it runnable:

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

That should make it runnable for all users.

Jens Meder
  • 4,237
  • 1
  • 25
  • 25