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)?

  • The main issue here seems to be that you need to install the J-Link drivers before installing the SDK, which adds the nrfjprog.exe utility. Installing things in this order I no longer have issues with nrfjprog complaining about JLinkARM.dll unless it's in the same folder as the Makefile.


    I have just found that by editing the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SEGGER\J-Link and udating the Path to the installed version, nrfjprog was able to find the correct installation. This solved it for me without having to reinstall everything.

  • I faced this problem once when I downgraded from a newer jlink to an older version. The windows registry still pointed to the newer version. I replaced the path with the path of my older version and then it worked.

  • I have the same problem right now

    ERROR: JLinkARM.dll could not be located after the installation info in the registry or in the current folder. Please reinstall JLinkARM software package.

    I uninstall all and tried installing fisrt the SDK but it did not work

    I'm also following the steps in: nAN-29 nRF51 Development with GCC and Eclipse Application Note v1.1.pdf Is there something else I can do?

    Thanks

  • I have the same problem right now

    ERROR: JLinkARM.dll could not be located after the installation info in the registry or in the current folder. Please reinstall JLinkARM software package.

    I uninstall all and tried installing fisrt the SDK but it did not work

    Is there something else I can do?

    Thanks