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

nrfjprog --recover produces "GetSN returned error -1"

2020-Jun-11 09:52:56  --------------------------------------------------------------------------------
2020-Jun-11 09:52:56  nrfjprog --recover --log 
2020-Jun-11 09:52:56  nrfjprog version 10.6.0 
2020-Jun-11 09:52:56  --------------------------------------------------------------------------------
2020-Jun-11 09:52:56  nRF_logger_open
2020-Jun-11 09:52:56  nRF_logger_open:	nRFJProg logger opened to callback at address 0X7FF7755D2F20
2020-Jun-11 09:52:56  nRF_open_dll
2020-Jun-11 09:52:56  nRF_open_dll:	Load library at "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\JLINKARM_UNKNOWN_NRFJPROG.dll".

2020-Jun-11 09:52:56  . nRFXX_logger_open
2020-Jun-11 09:52:56  . nRFXX_logger_open:	nRFJProg logger opened to callback at address 0X7FF87D33E290
2020-Jun-11 09:52:56  . . Segger_logger_open
2020-Jun-11 09:52:56  . . Segger_logger_open:	nRFJProg logger opened to callback at address 0X7FF873D4CA50
2020-Jun-11 09:52:56  . . Segger_open_dll
2020-Jun-11 09:52:56  . . Segger_open_dll:	Load library at "C:\\Program Files (x86)\\SEGGER\\JLink\\JLink_x64.dll".

2020-Jun-11 09:52:56  . . . Segger_dll_version
2020-Jun-11 09:52:56  . . Segger_set_core_data
2020-Jun-11 09:52:56  nRF_enum_emu_snr
2020-Jun-11 09:52:56  . nRFXX_enum_emu_snr
2020-Jun-11 09:52:56  . . Segger_enum_emu_snr
2020-Jun-11 09:52:56  . . . Segger_enum_emu_snr
2020-Jun-11 09:52:56  . . . . Segger_get_num_emus
2020-Jun-11 09:52:56  nRF_connect_to_emu_with_snr
2020-Jun-11 09:52:56  . nRFXX_connect_to_emu_with_snr
2020-Jun-11 09:52:56  . . Segger_connect_to_emu_with_snr
2020-Jun-11 09:52:56  . . . Segger_is_connected_to_emu
2020-Jun-11 09:52:56  . . . Segger_enum_emu_snr
2020-Jun-11 09:52:56  . . . . Segger_get_num_emus
2020-Jun-11 09:52:56  . . . Segger_connect_to_emu_with_snr
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	Segger logging enabled with callback at 0x140705071943152.

2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:020.803   
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:025.772   
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Hardware: V8.00
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:026.237   
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	S/N: 4294967295
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:026.520   
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	OEM: SEGGER
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:026.800   
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Feature(s): RDI,FlashDL,FlashBP,JFlash,GDB
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:029.252   
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	TELNET listener socket opened on port 19021
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:029.843   
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Starting webserver
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:030.917   
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Failed to put socket into listener state (port 19080)
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:031.367   
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Webserver running on local port 19081
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:031.662 
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 24.632ms returns O.K.  
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:031.972 
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_GetHWStatus(...)  
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:034.184 
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 2.401ms returns 0x00  
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:034.522 
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:034.807 
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.143ms returns 0x01  
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:035.085 
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("DisableFlashDL", ...).   
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:035.365 
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.141ms returns 0x00  
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:035.643 
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:035.924 
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.139ms returns 0x00  
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:036.202   
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_SetHookUnsecureDialog(...)
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:036.502 
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.437ms returns 0  
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:036.782 
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_TIF_Select(JLINKARM_TIF_SWD)  
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:039.694 
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 3.224ms returns 0x00  
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:040.285 
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_SetSpeed(2000)  
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:040.957 
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.828ms  
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLinkARM.dll GetSN returned error -1.

2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T292C 000:045.264 
2020-Jun-11 09:52:56  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_Close()  
2020-Jun-11 09:52:56  nRF_close_dll
2020-Jun-11 09:52:56  . nRFXX_close_dll
2020-Jun-11 09:52:56  . . Segger_close
2020-Jun-11 09:52:56  . . . Segger_disconnect_from_emu
2020-Jun-11 09:52:56  . . . . Segger_is_connected_to_emu
2020-Jun-11 09:52:56  . . Segger_close:	Freeing Library.

2020-Jun-11 09:52:56  nRF_close_dll:	Freeing Library.

2020-Jun-11 09:54:57  --------------------------------------------------------------------------------
2020-Jun-11 09:54:57  nrfjprog --recover --log 
2020-Jun-11 09:54:57  nrfjprog version 10.6.0 
2020-Jun-11 09:54:57  --------------------------------------------------------------------------------
2020-Jun-11 09:54:57  nRF_logger_open
2020-Jun-11 09:54:57  nRF_logger_open:	nRFJProg logger opened to callback at address 0X7FF7755D2F20
2020-Jun-11 09:54:57  nRF_open_dll
2020-Jun-11 09:54:57  nRF_open_dll:	Load library at "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\JLINKARM_UNKNOWN_NRFJPROG.dll".

2020-Jun-11 09:54:57  . nRFXX_logger_open
2020-Jun-11 09:54:57  . nRFXX_logger_open:	nRFJProg logger opened to callback at address 0X7FF873D1E290
2020-Jun-11 09:54:57  . . Segger_logger_open
2020-Jun-11 09:54:57  . . Segger_logger_open:	nRFJProg logger opened to callback at address 0X7FF86B74CA50
2020-Jun-11 09:54:57  . . Segger_open_dll
2020-Jun-11 09:54:57  . . Segger_open_dll:	Load library at "C:\\Program Files (x86)\\SEGGER\\JLink\\JLink_x64.dll".

2020-Jun-11 09:54:57  . . . Segger_dll_version
2020-Jun-11 09:54:57  . . Segger_set_core_data
2020-Jun-11 09:54:57  nRF_enum_emu_snr
2020-Jun-11 09:54:57  . nRFXX_enum_emu_snr
2020-Jun-11 09:54:57  . . Segger_enum_emu_snr
2020-Jun-11 09:54:57  . . . Segger_enum_emu_snr
2020-Jun-11 09:54:57  . . . . Segger_get_num_emus
2020-Jun-11 09:54:57  nRF_connect_to_emu_with_snr
2020-Jun-11 09:54:57  . nRFXX_connect_to_emu_with_snr
2020-Jun-11 09:54:57  . . Segger_connect_to_emu_with_snr
2020-Jun-11 09:54:57  . . . Segger_is_connected_to_emu
2020-Jun-11 09:54:57  . . . Segger_enum_emu_snr
2020-Jun-11 09:54:57  . . . . Segger_get_num_emus
2020-Jun-11 09:54:57  . . . Segger_connect_to_emu_with_snr
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	Segger logging enabled with callback at 0x140704931433968.

2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:011.953   
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:016.549   
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Hardware: V8.00
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:017.092   
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	S/N: 4294967295
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:017.478   
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	OEM: SEGGER
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:017.841   
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Feature(s): RDI,FlashDL,FlashBP,JFlash,GDB
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:020.407   
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	TELNET listener socket opened on port 19021
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:020.939   
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Starting webserver
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:021.414   
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Webserver running on local port 19080
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:021.777 
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 13.817ms returns O.K.  
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:022.433 
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_GetHWStatus(...)  
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:023.131 
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.920ms returns 0x00  
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:023.534 
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:023.834 
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.142ms returns 0x01  
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:024.118 
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("DisableFlashDL", ...).   
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:024.431 
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.142ms returns 0x00  
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:024.714 
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:024.991 
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.147ms returns 0x00  
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:025.280   
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_SetHookUnsecureDialog(...)
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:025.554 
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.412ms returns 0  
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:025.830 
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_TIF_Select(JLINKARM_TIF_SWD)  
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:027.643 
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 1.980ms returns 0x00  
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:027.954 
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_SetSpeed(2000)  
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:028.729 
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.921ms  
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLinkARM.dll GetSN returned error -1.

2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T04FC 000:033.542 
2020-Jun-11 09:54:57  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_Close()  
2020-Jun-11 09:54:57  nRF_close_dll
2020-Jun-11 09:54:57  . nRFXX_close_dll
2020-Jun-11 09:54:57  . . Segger_close
2020-Jun-11 09:54:57  . . . Segger_disconnect_from_emu
2020-Jun-11 09:54:57  . . . . Segger_is_connected_to_emu
2020-Jun-11 09:54:57  . . Segger_close:	Freeing Library.

2020-Jun-11 09:54:57  nRF_close_dll:	Freeing Library.

When running the "nrfjprog --recover --log" command, on a Windows 10 pc in CMD, this is the output that I get. I am unsure what steps I need to take from here. 

Any help is greatly appreciated. 

Thank you!

Parents Reply Children
No Data
Related