<?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>Unable to connect to J-Link from SES - nRF5340D</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77463/unable-to-connect-to-j-link-from-ses---nrf5340d</link><description>Device: nRF5340 DK 
 I installed the SEGGER Embedded Studio and wanted to run a sample application. But it throws an error when I click on Connect J-Link. 
 
 But I see that the J-Link driver is already installed and shows up in the Device Manager 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Jul 2021 08:40:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77463/unable-to-connect-to-j-link-from-ses---nrf5340d" /><item><title>RE: Unable to connect to J-Link from SES - nRF5340D</title><link>https://devzone.nordicsemi.com/thread/320177?ContentTypeID=1</link><pubDate>Thu, 15 Jul 2021 08:40:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eca7581b-b4d6-4541-9ac4-abb702bf462c</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am happy to hear that you got it to work, and thank you for sharing this to help others!&lt;/p&gt;
&lt;p&gt;I recommend looking at&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.0/nrf/ug_nrf5340.html"&gt;Working with nRF53 Series&lt;/a&gt;&amp;nbsp;in our documentation for more information about working with this SoC.&amp;nbsp;This page also explains how to build and program samples for the DK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect to J-Link from SES - nRF5340D</title><link>https://devzone.nordicsemi.com/thread/320058?ContentTypeID=1</link><pubDate>Wed, 14 Jul 2021 13:57:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:baad9b2b-6824-4c91-845d-6cd205208451</guid><dc:creator>Yeshvanth M</dc:creator><description>&lt;p&gt;Thanks a lot, it worked.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Apparently, I had to install nrfjprog manually using pip. Even west can be installed the same way.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_pynrfjprog%2FUG%2Fpynrfjprog%2Fpynrfjprog_installation.html"&gt;infocenter.nordicsemi.com/index.jsp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then to get started with a BLE example for the very first time,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;File-&amp;gt;&amp;quot;Open nRF Connect SDK Project...&amp;quot;, select hci_rpmsg, and board with _cpunet suffix.&lt;/em&gt;&lt;/p&gt;
&lt;div class="project-story collapsible-section collapsed hljs-active hljs-monokai" itemprop="text"&gt;
&lt;p class="hckui__typography__bodyL"&gt;&lt;em&gt;Build and run project.&lt;/em&gt;&lt;/p&gt;
&lt;p class="hckui__typography__bodyL"&gt;&lt;em&gt;Next create another project File-&amp;gt;&amp;quot;Open nRF Connect SDK Project...&amp;quot;, and this time select peripheral_lbs sample, and board with _cpuappns suffix.&lt;/em&gt;&lt;/p&gt;
&lt;p class="hckui__typography__bodyL"&gt;&lt;em&gt;Build and run project.&lt;/em&gt;&lt;/p&gt;
&lt;p class="hckui__typography__bodyL"&gt;&lt;em&gt;LED1 should be blinking slowly when the application has initialized Bluetooth correctly. Now it should be possible to use a mobile phone to enumerate the &amp;quot;Nordic_Blikny&amp;quot; device (using for example nRF Connect Android app).&lt;/em&gt;&lt;/p&gt;
&lt;p class="hckui__typography__bodyL"&gt;&lt;em&gt;You can take a look at this example project:&amp;nbsp;&lt;a href="https://www.hackster.io/myinternetofthings/getting-started-with-nrf5340-dk-74297e"&gt;www.hackster.io/.../getting-started-with-nrf5340-dk-74297e&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p class="hckui__typography__bodyL"&gt;That should get you going. I explained this so that anyone who is starting with the nRF5340DK would find this useful.&lt;/p&gt;
&lt;p class="hckui__typography__bodyL"&gt;&lt;/p&gt;
&lt;p class="hckui__typography__bodyL"&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect to J-Link from SES - nRF5340D</title><link>https://devzone.nordicsemi.com/thread/319975?ContentTypeID=1</link><pubDate>Wed, 14 Jul 2021 11:09:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5528eb8-a8ad-4e3f-8a56-85b84d7b6781</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The error&amp;nbsp;NOT_AVAILABLE_BECAUSE_PROTECTION indicates that the readback protection is enabled. You must disable the readback protection by recovering the device in order to be able to connect to and program it. You can use west or nrfjprog to recover the device.&lt;/p&gt;
&lt;p&gt;With west you can recover both cores with the following command:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;west flash --recover&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;With nrfjprog you must recover the cores separately. Make sure you recover the network core before the application core.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;nrfjprog --recover --coprocessor CP_NETWORK&lt;/code&gt;&lt;br /&gt;&lt;code&gt;nrfjprog --recover&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>