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