<?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>nrf5340 - netcore and cpuapp build and upload issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74511/nrf5340---netcore-and-cpuapp-build-and-upload-issue</link><description>Hi, I am trying to get start nRF5340 and projects. In NCS 1.5.0 
 i am following this link https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf5340.html 
 There i have seen 
 cpuapp 
 cpuappns 
 cpunetcore 
 
 I can&amp;#39;t able to understand</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 May 2021 08:40:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74511/nrf5340---netcore-and-cpuapp-build-and-upload-issue" /><item><title>RE: nrf5340 - netcore and cpuapp build and upload issue</title><link>https://devzone.nordicsemi.com/thread/308472?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 08:40:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ecb998e-8745-4426-870d-c7a28a19413b</guid><dc:creator>Simonr</dc:creator><description>[quote user="Sunil vignesh"]and i have a question that is it possible to update the netcore in &lt;strong&gt;DFU OTA&amp;nbsp;&lt;/strong&gt; without affecting the application core[/quote]
&lt;p&gt;&amp;nbsp;This is no longer the same subject as&amp;nbsp;your initial ticket, so I would appreciate it if you could create a new ticket for this question, as it will help&amp;nbsp;others to keep each ticket on subject.&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re happy flashing the network core using nRFConnect for Desktop that should be fine as well, but it should be possible flashing it using SES as well, but it&amp;#39;s important to follow the guide step-by-step.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 - netcore and cpuapp build and upload issue</title><link>https://devzone.nordicsemi.com/thread/308274?ContentTypeID=1</link><pubDate>Wed, 05 May 2021 06:26:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:510724a6-2d9a-4e63-b468-32709b8ca46b</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;Hi Simonr, Yes before flash the netcore. I am able to build the application core successful.. but i can&amp;#39;t able to flash the netcore hex file from the segger studio. Instead of doing that i am able to flash the netcore hex file from nrf connect desktop. and after that i am able to flash the application core from the segger studio. &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and i have a question that is it possible to update the netcore in &lt;strong&gt;DFU OTA&amp;nbsp;&lt;/strong&gt; without affecting the application core &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 - netcore and cpuapp build and upload issue</title><link>https://devzone.nordicsemi.com/thread/308272?ContentTypeID=1</link><pubDate>Wed, 05 May 2021 06:14:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14792d52-7b2d-4a41-829e-a24889ec9ea1</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Sunil&lt;/p&gt;
&lt;p&gt;According to the &amp;quot;Programming the network sample from SES guide, you should firs&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_programming.html#gs-programming-ses"&gt;t build an application onto the app core&lt;/a&gt; before trying to flash the &lt;strong&gt;hci_rpmsg_nrf5340_netcore&lt;/strong&gt; application onto the network core. Are you able to do that successfully first? It seems like you&amp;#39;re mixing these two processes together.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 - netcore and cpuapp build and upload issue</title><link>https://devzone.nordicsemi.com/thread/307544?ContentTypeID=1</link><pubDate>Thu, 29 Apr 2021 15:54:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8636278-b1fd-488d-9264-a2bf14817579</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;Hi Simonr, Still i am getting the same error on uploading&amp;nbsp; &lt;strong&gt;hci_rpmsg_nrf5340_netcore&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1619709327496v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I added the line&amp;nbsp;&lt;strong&gt;CONFIG_BT_RPMSG_NRF53=y&lt;/strong&gt; in prj.conf of peripheral_lbs&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#
# Copyright (c) 2018 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
CONFIG_NCS_SAMPLES_DEFAULTS=y

CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME=&amp;quot;Nordic_Blinky&amp;quot;

CONFIG_BT_RPMSG_NRF53=y

# Enable the LBS service
CONFIG_BT_LBS=y
CONFIG_BT_LBS_POLL_BUTTON=y
CONFIG_DK_LIBRARY=y

CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Step I have followed&lt;/p&gt;
&lt;p&gt;1. I have selected &lt;strong&gt;peripheral_lbs&lt;/strong&gt; project and board &lt;strong&gt;nrf5340dk_nrf5340_cpuapp&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1619709666632v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;2. Build the project. (without doing dfu setup - the build hex is creating &lt;strong&gt;merged.hex&lt;/strong&gt;) why its creating merged.hex only for peripheral_lbs&lt;/p&gt;
&lt;p&gt;3. I found merged_CPUNET.hex in&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;D:\nRF5xx\NCS\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg\zephyr&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;4. I have created &lt;strong&gt;&lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;hci_rpmsg_nrf5340_netcore&lt;/span&gt;&lt;/code&gt; &lt;/strong&gt;project file inside the current peripheral_lbs solution from this link &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf5340.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf5340.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;5. loaded the path &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;$(ProjectDir)/hci_rpmsg/zephyr/merged_CPUNET.hex&lt;/span&gt;&lt;/code&gt; as like same link&lt;/p&gt;
&lt;p&gt;6. merged_CPUNET.hex file is uploading only by doing with nrfconnect desktop&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1619710991861v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;after that i upload the zephyr/merged.hex from the segger and the project working in the nrf5340 board&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My questions are.&lt;/p&gt;
&lt;p&gt;1.why its creating merged.hex only for peripheral_lbs project?&lt;/p&gt;
&lt;p&gt;2. Is merged_CPUNET.hex is different for different projects ?&lt;/p&gt;
&lt;p&gt;3. nrf5340 DK creating 3 comports what are they?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 - netcore and cpuapp build and upload issue</title><link>https://devzone.nordicsemi.com/thread/307419?ContentTypeID=1</link><pubDate>Thu, 29 Apr 2021 10:19:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ff0bc19-58c3-4460-89fc-ead590f5734a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Sunil&lt;/p&gt;
&lt;p&gt;Yes, nrfjprog and west are command line tools.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There are examples for Flash storage and TWI in the Zephyr project, please &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/index.html"&gt;check them out here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 - netcore and cpuapp build and upload issue</title><link>https://devzone.nordicsemi.com/thread/307323?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2021 18:54:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4475c60f-c374-49f5-92a2-ad0ba1ab230e</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;Yeah i am new to nRF53&amp;nbsp; and NCS SDK&lt;/p&gt;
&lt;p&gt;this nrfjprog or west are the CMD is it right?&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
[quote userid="75734" url="~/f/nordic-q-a/74511/nrf5340---netcore-and-cpuapp-build-and-upload-issue/307259#307259"]CONFIG_BT_RPMSG_NRF53 [/quote]
&lt;p&gt;&amp;nbsp;where we need to find These kind of configuration lines &lt;/p&gt;
&lt;p&gt;Is there example code for writing&lt;/p&gt;
&lt;p&gt;1. Data in flash storage for nRF53&lt;/p&gt;
&lt;p&gt;2. TWI data sensing&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 - netcore and cpuapp build and upload issue</title><link>https://devzone.nordicsemi.com/thread/307259?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2021 12:45:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c0fe483-42b7-4688-b4fd-3e6b24116883</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Sunil&lt;/p&gt;
&lt;p&gt;The Secure&amp;nbsp;and nonsecure environments in the ARM Cortex-M33 processor of the nRF5340 is explained in detail in &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-2-ncs-v1-4-0#h100sjwm551634uoal2fr9zwynnptkq"&gt;Part 2 | section 1.6 of our nRFConnect SDK tutorial.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In short, the nRF53 has two cores. The application core(appcore) and network core (netcore). Then, in the appcore you can choose whether to use a secure or non-secure environment for your application. In order to flash a BLE example onto the nRF5340 with SES, follow the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf5340.html#building-and-programming-a-sample"&gt;Building and programming a sample&lt;/a&gt;, and make sure you set CONFIG_BT_RPMSG_NRF53 to y before &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf5340.html#programming-the-network-sample-from-ses"&gt;programming the network sample from SES&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re new to the nRF53 and NCS environment, I think it&amp;#39;s easier to use nrfjprog or west to flash this example onto the nRF53DK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>