<?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>Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86428/detecting-jlink-with-nrfjprog</link><description>Hi all, 
 I&amp;#39;m trying something similar to this: 
 https://devzone.nordicsemi.com/f/nordic-q-a/21628/how-to-use-nrfjprog-dll 
 i.e. using the nrfprog.dll to connect with a Jlink from a c# application. 
 Opening the .dll works fine and I now want to use</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Jun 2022 07:36:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86428/detecting-jlink-with-nrfjprog" /><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/374269?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2022 07:36:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ce04d6d-94e7-48e7-ae18-f954508b0985</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Eric,&lt;br /&gt;&lt;br /&gt;Unfortunately, I do not have this information. For questions related to timeline, please contact regional sales manager.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/374258?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2022 06:25:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab170f6c-ca98-4cbc-9d36-6dc313b0b7da</guid><dc:creator>Eric Wiebols</dc:creator><description>&lt;p&gt;Ok, great. Do you know when it is scheduled to be released ?&lt;/p&gt;
&lt;p&gt;\Eric&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/374013?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2022 16:25:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57b5563d-ef7b-48f4-84db-ef394e1e86c2</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Eric,&lt;br /&gt;&lt;br /&gt;The issue is expected to be fix with nRF Command Line Tools v10.17.0.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/372506?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 08:41:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b78bd21-852b-4ffe-aef7-2297e0ff3422</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Eric,&lt;br /&gt;&lt;br /&gt;Thank you for the log.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll get back to you when new information is available, possibly till the end of this week.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/372491?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 07:51:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74a1d56f-1894-4c66-a7a2-4b6da5d4a50e</guid><dc:creator>Eric Wiebols</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/fail-with-10.16.txt"&gt;devzone.nordicsemi.com/.../fail-with-10.16.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Log attached&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/372376?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2022 12:23:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3c81b1c-fcdd-4d72-85a6-01f369c514f7</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="EricHDS"]Was this supposed to have been fixed ? There is, at least, nothing about it in the 10.16.0 release log.[/quote]
&lt;p&gt;As far as I know, it should have been fixed with nRF Command Line Tools 10.16.0.&lt;br /&gt;&lt;br /&gt;Could you provide log using nRF Command Line Tools v10.16.0?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/372352?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2022 11:16:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b0e8ae3-760c-4f10-96a4-f5ea98e0945f</guid><dc:creator>Eric Wiebols</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;I have tested upgrading to 10.16.0 but the problem persists, i.e. the JLINK still responds with &amp;quot;0&amp;quot; if its serial number is read while it is NOT connected to a target MCU.&lt;/p&gt;
&lt;p&gt;Was this supposed to have been fixed ? There is, at least, nothing about it in the 10.16.0 release log.&lt;/p&gt;
&lt;p&gt;\Eric&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/372200?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2022 14:34:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8364208a-8395-43ea-9966-cfb16d1ab7aa</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;There is an update for nRF Command Line Tools. Please update your nRF Command Line Tools to the version 10.16.0.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/372166?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2022 13:24:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13433bd6-adc9-4ca4-8924-3c4ad617f6e4</guid><dc:creator>Eric Wiebols</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Any information regarding this issue yet ? I have a workaround for now but it, sort of, messes up the logic of my flow.&lt;/p&gt;
&lt;p&gt;\Eric&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/364968?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 13:11:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:109cf53d-9e76-497b-8523-7c4af0030585</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Thank you for the logs.&lt;br /&gt;&lt;br /&gt;I have reported the issue internally. I will get back to you when I get more information related to this issue.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/364901?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 10:18:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2225e35f-32b0-41a3-90aa-9d38ae68b90d</guid><dc:creator>Eric Wiebols</dc:creator><description>&lt;p&gt;Ok, so one&amp;nbsp; &amp;quot;success log&amp;quot; and one &amp;quot;fail log&amp;quot; attached. It seems the correct SNR is read also in the fail log but that something goes wrong due to the (obviously) &amp;quot;low target voltage&amp;quot;.&lt;/p&gt;
&lt;p&gt;\Eric&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Success.txt"&gt;devzone.nordicsemi.com/.../Success.txt&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3716.Fail.txt"&gt;devzone.nordicsemi.com/.../3716.Fail.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/364871?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 09:04:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88404a6a-6dc7-4fba-8277-e408b8e01ee4</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you provide&amp;nbsp; a log either by providing a callback to the cb parameter or by setting jlink to log the output to a file (&lt;a href="https://wiki.segger.com/Enable_J-Link_log_file"&gt;J-Link log file&lt;/a&gt;)?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/364848?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 08:03:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e93cc1f4-edd6-41f4-a013-54821eefa73c</guid><dc:creator>Eric Wiebols</dc:creator><description>&lt;p&gt;Like I said it is &amp;quot;0&amp;quot;, i.e. a valid null terminated string with one character.&lt;/p&gt;
&lt;p&gt;\Eric&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/364845?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 07:54:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24f86231-df74-4b74-97a3-82282d933ab5</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you please provide the return value of the NRFJPROG_read_connected_emu_snr() in the failing case?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/364741?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 13:26:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35dd54f5-3aff-4852-9374-b07601c0dc9f</guid><dc:creator>Eric Wiebols</dc:creator><description>&lt;p&gt;Yes, but I&amp;#39;m doing that. Here is the complete code:&lt;/p&gt;
&lt;p&gt;static string JLinkPath = &amp;quot;C:\\Program Files\\SEGGER\\JLink\\JLink_x64.dll&amp;quot;;&lt;/p&gt;
&lt;p&gt;[DllImport("nrfjprog.dll", CallingConvention = CallingConvention.Cdecl)]&lt;br /&gt; private static extern int NRFJPROG_open_dll(string jlink_path, System.IntPtr cb, int family);&lt;/p&gt;
&lt;p&gt;[DllImport("nrfjprog.dll", CallingConvention = CallingConvention.Cdecl)]&lt;br /&gt; private static extern void NRFJPROG_close_dll();&lt;/p&gt;
&lt;p&gt;[DllImport("nrfjprog.dll", CallingConvention = CallingConvention.Cdecl)]&lt;br /&gt; private static extern int NRFJPROG_connect_to_emu_without_snr(int clock_speed_in_khz);&lt;br /&gt; &lt;br /&gt; [DllImport("nrfjprog.dll", CallingConvention = CallingConvention.Cdecl)]&lt;br /&gt; private static extern int NRFJPROG_read_connected_emu_snr(out int serial_number);&lt;/p&gt;
&lt;p&gt;private void btnJlink_Click(object sender, RoutedEventArgs e)&lt;br /&gt; {&lt;/p&gt;
&lt;p&gt;int snr,clock_speed_in_khz = 4000;&lt;br /&gt; IntPtr cb = new IntPtr();&lt;/p&gt;
&lt;p&gt;NRFJPROG_close_dll();&lt;/p&gt;
&lt;p&gt;NRFJPROG_open_dll(JLinkPath, cb, 1);&lt;/p&gt;
&lt;p&gt;NRFJPROG_connect_to_emu_without_snr(clock_speed_in_khz);&lt;/p&gt;
&lt;p&gt;NRFJPROG_read_connected_emu_snr(out snr);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;And as previously stated, snr will have the correct serial number IF the emulator is (physically) connected to a target but &amp;quot;0&amp;quot; if it is not.&lt;/p&gt;
&lt;p&gt;\Eric&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/364738?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 13:18:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9ba9a23-9ac7-4b0e-a786-013e849d70db</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;The function NRFJPROG_read_connected_emu_snr() returns the serial number of the emulator to which it is connected, but before that it is necessary to establish the connection to the emulator, which is done by using the functions NRFJPROG_connect_to_emu_with_snr() or&amp;nbsp;&lt;span&gt;NRFJPROG_connect_to_emu_without_snr().&lt;br /&gt;In other words, the function&amp;nbsp;NRFJPROG_read_connected_emu_snr()&amp;nbsp; requires as a precondition a live connection to the debug probe.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/364684?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 11:16:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8191bb9-d087-4c57-a423-bb6da3248c8a</guid><dc:creator>Eric Wiebols</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please note that I&amp;#39;m not asking about&amp;nbsp;&lt;span&gt;NRFJPROG_enum_emu_snr() anymore. What I&amp;#39;m trying&amp;nbsp;(since 220420)&amp;nbsp; is to use&amp;nbsp;&lt;/span&gt;NRFJPROG_read_connected_emu_snr(). Since it does not use&amp;nbsp;&lt;span&gt;serial_numbers_length&amp;nbsp; I don&amp;#39;t understand your question.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;\Eric&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/364661?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 10:13:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfc5fe32-783f-4038-af1b-4438c9906952</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you please confirm that serial_numbers_length in your code is not zero?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/364486?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2022 12:54:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f48eaf8b-d034-4984-bb2c-591ac684bee1</guid><dc:creator>Eric Wiebols</dc:creator><description>&lt;p&gt;I have a JLink+ with a custom board.&lt;/p&gt;
&lt;p&gt;Yes, with&amp;nbsp;&lt;span&gt;nrfjprog --ids I get the id from the emulator regardless if it is connected to a target or not.&amp;nbsp;So, either the&amp;nbsp;NRFJPROG_read_connected_emu_snr (out snr) function has an issue when called from C# or the nrfprog application uses another function in the .dll API. Maybe you can investigate internally what it uses ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;\Eric&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/364469?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2022 12:11:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50aea430-bb4a-4de9-bcb9-dfcd9fa8ffb7</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I could get serial number if there is a connection to the debugger on nRF52840-DK. As long as the debugger is powered on, I could read its serial number with &amp;quot;nrfjprog --ids&amp;quot;.&lt;br /&gt;&lt;br /&gt;Are you using external debugger? Are you using development kit or custom board? In case you are using development kit, how are you cutting power to the nrf52 chip?&lt;br /&gt;&lt;br /&gt;Can you get serial number by running the command &amp;quot;nrfjprog --ids&amp;quot; from the command line?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/364351?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2022 06:15:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddff9a5e-6682-474a-bddd-f859aed90613</guid><dc:creator>Eric Wiebols</dc:creator><description>&lt;p&gt;Sorry, but you&amp;nbsp;misinterpret my question;&lt;/p&gt;
&lt;p&gt;Yes, I establish the connection with the debugger/emulator and can read out the serial number, but, ONLY, if the debugger/emulator is connected to a powered target system (e.g. nRF52). If it is not the serial number returned is &amp;quot;0&amp;quot;.&amp;nbsp;Have you tested this on your end ?&lt;/p&gt;
&lt;p&gt;\Eric&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/364300?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 15:03:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5b28d1f-e64a-46d3-b209-e835f951484b</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="EricHDS"]Connection established with what ?[/quote]
&lt;p&gt;The connection is established to the emulator/debugger. Proper steps for establishing the connection are given in the header file I mentioned before.&lt;/p&gt;
[quote user="EricHDS"]Why does the emulator need to be connected to a target in order for its (the emulator&amp;#39;s) serial number to be read ?[/quote]
&lt;p&gt;This is the way how it is done - first establish the connection and then read the serial number.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/364284?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 14:17:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:179c86f9-7ca2-4aed-945a-d46de60fc947</guid><dc:creator>Eric Wiebols</dc:creator><description>&lt;p&gt;Dejan,&lt;/p&gt;
&lt;p&gt;Connection established with what ? Why does the emulator need to be connected to a target in order for its (the emulator&amp;#39;s) serial number to be read ?&lt;/p&gt;
&lt;p&gt;\Eric&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/364283?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 14:13:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b27f9b9d-5c02-4cb0-8d7b-fdd7d7b37bc6</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As it is described in nrfjprog header file for specific family (for example jlinkarm_nrf52_nrfjprogdll.h for 52 family), NRFJPROG_read_connected_emu_snr() can be used to check emulator&amp;#39;s serial number after connection is established. Before the execution of the function DLL must be opened and connection to the emulator must be established.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting JLINK with nrfjprog</title><link>https://devzone.nordicsemi.com/thread/363962?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 13:27:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40523145-0633-4ee8-8e2e-8cb865cf9fb6</guid><dc:creator>Eric Wiebols</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;Came across a similar problem with the&amp;nbsp;NRFJPROG_read_connected_emu_snr (out snr) function.&amp;nbsp; If I call it when the JLink is connected to a&amp;nbsp;nRF52 it returns the correct serial number of the JLink. If it is NOT connected to a&amp;nbsp;&lt;span&gt;nRF52&amp;nbsp;&lt;/span&gt;it will simply return &amp;quot;0&amp;quot; as the serial number.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This does not make any sense, Any there way around it ?&lt;/p&gt;
&lt;p&gt;\Eric&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>