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 Pablo

    From the log it seems like something is wrong with the locale setup, since so many files there are reported as "No such file or directory". This could also explain why it works locally but not over the terminal in SSH. Check out this wiki page for more info on locales and how to fix the issue: https://wiki.archlinux.org/title/locale. It seems like the SSH client session is using sv_SE as the configured locale and that isn't enabled on the Pi. You can try something like "LANGUAGE=en nrfjprog -i" to test this.

    Best regards,

    Simon

Reply
  • Hi Pablo

    From the log it seems like something is wrong with the locale setup, since so many files there are reported as "No such file or directory". This could also explain why it works locally but not over the terminal in SSH. Check out this wiki page for more info on locales and how to fix the issue: https://wiki.archlinux.org/title/locale. It seems like the SSH client session is using sv_SE as the configured locale and that isn't enabled on the Pi. You can try something like "LANGUAGE=en nrfjprog -i" to test this.

    Best regards,

    Simon

Children
Related