<?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>Getting started Zephyr BLE examples will not run on nRF5340 DK with nRF Connect SDK 6.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78552/getting-started-zephyr-ble-examples-will-not-run-on-nrf5340-dk-with-nrf-connect-sdk-6-1</link><description>This is a new install of NCS 6.1. Installed using nRF Connect Desktop v3.7.0 Toolchain Manager and connected to a new nRF5340 DK. 
 I followed the Getting Started, Running a First Test instructions here: https://infocenter.nordicsemi.com/index.jsp?topic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Aug 2021 09:04:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78552/getting-started-zephyr-ble-examples-will-not-run-on-nrf5340-dk-with-nrf-connect-sdk-6-1" /><item><title>RE: Getting started Zephyr BLE examples will not run on nRF5340 DK with nRF Connect SDK 6.1</title><link>https://devzone.nordicsemi.com/thread/325247?ContentTypeID=1</link><pubDate>Tue, 17 Aug 2021 09:04:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba2825a8-4cc7-4a65-abeb-78b80f1799dd</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;The Zephyr bluetooth samples work fine on the nRF5340, but you flash the cores separately. So build and flash zephyr/samples/bluetooth/hci_rpmsg for nrf5340dk_nrf5340_cpunet, then build and flash the bluetooth application for cpuapp/cpuappns.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting started Zephyr BLE examples will not run on nRF5340 DK with nRF Connect SDK 6.1</title><link>https://devzone.nordicsemi.com/thread/324997?ContentTypeID=1</link><pubDate>Mon, 16 Aug 2021 02:42:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51ff3a68-aada-4b14-9ded-9ecd13e4c4ae</guid><dc:creator>Doug_H</dc:creator><description>&lt;p&gt;I think I have figured this out. The Getting Started Guide is not clear. I followed the instructions for &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_programming.html"&gt;Building and Programming an Application&lt;/a&gt; in the GSG, but this does not work for the Dual core nRF5340. You have to go to the section &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf5340.html#building-and-programming-a-sample"&gt;Building and Running a Sample&lt;/a&gt; in the nRF5340 documentation, which takes some searching to find. Follow the instructions on adding a multi-image build project to the solution.&lt;/p&gt;
&lt;p&gt;Another &lt;strong&gt;important detail &lt;/strong&gt;is the Zephyr Bluetooth samples don&amp;#39;t work on the nRF5340 so you have to load a Nordic Sample. In SES run the&lt;strong&gt; File-&amp;gt;Open nRF SDK Project&lt;/strong&gt; tool. Don&amp;#39;t select the project from the list, instead Click the&lt;strong&gt; ...&lt;/strong&gt; at the right and browse to the Nordic samples. E.g. for the peripheral_lbs sample, browse to: \v1.6.1\nrf\samples\bluetooth\peripheral_lbs&lt;/p&gt;
&lt;p&gt;Once I followed the above steps, I could build the peripheral_lbs sample, add a project to download the network core hex file for the peripheral_lbs sample to the target and then download the application hex file to the application core on the target.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting started Zephyr BLE examples will not run on nRF5340 DK with nRF Connect SDK 6.1</title><link>https://devzone.nordicsemi.com/thread/324952?ContentTypeID=1</link><pubDate>Sun, 15 Aug 2021 02:58:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:596090fe-3caf-4511-8c8c-c6e2f89bc217</guid><dc:creator>Doug_H</dc:creator><description>&lt;p&gt;Hi Thanks for your reply.&lt;/p&gt;
&lt;p&gt;I installed the nRF Command Line Tools v10.13.0 and ran the commands. Both commands executed with no errors. I downloaded the peripheral_hr project from SES again, but it still does not run. I get the same Booting Zephyr OS on the serial terminal output but the sample is not running.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been building products with the nRF5 SDK for many years and never had any issues. This is my first experience with nRF Connect SDK, I don&amp;#39;t know what I&amp;#39;m doing wrong. What should I do next?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;After further investigation it looks like merged.hex is missing the network core hex file!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Detailed description of my troubleshooting:&lt;/p&gt;
&lt;p&gt;In case this was a problem with my Windows Dev environment, I decided to try and get it to run on a Mac computer with a 2nd brand new 5340 DK. The peripheral samples would not run. Here are the steps followed on the Mac&lt;/p&gt;
&lt;p&gt;1) Installed NCS 1.6.1 using nRF Connect Desktop toolchain Manager. This worked fine.&lt;/p&gt;
&lt;p&gt;2) Followed the&lt;strong&gt; Getting started with nRF5340-DK guide&lt;/strong&gt; which says to verify all connectivity by loading the pre-built HRM application using nRF Connect Programmer. I connected Programmer and it showed a message in both the Network Core and the Application core:&lt;strong&gt; Device Is Protected. Press Erase All button to recover protected memory.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;3) I exited Programmer, opened a terminal and ran &lt;strong&gt;nrfjprog --recover --coprocessor CP_NETWORK&lt;/strong&gt; and then &lt;strong&gt;nrfjprog --recover&lt;/strong&gt;. Both commands executed with no error.&lt;/p&gt;
&lt;p&gt;4) I launched Programmer again and it showed the same message that both the cores are protected. The nrfjprog recover commands did not work? I Clicked the Erase All button in nRF Connect Programmer and it successfully erased both cores and removed the Protection.&lt;/p&gt;
&lt;p&gt;5) I loaded the two prebuilt HEX files for the HRM sample with Programmer and wrote them to the DK, Reset the DK and Found the &lt;strong&gt;Zephyr Heartrate Sensor&lt;/strong&gt; device advertising in the nRF Connect IOS app, so the pre-built app works fine.&lt;/p&gt;
&lt;p&gt;6) I launched SES and opened the&lt;strong&gt; peripheral_lbs&lt;/strong&gt; sample project. I selected the&lt;strong&gt; nrf5340_dk_cpuappns&lt;/strong&gt; target board with builtthe sample. No compile errors. I tried to download merged.hex to the target but got the error that the solution was out of date and had to be rebuilt. I rebuilt and downloaded the merged.hex file. It would not run.&lt;/p&gt;
&lt;p&gt;7) I launched nRF Connect Programmer again and clicked Add Hex file and selected the merged.hex file built above. It loaded an application file and MBR into the Application core area but&lt;strong&gt; Nothing in the Network core. &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;8) I wrote the files to the Target with Programmer. After the write, there was a file and MBR in the App Core and an MBR only in the Network core.&lt;/p&gt;
&lt;p&gt;Is there something missing in the SES config that does not produce a binary file for the network core?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting started Zephyr BLE examples will not run on nRF5340 DK with nRF Connect SDK 6.1</title><link>https://devzone.nordicsemi.com/thread/324759?ContentTypeID=1</link><pubDate>Fri, 13 Aug 2021 07:12:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcdbfaff-ffcd-4f5a-b589-c997b8cd5c61</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you haven&amp;#39;t already, please download and install the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download"&gt;nRF Command Line Tools&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Then open Toolchain Manager, click the &amp;quot;...&amp;quot; button next to v1.6.1, and click &amp;quot;bash&amp;quot;. Then run these two commands:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog --recover --coprocessor CP_NETWORK
nrfjprog --recover&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Afterwards, try flashing one of the bluetooth examples again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>