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

J-Link Segger with nrf command line script

I am not able to run commands with nrfjprog using the J-link Segger device 

e.g. nrfjprog --family nrf52 

I can do it only with the Keil or Segger UI environment

How can I run scripts using the J-link device?

Parents
  • Hello,

    Are you getting any errors when you run "nrfjprog --family nrf52". Also, what OS do you use, windows, linux, or macos? 

    You can find the documentation for nrfprog here: nRF5x Command Line Tools

  • --------------------------------------------------------------------------------
    C:\Users\avipa\Dropbox\Projects\Mesh\Controller\BLE5\nrfjprog.exe --eraseall --log
    nrfjprog verion 9.7.1
    --------------------------------------------------------------------------------
    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 "NRF52832_XXAA" selected.
    FUNCTION: read_device_version.
    FUNCTION: read_device_version.
    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.
    FUNCTION: close_dll.
    FUNCTION: close_dll.
    --------------------------------------------------------------------------------
    nrfjprog.exe -f nrf52 --recover --log
    nrfjprog verion 9.7.1
    --------------------------------------------------------------------------------
    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 "NRF52832_XXAA" selected.
    FUNCTION: recover.
    FUNCTION: recover.
    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.
    FUNCTION: close_dll.
    FUNCTION: close_dll.
    --------------------------------------------------------------------------------
    nrfjprog.exe -f nrf52 --recover --log
    nrfjprog verion 9.7.1
    --------------------------------------------------------------------------------
    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 "NRF52832_XXAA" selected.
    FUNCTION: recover.
    FUNCTION: recover.
    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.
    FUNCTION: close_dll.
    FUNCTION: close_dll.
    --------------------------------------------------------------------------------
    nrfjprog --recover -f nrf52 --log
    nrfjprog verion 9.7.1
    --------------------------------------------------------------------------------
    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 "NRF52832_XXAA" selected.
    FUNCTION: recover.
    FUNCTION: recover.
    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.
    FUNCTION: close_dll.
    FUNCTION: close_dll.
    --------------------------------------------------------------------------------
    nrfjprog --recover -f nrf52 --log
    nrfjprog verion 9.7.1
    --------------------------------------------------------------------------------
    FUNCTION: open_dll.
    FUNCTION: open_dll.
    FUNCTION: enum_emu_snr.
    FUNCTION: enum_emu_snr.
    FUNCTION: enum_emu_snr.
    FUNCTION: enum_emu_snr.
    FUNCTION: close_dll.
    FUNCTION: close_dll.
    --------------------------------------------------------------------------------
    nrfjprog --recover -f nrf52 --log
    nrfjprog verion 9.7.1
    --------------------------------------------------------------------------------
    FUNCTION: open_dll.
    FUNCTION: open_dll.
    FUNCTION: enum_emu_snr.
    FUNCTION: enum_emu_snr.
    FUNCTION: enum_emu_snr.
    FUNCTION: enum_emu_snr.
    FUNCTION: close_dll.
    FUNCTION: close_dll.
    --------------------------------------------------------------------------------
    nrfjprog --recover -f nrf52 --log
    nrfjprog verion 9.7.1
    --------------------------------------------------------------------------------
    FUNCTION: open_dll.
    FUNCTION: open_dll.
    FUNCTION: enum_emu_snr.
    FUNCTION: enum_emu_snr.
    FUNCTION: enum_emu_snr.
    FUNCTION: enum_emu_snr.
    FUNCTION: close_dll.
    FUNCTION: close_dll.
    2019-May-03 11:57:06  --------------------------------------------------------------------------------
    2019-May-03 11:57:06  nrfjprog --recover -f nrf52 --log
    2019-May-03 11:57:06  nrfjprog version 9.8.1
    2019-May-03 11:57:06  --------------------------------------------------------------------------------
    2019-May-03 11:57:06  nRF_open_dll
    2019-May-03 11:57:06  . nRF52_open_dll
    2019-May-03 11:57:06  . . nRF52_dll_version
    2019-May-03 11:57:06  nRF_enum_emu_snr
    2019-May-03 11:57:06  . nRF52_enum_emu_snr
    2019-May-03 11:57:06  . . nRF52_enum_emu_snr
    2019-May-03 11:57:06  nRF_enum_emu_snr
    2019-May-03 11:57:06  . nRF52_enum_emu_snr
    2019-May-03 11:57:06  . . nRF52_enum_emu_snr
    2019-May-03 11:57:06  nRF_connect_to_emu_with_snr
    2019-May-03 11:57:06  . nRF52_connect_to_emu_with_snr
    2019-May-03 11:57:06  . . nRF52_is_connected_to_emu
    2019-May-03 11:57:06  . . nRF52_enum_emu_snr
    2019-May-03 11:57:06  . . nRF52_connect_to_emu_with_snr
    2019-May-03 11:57:06  . . . nRF52_connect_to_emu_without_snr
    2019-May-03 11:57:06  . . . nRF52_connect_to_emu_without_snr:	JLink:	 Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 12 2018 11:44:41
    2019-May-03 11:57:06  . . . nRF52_connect_to_emu_without_snr:	JLink:	 Hardware: V1.00
    2019-May-03 11:57:06  . . . nRF52_connect_to_emu_without_snr:	JLink:	 S/N: 683927383
    2019-May-03 11:57:06  . . . nRF52_connect_to_emu_without_snr:	JLink:	 TELNET listener socket opened on port 19021
    2019-May-03 11:57:06  . . . nRF52_connect_to_emu_without_snr:	JLink:	WEBSRV  Starting webserver
    2019-May-03 11:57:06  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0065ms, 0072ms total)  
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	WEBSRV Webserver running on local port 19080
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0089ms, 0096ms total)  
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns O.K.
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0107ms, 0114ms total)  
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_GetHWStatus(...)
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x00
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0017ms, 0142ms total)  
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	There is no generic nRF52 device in J-Link, so we select NRF52832_xxAA.
    
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("Device = NRF52832_xxAA", ...). 
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	XML file found at: C:\Program Files (x86)\SEGGER\JLink_V640\JLinkDevices.xml
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0008ms, 0166ms total)  
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	C:\Program Files (x86)\SEGGER\JLink_V640\JLinkDevices.xml evaluated successfully.
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	Device "NRF52832_XXAA" selected.
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	Device "NRF52832_XXAA" selected.
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x00
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0122ms, 0280ms total)  
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("SetRestartOnClose = 0", ...). 
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x01
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0008ms, 0304ms total)  
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("DisableFlashDL", ...). 
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x00
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0007ms, 0327ms total)  
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...). 
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x01
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0007ms, 0349ms total)  
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...). 
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x00
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0008ms, 0372ms total)  
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_TIF_Select(JLINKARM_TIF_SWD)
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x00
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0019ms, 0400ms total)  
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_SetSpeed(2000)
    2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0026ms, 0434ms total)  
    2019-May-03 11:57:07  nRF_recover
    2019-May-03 11:57:07  . nRF52_recover
    2019-May-03 11:57:07  . . nRF52_is_connected_to_emu
    2019-May-03 11:57:07  . . nRF52_is_connected_to_emu:	JLink:	JLINK_IsOpen()
    2019-May-03 11:57:07  . . nRF52_is_connected_to_emu:	JLink:	  returns 0x01
    2019-May-03 11:57:07  . . nRF52_is_connected_to_emu:	JLink:	 (0022ms, 0468ms total)  
    2019-May-03 11:57:07  . . nRF52_is_connected_to_device
    2019-May-03 11:57:07  . . nRF52_is_connected_to_device:	JLink:	JLINK_IsConnected()
    2019-May-03 11:57:07  . . nRF52_is_connected_to_device:	JLink:	  returns FALSE
    2019-May-03 11:57:07  . . nRF52_is_connected_to_device:	JLink:	 (0017ms, 0493ms total)  
    2019-May-03 11:57:07  . . nRF52_readback_status
    2019-May-03 11:57:07  . . . nRF52_is_ctrl_ap_available
    2019-May-03 11:57:07  . . . . nRF52_read_access_port_register
    2019-May-03 11:57:07  . . . . . nRF52_coresight_configure
    2019-May-03 11:57:07  . . . . . nRF52_coresight_configure:	JLink:	JLINK_CORESIGHT_Configure()
    2019-May-03 11:57:07  . . . . . nRF52_coresight_configure:	JLink:	  returns 0
    2019-May-03 11:57:07  . . . . . nRF52_coresight_configure:	JLink:	 (0115ms, 0616ms total)  
    2019-May-03 11:57:07  . . . . . nRF52_power_debug_and_system_regions
    2019-May-03 11:57:07  . . . . . . nRF52_write_debug_port_register
    2019-May-03 11:57:07  . . . . . . nRF52_write_debug_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    2019-May-03 11:57:07  . . . . . . nRF52_write_debug_port_register:	JLink:	  returns -1
    2019-May-03 11:57:07  . . . . . . nRF52_write_debug_port_register:	JLink:	 (0016ms, 0640ms total)  
    2019-May-03 11:57:07  . . . . . . nRF52_write_debug_port_register:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
    
    2019-May-03 11:57:07  . . . . . nRF52_power_debug_and_system_regions:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.
    
    2019-May-03 11:57:07  nRF_close_dll
    2019-May-03 11:57:07  . nRF52_close_dll
    2019-May-03 11:57:07  . . nRF52_is_connected_to_emu
    2019-May-03 11:57:07  . . nRF52_is_connected_to_emu:	JLink:	JLINK_IsOpen()
    2019-May-03 11:57:07  . . nRF52_is_connected_to_emu:	JLink:	  returns 0x01
    2019-May-03 11:57:07  . . nRF52_is_connected_to_emu:	JLink:	 (0014ms, 0662ms total)  
    2019-May-03 11:57:07  . . nRF52_disconnect_from_emu
    2019-May-03 11:57:07  . . . nRF52_is_connected_to_device
    2019-May-03 11:57:07  . . . nRF52_is_connected_to_device:	JLink:	JLINK_IsConnected()
    2019-May-03 11:57:07  . . . nRF52_is_connected_to_device:	JLink:	  returns FALSE
    2019-May-03 11:57:07  . . . nRF52_is_connected_to_device:	JLink:	 (0014ms, 0683ms total)  
    2019-May-03 11:57:07  . . . nRF52_unpower_debug_and_system_regions
    2019-May-03 11:57:07  . . nRF52_disconnect_from_emu:	JLink:	JLINK_Close()
    2020-Nov-05 11:17:49  --------------------------------------------------------------------------------
    2020-Nov-05 11:17:49  nrfjprog.exe --recover --log
    2020-Nov-05 11:17:49  nrfjprog version 9.8.1
    2020-Nov-05 11:17:49  --------------------------------------------------------------------------------
    2020-Nov-05 11:17:49  nRF_open_dll
    2020-Nov-05 11:17:49  . nRFXX_open_dll
    2020-Nov-05 11:17:49  . . nRFXX_dll_version
    2020-Nov-05 11:17:49  nRF_enum_emu_snr
    2020-Nov-05 11:17:49  . nRFXX_enum_emu_snr
    2020-Nov-05 11:17:49  nRF_enum_emu_snr
    2020-Nov-05 11:17:49  . nRFXX_enum_emu_snr
    2020-Nov-05 11:17:49  nRF_connect_to_emu_with_snr
    2020-Nov-05 11:17:49  . nRFXX_connect_to_emu_with_snr
    2020-Nov-05 11:17:49  . . nRFXX_is_connected_to_emu
    2020-Nov-05 11:17:49  . . nRFXX_connect_to_emu_with_snr
    2020-Nov-05 11:17:49  . . . nRFXX_connect_to_emu_without_snr
    2020-Nov-05 11:17:49  . . . nRFXX_connect_to_emu_without_snr:	JLink:	Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
    2020-Nov-05 11:17:49  . . . nRFXX_connect_to_emu_without_snr:	JLink:	Hardware: V8.00
    2020-Nov-05 11:17:49  . . . nRFXX_connect_to_emu_without_snr:	JLink:	S/N: 4294967295
    2020-Nov-05 11:17:49  . . . nRFXX_connect_to_emu_without_snr:	JLink:	OEM: SEGGER
    2020-Nov-05 11:17:49  . . . nRFXX_connect_to_emu_without_snr:	JLink:	Feature(s): RDI,FlashDL,FlashBP,JFlash,GDB
    2020-Nov-05 11:17:49  . . . nRFXX_connect_to_emu_without_snr:	JLink:	TELNET listener socket opened on port 19021
    2020-Nov-05 11:17:49  . . . nRFXX_connect_to_emu_without_snr:	JLink:	WEBSRV Starting webserver
    2020-Nov-05 11:17:49  . . . nRFXX_connect_to_emu_without_snr:	JLink:	WEBSRV Webserver running on local port 19080
    2020-Nov-05 11:17:49  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 18.426ms returns "O.K."  
    2020-Nov-05 11:17:49  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_GetHWStatus(...)  
    2020-Nov-05 11:17:49  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.867ms returns 0x00  
    2020-Nov-05 11:17:49  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("Device = Cortex-M4", ...).   
    2020-Nov-05 11:17:49  . . . nRFXX_connect_to_emu_without_snr:	JLink:	XML file found at: C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml 
    2020-Nov-05 11:17:49  . . . nRFXX_connect_to_emu_without_snr:	JLink:	C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml evaluated successfully. 
    2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLink:	Device "CORTEX-M4" selected.
    2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLink:	Device "CORTEX-M4" selected.
    2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 161.063ms returns 0x00  
    2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.009ms returns 0x01  
    2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("DisableFlashDL", ...).   
    2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.016ms returns 0x00  
    2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...).   
    2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.015ms returns 0x01  
    2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.013ms returns 0x00  
    2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 1.116ms returns 0x00  
    2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_SetSpeed(2000)  
    2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 1.225ms  
    2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLinkARM.dll GetSN returned error -1.
    
    2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_Close()  
    2020-Nov-05 11:17:50  nRF_close_dll
    2020-Nov-05 11:17:50  . nRFXX_close_dll
    2020-Nov-05 11:17:50  . . nRFXX_is_connected_to_emu
    2020-Nov-05 11:18:02  --------------------------------------------------------------------------------
    2020-Nov-05 11:18:02  nrfjprog.exe --log --recover
    2020-Nov-05 11:18:02  nrfjprog version 9.8.1
    2020-Nov-05 11:18:02  --------------------------------------------------------------------------------
    2020-Nov-05 11:18:02  nRF_open_dll
    2020-Nov-05 11:18:02  . nRFXX_open_dll
    2020-Nov-05 11:18:02  . . nRFXX_dll_version
    2020-Nov-05 11:18:02  nRF_enum_emu_snr
    2020-Nov-05 11:18:02  . nRFXX_enum_emu_snr
    2020-Nov-05 11:18:02  nRF_enum_emu_snr
    2020-Nov-05 11:18:02  . nRFXX_enum_emu_snr
    2020-Nov-05 11:18:02  nRF_connect_to_emu_with_snr
    2020-Nov-05 11:18:02  . nRFXX_connect_to_emu_with_snr
    2020-Nov-05 11:18:02  . . nRFXX_is_connected_to_emu
    2020-Nov-05 11:18:02  . . nRFXX_connect_to_emu_with_snr
    2020-Nov-05 11:18:02  . . . nRFXX_connect_to_emu_without_snr
    2020-Nov-05 11:18:02  . . . nRFXX_connect_to_emu_without_snr:	JLink:	Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
    2020-Nov-05 11:18:02  . . . nRFXX_connect_to_emu_without_snr:	JLink:	Hardware: V8.00
    2020-Nov-05 11:18:02  . . . nRFXX_connect_to_emu_without_snr:	JLink:	S/N: 4294967295
    2020-Nov-05 11:18:02  . . . nRFXX_connect_to_emu_without_snr:	JLink:	OEM: SEGGER
    2020-Nov-05 11:18:02  . . . nRFXX_connect_to_emu_without_snr:	JLink:	Feature(s): RDI,FlashDL,FlashBP,JFlash,GDB
    2020-Nov-05 11:18:02  . . . nRFXX_connect_to_emu_without_snr:	JLink:	TELNET listener socket opened on port 19021
    2020-Nov-05 11:18:02  . . . nRFXX_connect_to_emu_without_snr:	JLink:	WEBSRV Starting webserver
    2020-Nov-05 11:18:02  . . . nRFXX_connect_to_emu_without_snr:	JLink:	WEBSRV Webserver running on local port 19080
    2020-Nov-05 11:18:02  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 25.002ms returns "O.K."  
    2020-Nov-05 11:18:02  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_GetHWStatus(...)  
    2020-Nov-05 11:18:02  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.752ms returns 0x00  
    2020-Nov-05 11:18:02  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("Device = Cortex-M4", ...).   
    2020-Nov-05 11:18:02  . . . nRFXX_connect_to_emu_without_snr:	JLink:	XML file found at: C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml 
    2020-Nov-05 11:18:02  . . . nRFXX_connect_to_emu_without_snr:	JLink:	C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml evaluated successfully. 
    2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLink:	Device "CORTEX-M4" selected.
    2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLink:	Device "CORTEX-M4" selected.
    2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 155.870ms returns 0x00  
    2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.010ms returns 0x01  
    2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("DisableFlashDL", ...).   
    2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.016ms returns 0x00  
    2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...).   
    2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.021ms returns 0x01  
    2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.018ms returns 0x00  
    2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 1.138ms returns 0x00  
    2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_SetSpeed(2000)  
    2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.715ms  
    2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLinkARM.dll GetSN returned error -1.
    
    2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_Close()  
    2020-Nov-05 11:18:03  nRF_close_dll
    2020-Nov-05 11:18:03  . nRFXX_close_dll
    2020-Nov-05 11:18:03  . . nRFXX_is_connected_to_emu
    

    I am using Windows - the device is connected to USB

  • Could this possibly be a jlink clone? It doesn't appear to have a valid serial number.

  • It might be clone - but how can it work with Keil or Segger studio? and not with the on-line commands

Reply Children
No Data
Related