This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrfjprog not working on raspberry pi 4

Hi

I am trying to setup a raspberry pi 4 for flashing nrf devices. But Nrfjprog doesn't seem to work.

I am using a Raspberry Pi 4 with 2021-05-07-raspios-buster-armhf-lite

I have fetched Segger and nrfjprog deb packages using :

wget --post-data 'accept_license_agreement=accepted&non_emb_ctr=confirmed&submit=Download+software' www.segger.com/.../JLink_Linux_arm.deb

installed them using:

sudo dpkg -i ~/nRF-Command-Line-Tools_10_14_0_LinuxArm/nrf-command-line-tools_10.14.0_armhf.deb
sudo dpkg -i JLink_Linux_arm.deb
I can detect the target using JLinkExe:
but when running nrfjprog I run into this:
log file as follows:
running ldd I get the following

What am I missing ?
If you need anymore details from my setup, let me know.
Parents
  • Hi

    Please try updating to nRF Command Line Tools v10.15.0 which was just released yesterday. Poor timing I'm afraid.

    No,the .deb package doesn't  install pynrfjprog, you have to download this wrapper from our GitHub.

    Best regards,

    Simon

  • Also, like I mentioned earlier installing pynrfjprog from the Github repo either through "pip install pynrfjprog" or "python setup.py install" doesn't install the armhf libraries on my RPi. So when I try to run a script using pynrfjprog I get an API error - 
    "NRFJPROG DLL: -150 NRFJPROG_SUB_DLL_NOT_FOUND. /usr/local/lib/python3.7/dist-packages/pynrfjprog-10.14.0-py3.7.egg/pynrfjprog/lib_armhf/libhighlevelnrfjprog.so"

    I have raised this issue in the github repo as well

Reply
  • Also, like I mentioned earlier installing pynrfjprog from the Github repo either through "pip install pynrfjprog" or "python setup.py install" doesn't install the armhf libraries on my RPi. So when I try to run a script using pynrfjprog I get an API error - 
    "NRFJPROG DLL: -150 NRFJPROG_SUB_DLL_NOT_FOUND. /usr/local/lib/python3.7/dist-packages/pynrfjprog-10.14.0-py3.7.egg/pynrfjprog/lib_armhf/libhighlevelnrfjprog.so"

    I have raised this issue in the github repo as well

Children
No Data
Related