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

ERROR: nrfjprog.ini not found. Please reinstall nrfjprog.

Hi,

I am trying to install the nrf command line tools on linux. After following the installation instruction, I have the error

ERROR: nrfjprog.ini not found. Please reinstall nrfjprog.

If I use the --ini command to specify it, I have the same error with --qspiini and then with dll... So I suppose that the issue that it forgot to set a path somewhere...

 Note that if I extract the folder with nrfjprog anywhere from the zip file and then run the command from that folder, everything works fine (without modifying my $PATH).

I tried to add the alias 

alias nrfjprog="/opt/nrfjprog/nrfjprog"

which worked kindof ok but then I have other errors when trying to use the 'west flash' command from Zephyr.

Is there anything that I do not right in the installation procedure?

Thanks in advance for every answer you have!

(Ubuntu 18/04 - nrf command line tool 10.4.0 for linuw 64 bits)

Parents
  • I am having the same issue with nRF Command Line Tools v10.4.0 on 64 bit Ubuntu 16.04. After unpacking the tar archive, I run

    sudo dpkg -i nRF-Command-Line-Tools_10_4_0_Linux-amd64.deb

    There are no errors. To check if the installation worked, I run

    $ cd ~
    $ nrfjprog --version
    ERROR: nrfjprog.ini not found. Please reinstall nrfjprog.

    Running nrfjprog from inside /opt/nrfjprog works fine. These are the contents of /opt/nrfjprog:

    $ ls /opt/nrfjprog/
    DllCommonDefinitions.h          libhighlevelnrfjprog.so             libnrfjprogdll.so  nrfjprog.ini
    highlevelnrfjprogdll.h          libjlinkarm_nrf51_nrfjprogdll.so    LICENSE.txt        nrfjprog_release_notes.txt
    jlinkarm_nrf51_nrfjprogdll.h    libjlinkarm_nrf52_nrfjprogdll.so    nrfdfu.h           QspiDefault.ini
    jlinkarm_nrf52_nrfjprogdll.h    libjlinkarm_nrf91_nrfjprogdll.so    nrfjprog
    jlinkarm_nrf91_nrfjprogdll.h    libjlinkarm_unknown_nrfjprogdll.so  nrfjprogdll.h
    jlinkarm_unknown_nrfjprogdll.h  libnrfdfudll.so                     nrfjprog.h

    Can someone at Nordic confirm that v10.4.0 works on Ubuntu 16.04/18.04?

  • Hi,

    Thank you!

    I found an internal reporting from two days ago, that for v10.4.0 there are issues with finding the ini file on GNU/Linux, and the problem seems to be nrfjprog not correctly following symlinks. May be related.

    Regards,
    Terje

  • Hi,

    Current status for this issue is that we do have a patch in place for next release of nRF Command Line Tools. For now, using v10.3.0 should work (although I am told there may be some issues with v10.3.0 and the nRF91 series, workarounds for which are found in other DevZone threads. We are well aware of the issues and hope to release a patched version sooner rather than later.)

    Regards,
    Terje

Reply
  • Hi,

    Current status for this issue is that we do have a patch in place for next release of nRF Command Line Tools. For now, using v10.3.0 should work (although I am told there may be some issues with v10.3.0 and the nRF91 series, workarounds for which are found in other DevZone threads. We are well aware of the issues and hope to release a patched version sooner rather than later.)

    Regards,
    Terje

Children
No Data
Related