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

nrfjprog for ARM cpu (Raspberry Pi 3)

image description

Hi, I tried the above tools(nrfjprog) on the Raspberry Pi 3.

But, I saw the error shown below.

pi@raspberrypi:~$ ls | grep nRF5x nRF5x-Command-Line-Tools_8_5_0_Linux-i386.tar nRF5x-Command-Line-Tools_8_5_0_Linux-x86_64.tar

$ tar xvf nRF5x-Command-Line-Tools_8_5_0_Linux-i386.tar ./ ./nrfjprog/ ./nrfjprog/nrfjprog_release_notes.txt ./nrfjprog/libnrfjprogdll.so.8.5.0 ...

$ ./nrfjprog/nrfjprog -bash: ./nrfjprog/nrfjprog: cannot execute binary file: Exec format error

$ rm -rf nrfjprog && tar xvf nRF5x-Command-Line-Tools_8_5_0_Linux-x86_64.tar ...

$ ./nrfjprog/nrfjprog -bash: ./nrfjprog/nrfjprog: cannot execute binary file: Exec format error

Where is the nrfjprog build for ARM?

Thank you,

kazuph

Parents Reply
  • I also stumbled on this when investigating which tools will work with my Raspberry Pi3.

    Have I understood this right:

    - There is a build  of the J-Link tools for Arm (see "J-Link Software and Documentation pack for Linux ARM systems" in your above link). I downloaded it and managed to connect to my nRF52 DK (PCA10040) without problems. I run JLinkExe for this.

    - nrfjprog is using the J-Link tools somehow. Is it using JLinkExe, or the library files?

    - There needs to be a build for nrfjprog for ARM to run this on the Raspberry Pi. Are the sources for nrfjprog closed? No chance of building it myself for the Raspberry Pi?

Children
Related