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

nrfjprog - system cannot find the file specified

@Vidar: I have followed your steps in tutorial for "Development with GCC and Eclipse" and when I try to flash my device I get the below error image description

Nrfjprog.exe is not being found by the system. I have sent the environment variable "Path" as below: C:\Program Files (x86)\GNU Tools ARM Embedded\4.9 2015q3\bin;C:\Program Files (x86)\Nordic Semiconductor\nrf5x\bin;C:\RVCT_EAT\Programs\3.1\569\win_32-pentium;C:\Program Files (x86)\GnuWin32\bin

Any pointers will be of help. Thank you.

Richard

Parents Reply Children
  • image description

    I guess my LED should start blinking. But it doesn't. Am I missing something? I have made the below changes in the make file as the original snippet is throwing memory out of bound exception

    nrfjprog --erasepage 0x0-0x80000 -f nrf52 ERROR: Argument provided has a wrong value. Memory access not aligned, value ERROR: outside of range or similar.

    Changes in Make file:

    Modified

    flash: $(MAKECMDGOALS) @echo Flashing: $(OUTPUT_BINARY_DIRECTORY)/$<.hex nrfjprog --eraseall nrfjprog --program $(OUTPUT_BINARY_DIRECTORY)/$<.hex nrfjprog --reset

    Original

    flash: $(MAKECMDGOALS) @echo Flashing: $(OUTPUT_BINARY_DIRECTORY)/$<.hex nrfjprog --erasepage 0x0-0x80000 -f nrf52 nrfjprog --program $(OUTPUT_BINARY_DIRECTORY)/$<.hex -f nrf52 nrfjprog --reset

    Waiting for the solution. Thanks again

Related