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 Reply Children
  • The problem seems to be running the nrfjprog command if I access the RPi over SSH. If I connect a monitor and a keyboard to the RPi v10.14.0/v10.15.0 both work fine. If I access the RPi over SSH and try to use nrfjprog (both v10.14.0/v10.15.0) I get the "worker process is dead" error

  • 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

  • Same problem with nRF Command Line Tools v10.15.0. I haven't been able to try it other than over ssh.

    $ nrfjprog -r --log
    ERROR: [ Client] - Worker process is dead, cannot execute command.
    ERROR: An internal error has occurred, please try again.

Related