Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

VS Code & nrfjprog (nRF Connect SDK) problem on Linux

Hi,

I get the error like below on the Linux XFCE 64-bit platform (Pardus 21.2 distro latest version). It works fine on Windows but having a problem on linux. How can I solve it?

Parents
  • I may have found the answer.
    VS Code may HAVE FOUND nrfjprog, but it tried running --version flag in order to determine the version number, and it caused the following to appear in its input buffer:

    [error]: [SeggerBackend] - Error in dlopen: libjlinkarm.so: cannot open shared object file: No such file or directory
    [error]: [SeggerBackend] - Dll failed to open.
    ERROR: JLinkARM DLL load failed. Try again. If it keeps failing, please
    ERROR: reinstall latest JLinkARM from Segger webpage.

    This causes it to return an error that assumed that nrfjprog wasn't installed in $PATH, which is the default assumption. Actually it was missing a shared object library that needed to be installed, which made it malfunction.

    My solution was to download and install Segger's JLink package, and then I ran:

    "sudo dpkg -i JLink_Linux_*Version*_*platform*.deb"

    ...and that seemed to make VS Code (or the nRF plugin) happy. 

Reply
  • I may have found the answer.
    VS Code may HAVE FOUND nrfjprog, but it tried running --version flag in order to determine the version number, and it caused the following to appear in its input buffer:

    [error]: [SeggerBackend] - Error in dlopen: libjlinkarm.so: cannot open shared object file: No such file or directory
    [error]: [SeggerBackend] - Dll failed to open.
    ERROR: JLinkARM DLL load failed. Try again. If it keeps failing, please
    ERROR: reinstall latest JLinkARM from Segger webpage.

    This causes it to return an error that assumed that nrfjprog wasn't installed in $PATH, which is the default assumption. Actually it was missing a shared object library that needed to be installed, which made it malfunction.

    My solution was to download and install Segger's JLink package, and then I ran:

    "sudo dpkg -i JLink_Linux_*Version*_*platform*.deb"

    ...and that seemed to make VS Code (or the nRF plugin) happy. 

Children
No Data
Related