This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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 always fails to find JLinkARM.dll, even in the same folder

I was trying to setup a GNU toolchain on Windows and use the nrfjprog utility, but despite having installed the J-Link drivers (4.78), nRFGo Studio as well as the nRF51 SDK (which installs the nrfjprog utility in Program Files), I always get the following error:

C:\Program Files (x86)\Nordic Semiconductor\nrf51\bin>nrfjprog --recover ERROR: JLinkARM.dll could not be located after the installation info in the regi stry or in the current folder.

I've uninstalled every version of the J-Link drivers on the system, uninstalled all Nordic utilities and reinstalled the SDK and nRFGo Studio as well as the J-Link drivers, but it never seems to find the .dll even when I copy it into the same folder as the executable.

I've also search the registry for every reference on JLinkARM.dll but there was nothing suspicious there.

Do you have any idea on how to force this utility to load the JLinkARM.dll file you place in the same folder, for example (what I would have expected to be the default behaviour, but apparently not)?

  • For those who are facing the JLinkARM.dll ERRORs in nrfjprog, I faced the same problem when I tried to downgrade to previous version of nRF Tools.

    I struggled for a few days, and found that it is because there are some residues in the installation folder as well as the windows registry, even I have uninstalled the tools.

    To systematically clean up the installation, you need to:

    1. Uninstall all Nordic-related tools and SEGGER-related tools through windows "Programs and Features".

    2. Completely remove the folder "C:\Program Files\Nordic Semiconductor".

    3. Search for keywords "nrf51", "SEGGER" and "JLink" in windows registry, and delete related keys.

    Thereafter, you can install Nordic-related tools again.

  • I've the same problem. Looking in the windows register I found a wrong path to J-Link (maybe due to different try of JLink installation).

    Verify that in this key [HKEY_CURRENT_USER\Software\SEGGER\J-Link] the string 'InstallPath' has the right path to the Jlink installation folder.

    BR.

  • It looks this issue typically happens when you uninstalled a higher version of jlink and then installed a lower version. the registry seems to pointing to the higher version (which does not exist) so a manual edit of the registry seems to be needed. This could be complicated by the fact that the version of jlink being bundled by different nordic tools are often not clear so this can easily happen without the user's knowldege, esp. when downgrading tool versions.

Related