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

nrfprog : "--family : command not found" error

-I was following this link- "devzone.nordicsemi.com/.../" and installed SEGGER JLink. (all on Ubuntu) -Installed gcc-arm and changed the tool chain path on Makefile.posix. -Now am able to build the SDK eexamples. But am not able to run commands of 'command line tools' , that is , am not able run - ">nrfjprog" command on linux successfully.

Tried as below : /* Optional: erase target if not already blank */ /examples/peripheral//blank/armgcc/>nrfjprog --family <nRF51/52> -e

Its giving error like- "--family: command not found". I have also tried below commands, which are not working: ">nrfjprog -f NRF52 --program file.hex --chiperase" Am giving above command by going to the path- "/examples/peripheral//blank/armgcc/"

note : I am running these commands without connecting the target device.

The nordic documents suggest the commands which can run on Windows, please suggest commands to use - "nrfjprog" on Linux.

By the way i have installed SEGGER JLink from - "www.segger.com/.../jlink", which am not sure that it is SEGGER version provided with this package (JLink_V512g).

Parents Reply Children
No Data
Related