<?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>Using nRF5340DK to program an nRF9160 - &amp;quot;Error when running nrfdl_enumerate&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83066/using-nrf5340dk-to-program-an-nrf9160---error-when-running-nrfdl_enumerate</link><description>I am using the programmer on the development kit to program my nRF9160 device. 
 
 I am using a Mac running Mac Big Sur 11.6.1 
 nRF Connect for Desktop v3.9.1 
 Programmer v2.0.1 
 
 My debug log is: 
 ``` 
 2021-12-22T22:52:58.051Z INFO Application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Dec 2021 19:16:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83066/using-nrf5340dk-to-program-an-nrf9160---error-when-running-nrfdl_enumerate" /><item><title>RE: Using nRF5340DK to program an nRF9160 - "Error when running nrfdl_enumerate"</title><link>https://devzone.nordicsemi.com/thread/345512?ContentTypeID=1</link><pubDate>Thu, 30 Dec 2021 19:16:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cfb5e35-db80-47cc-9d2e-fdccbadd57ef</guid><dc:creator>chipmc</dc:creator><description>&lt;p&gt;H&amp;aring;kon Alseth,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for that reminder. &amp;nbsp;It works!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So, to recap:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Install nRF Connect for Desktop v3.9.1&lt;/li&gt;
&lt;li&gt;Install the programmer from nRF Connect for Desktop - Programmer v2.0.1&lt;/li&gt;
&lt;li&gt;Install the Nordic command line tools v10.15.1&lt;/li&gt;
&lt;li&gt;Go to the Segger site and install the command line tools again v7.70b (&lt;a href="https://www.segger.com/downloads/jlink/"&gt;https://www.segger.com/downloads/jlink/&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Test the command line tools using the&amp;quot;nrftjprog --version&amp;quot; command&lt;/li&gt;
&lt;li&gt;Connect the nRF9160 Feather using the programming cable &lt;em&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;AND&lt;/strong&gt;&lt;/span&gt;&lt;/em&gt;&amp;nbsp;power the device&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Bob&amp;#39;s your uncle.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for all your help and patience! &amp;nbsp;Have a great Holiday Season.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Chip&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF5340DK to program an nRF9160 - "Error when running nrfdl_enumerate"</title><link>https://devzone.nordicsemi.com/thread/345488?ContentTypeID=1</link><pubDate>Thu, 30 Dec 2021 14:19:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25e34323-f6f1-4cc6-b7fd-b350c91e7b0e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote userid="112162" url="~/f/nordic-q-a/83066/using-nrf5340dk-to-program-an-nrf9160---error-when-running-nrfdl_enumerate/345401#345401"]I now get the response:[/quote]
&lt;p&gt;That is good news. The system seems to be installed properly.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote userid="112162" url="~/f/nordic-q-a/83066/using-nrf5340dk-to-program-an-nrf9160---error-when-running-nrfdl_enumerate/345401#345401"]&lt;p&gt;So, progress indeed. However, when I connect the nRF5340 DK to my computer and the nRF9160 Feather to that device using the programming cable, I still am unable to connect. &amp;nbsp;It has been suggested that I may need a nRF9160 DK to make this connection and one is on the way - arriving next week.&lt;/p&gt;
&lt;p&gt;So, if there are additional troubleshooting steps, please let me know. &amp;nbsp;If it is true that I need the nRF9160 DK in order for this connection to work, I will try that step next week.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;According to the feather documentation, you should be able to program the device using a nRF5340-DK:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.jaredwolff.com/nrf9160-programming-and-debugging.html"&gt;https://docs.jaredwolff.com/nrf9160-programming-and-debugging.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is the same debugger capabilities on the nRF5340-DK as the nRF9160-DK, with the exception that the nRF9160-DK can be switched into 1.8V programming mode.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please note that the debugger connection does not provide power to the external device, so the feather must be self-powered.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;H&amp;aring;kon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF5340DK to program an nRF9160 - "Error when running nrfdl_enumerate"</title><link>https://devzone.nordicsemi.com/thread/345401?ContentTypeID=1</link><pubDate>Wed, 29 Dec 2021 16:16:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20ffc078-ed12-4141-8731-4bf4d1a7ad9e</guid><dc:creator>chipmc</dc:creator><description>&lt;p&gt;Thank you for this suggestion, I thought these tools would have been installed with the programmer in the nRF connect for desktop. &amp;nbsp;I followed your link and installed the command line tools successfully. &amp;nbsp;However, when I tried the nrfjprog -- version command I got the following error:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;(base) cmcclell-mac:~ chipmc$ nrfjprog --version
ERROR: JLinkARM DLL load failed. Try again. If it keeps failing, please
ERROR: reinstall latest JLinkARM from Segger webpage.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;From there, I went to the Segger site and downloaded the latest JLinkARM.dll. &amp;nbsp;This seemed to fix the issue (though it feels like this step should not be necessary - perhaps your command lines tools package needs to be updated?).&lt;/p&gt;
&lt;p&gt;I now get the response:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;(base) cmcclell-mac:~ chipmc$ nrfjprog --version
nrfjprog version: 10.15.1 external
JLinkARM.dll version: 7.61a&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So, progress indeed. However, when I connect the nRF5340 DK to my computer and the nRF9160 Feather to that device using the programming cable, I still am unable to connect. &amp;nbsp;It has been suggested that I may need a nRF9160 DK to make this connection and one is on the way - arriving next week.&lt;/p&gt;
&lt;p&gt;So, if there are additional troubleshooting steps, please let me know. &amp;nbsp;If it is true that I need the nRF9160 DK in order for this connection to work, I will try that step next week.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks, Chip&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF5340DK to program an nRF9160 - "Error when running nrfdl_enumerate"</title><link>https://devzone.nordicsemi.com/thread/345392?ContentTypeID=1</link><pubDate>Wed, 29 Dec 2021 15:44:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5ac932f-f49d-495c-8f5c-68509fa2ef40</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try installing the nrf command line tools? this should include segger drivers as well as nrfjprog:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download"&gt;https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;H&amp;aring;kon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF5340DK to program an nRF9160 - "Error when running nrfdl_enumerate"</title><link>https://devzone.nordicsemi.com/thread/344971?ContentTypeID=1</link><pubDate>Thu, 23 Dec 2021 14:06:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eabaebb1-73a7-4afe-bcc4-fceef5050c7d</guid><dc:creator>chipmc</dc:creator><description>&lt;p&gt;Well, you may be on to something. I installed the programmer using the nRF connect for desktop application. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;From my terminal the command &amp;quot;&lt;span&gt;nrfjprog --version&amp;quot; returns &amp;quot;&lt;/span&gt;&lt;span&gt;-bash: nrfjprog: command not found&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is there another step I need to take? &amp;nbsp;Install some command line tools?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Chip&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF5340DK to program an nRF9160 - "Error when running nrfdl_enumerate"</title><link>https://devzone.nordicsemi.com/thread/344919?ContentTypeID=1</link><pubDate>Thu, 23 Dec 2021 10:43:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:514fcdc3-c930-4001-90b9-03e1372092e2</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please note that due to Christmas holidays our R&amp;amp;D team are lower staffed than normal and that response time is increased.&lt;/span&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;What version of nrfjprog and Jlink drivers are you running? Can you please issue the following command in the terminal.&lt;br /&gt;&lt;pre class="ui-code" data-mode="powershell"&gt;nrfjprog --version
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;There have been issues with the latest version of the JLink drivers. Version 7.20 was latest verified version to work.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>