<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>J-Link Segger with nrf command line script</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67985/j-link-segger-with-nrf-command-line-script</link><description>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?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Nov 2020 10:38:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67985/j-link-segger-with-nrf-command-line-script" /><item><title>RE: J-Link Segger with nrf command line script</title><link>https://devzone.nordicsemi.com/thread/278564?ContentTypeID=1</link><pubDate>Thu, 05 Nov 2020 10:38:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58cda3c6-0e40-4b64-9f4b-466fccffcceb</guid><dc:creator>Avi</dc:creator><description>&lt;p&gt;It might be clone - but how can it work with Keil or Segger studio? and not with the on-line commands&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: J-Link Segger with nrf command line script</title><link>https://devzone.nordicsemi.com/thread/278561?ContentTypeID=1</link><pubDate>Thu, 05 Nov 2020 10:06:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed6dec44-2241-490a-bb23-9c2de43f4c26</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Could this possibly be a jlink clone? It doesn&amp;#39;t appear to have a valid serial number.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: J-Link Segger with nrf command line script</title><link>https://devzone.nordicsemi.com/thread/278558?ContentTypeID=1</link><pubDate>Thu, 05 Nov 2020 09:53:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:729ec3a2-3511-4cc3-89de-fd08a473cfc0</guid><dc:creator>Avi</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;--------------------------------------------------------------------------------
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 &amp;quot;NRF52832_XXAA&amp;quot; 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 &amp;quot;NRF52832_XXAA&amp;quot; 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 &amp;quot;NRF52832_XXAA&amp;quot; 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 &amp;quot;NRF52832_XXAA&amp;quot; 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(&amp;quot;Device = NRF52832_xxAA&amp;quot;, ...). 
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 &amp;quot;NRF52832_XXAA&amp;quot; selected.
2019-May-03 11:57:07  . . . nRF52_connect_to_emu_without_snr:	JLink:	Device &amp;quot;NRF52832_XXAA&amp;quot; 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(&amp;quot;SetRestartOnClose = 0&amp;quot;, ...). 
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(&amp;quot;DisableFlashDL&amp;quot;, ...). 
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(&amp;quot;SetDbgPowerDownOnClose = 1&amp;quot;, ...). 
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(&amp;quot;ExcludeFlashCacheRange 0x0-0xFFFFFFFF&amp;quot;, ...). 
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 &amp;quot;O.K.&amp;quot;  
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(&amp;quot;Device = Cortex-M4&amp;quot;, ...).   
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 &amp;quot;CORTEX-M4&amp;quot; selected.
2020-Nov-05 11:17:50  . . . nRFXX_connect_to_emu_without_snr:	JLink:	Device &amp;quot;CORTEX-M4&amp;quot; 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(&amp;quot;SetRestartOnClose = 0&amp;quot;, ...).   
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(&amp;quot;DisableFlashDL&amp;quot;, ...).   
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(&amp;quot;SetDbgPowerDownOnClose = 1&amp;quot;, ...).   
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(&amp;quot;ExcludeFlashCacheRange 0x0-0xFFFFFFFF&amp;quot;, ...).   
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 &amp;quot;O.K.&amp;quot;  
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(&amp;quot;Device = Cortex-M4&amp;quot;, ...).   
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 &amp;quot;CORTEX-M4&amp;quot; selected.
2020-Nov-05 11:18:03  . . . nRFXX_connect_to_emu_without_snr:	JLink:	Device &amp;quot;CORTEX-M4&amp;quot; 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(&amp;quot;SetRestartOnClose = 0&amp;quot;, ...).   
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(&amp;quot;DisableFlashDL&amp;quot;, ...).   
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(&amp;quot;SetDbgPowerDownOnClose = 1&amp;quot;, ...).   
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(&amp;quot;ExcludeFlashCacheRange 0x0-0xFFFFFFFF&amp;quot;, ...).   
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
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I am using Windows - the device is connected to USB&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: J-Link Segger with nrf command line script</title><link>https://devzone.nordicsemi.com/thread/278532?ContentTypeID=1</link><pubDate>Thu, 05 Nov 2020 07:26:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:909a5400-0c58-457f-8404-dc0e6019b347</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Are you getting any errors when you run &amp;quot;nrfjprog --family nrf52&amp;quot;. Also, what OS do you use, windows, linux, or macos?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can find the documentation for nrfprog here: &lt;span&gt;&lt;a title="nRF5x Command Line Tools" href="https://infocenter.nordicsemi.com/topic/ug_nrf5x_cltools/UG/cltools/nrf5x_command_line_tools_lpage.html?cp=9_1"&gt;nRF5x Command Line Tools&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>