This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

GetSN returned error "-1" in nrfjprog

Good day,

I have a problem with connecting to nRF51822 via nrfjprog with error (nrfjprog.exe --recover --log ):
nrfjprog.exe --recover --log nrfjprog verion 9.0.0 FUNCTION: open_dll. FUNCTION: open_dll. FUNCTION: enum_emu_snr. FUNCTION: enum_emu_snr. FUNCTION: enum_emu_snr. FUNCTION: enum_emu_snr. FUNCTION: connect_to_emu_with_snr. FUNCTION: connect_to_emu_with_snr. FUNCTION: connect_to_emu_without_snr. FUNCTION: enum_emu_snr. Device "NRF51822_XXAA" selected. JLinkARM.dll GetSN returned error '-1'. FUNCTION: close_dll. FUNCTION: close_dll.

But if I am using the IAR or JFlash I don`t have any problems with connecting and flashing the chip

Related