This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Eclipse flash error

Hi, I have some issues with my eclipse setup, I have installed all packages and followed the tutorial (https://devzone.nordicsemi.com/tutorials/b/getting-started/posts/development-with-gcc-and-eclipse). However building the project works, but flashing it via the flash  target (flash nrf52832_xxaa) results in the following error massages:

13:01:51 **** Build of configuration Default for project asdd ****
make VERBOSE=1 flash nrf52832_xxaa
DONE nrf52832_xxaa
Flashing: /media/.../.../.../.../nRF5_SDK_15.2.0_9412b96/examples/peripheral/led_softblink/pca10040/blank/armgcc/_build/nrf52832_xxaa.hex
nrfjprog -f nrf52 --program /.../.../.../.../.../nRF5_SDK_15.2.0_9412b96/examples/peripheral/led_softblink/pca10040/blank/armgcc/_build/nrf52832_xxaa.hex --sectorerase
make: nrfjprog: Command not found
make: *** [flash] Error 127
Makefile:158: recipe for target 'flash' failed

13:01:51 Build Failed. 3 errors, 0 warnings. (took 294ms)

What really bothers me is, that whenever I try to flash it via terminal it wprks just fine and I got no problems with nrfjprog..

Does anyone have a clue?

Btw I'm working on Linux Mint

Related