Interop with nrfjprog.dll fails with weird error

I've been trying to write some interop code (from C#) with the nrfjprog.dll.  I initial got everything working fine but then I tried to switch to the "_inst" version of functions so I can support multiple contexts.  Now, when I try to open the dll, it fails with error -153, which appears to be a recently added error regarding the nrfjprog exe not being found.  Also, the trace callback returns:

open
start
Failed to find nrfjprog worker executable.
terminate

I don't really understand why the nrfjprog exe would be needed since the whole point is that I'm trying to use the DLL.

I am using nrfjprog.dll version 10.19.0.0 and JLink_x64.dll version 7.86.5.0

Parents Reply Children
Related