<?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 Simultaneous multi image dfu. Only Appcore image is updated</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114702/nrf5340-simultaneous-multi-image-dfu-only-appcore-image-is-updated</link><description>Hello! 
 
 I&amp;#39;m trying to add simultaneus multi-image DFU to my custom nRF5340 board (nRF Connect SDK v2.6.0) but I can&amp;#39;t update the network core, only the appcore is updating. 
 This is what I have done so far: 
 
 Create a multi-image binary using 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Sep 2024 19:54:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114702/nrf5340-simultaneous-multi-image-dfu-only-appcore-image-is-updated" /><item><title>RE: NRF5340 Simultaneous multi image dfu. Only Appcore image is updated</title><link>https://devzone.nordicsemi.com/thread/504057?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2024 19:54:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11ddda66-ed2b-4122-844f-5795117f8a14</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Happy to know you find the patch and fix the issue. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Simultaneous multi image dfu. Only Appcore image is updated</title><link>https://devzone.nordicsemi.com/thread/503841?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2024 23:04:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b189be21-4477-42d3-9f9e-aa06061594e3</guid><dc:creator>tomas_mjp</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/amanda"&gt;Amanda Hsieh&lt;/a&gt;&amp;nbsp;finally we managed to get the simultaneous DFU on both cores.&lt;/p&gt;
&lt;p&gt;Using this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/90503/ncs-2-0-custom-child-image-mcuboot-build/498073"&gt;patch&lt;/a&gt;&amp;nbsp;the&amp;nbsp;&lt;strong&gt;net_core_app_update.bin&lt;/strong&gt; and&amp;nbsp;&lt;strong&gt;dfu_multi_image.bin&lt;/strong&gt;&amp;nbsp;files are generated correctly and the simultaneous update works fine following the procedure I wrote in this post.&lt;/p&gt;
&lt;p&gt;It would be really useful if the patch is applied in a future release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Simultaneous multi image dfu. Only Appcore image is updated</title><link>https://devzone.nordicsemi.com/thread/503633?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 18:49:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3636df8-99a6-4452-aa6b-17d593236d25</guid><dc:creator>Amanda Hsieh</dc:creator><description>[quote user="lbudde"]We made changes in the child image[/quote]
&lt;p&gt;What changes did you make? Is it possible to add &amp;quot;printk(&amp;quot;build time: &amp;quot; __DATE__ &amp;quot; &amp;quot; __TIME__ &amp;quot;\n&amp;quot;);&amp;quot; in your&amp;nbsp;&lt;span&gt;custom network core application and make a difference?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Simultaneous multi image dfu. Only Appcore image is updated</title><link>https://devzone.nordicsemi.com/thread/503222?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 08:55:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09cfb314-5fc6-42e1-ad51-307ee07b64a8</guid><dc:creator>lbudde</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/amanda"&gt;Amanda Hsieh&lt;/a&gt;&amp;nbsp;, we are not working with the HCI_IPC sample, but with a custom network core image (which includes B0N)&amp;nbsp;-&amp;gt; we tried to enable&amp;nbsp;all&amp;nbsp;the configs that were enabled in&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/113550/downgrade-protection-works-only-for-the-app_core--image-and-not-for-the-net-core--image/500078"&gt;your project&lt;/a&gt;, in the build/hci_ipc/zephyr/.config file related to firmware updates.&lt;/p&gt;
&lt;p&gt;We made changes in the child image, and apparently dfu_target_mcuboot is aware of that after receiving the images, as image-0 and image-1 show upgrade scheduled&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1726822356542v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;But after application core finishes updating, the network core update is never executed from the application core, and we don&amp;#39;t see any warning or error log even after increasing verbosity.&lt;/p&gt;
&lt;p&gt;We would like to know is this would be a typical symptom of a missing configuration enabled, for example application core not being able to comunicate with network core (we would expect some error logs if this was the case). As we don&amp;#39;t use BLE, we don&amp;#39;t have MBOX and PRMSG enabled, could this be related?&lt;/p&gt;
&lt;p&gt;If you consider it useful I can send you our source/build files.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Simultaneous multi image dfu. Only Appcore image is updated</title><link>https://devzone.nordicsemi.com/thread/503172?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 20:01:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:629f5c1b-b3f2-40ee-84a3-2eb24391081f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you make any changes to the&lt;span&gt;&amp;nbsp;HCI_IPC sample for the network core to update? If the code is the same, it will not be updated. You can try to add&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;printk(&amp;quot;build time: &amp;quot; __DATE__ &amp;quot; &amp;quot; __TIME__ &amp;quot;\n&amp;quot;);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;to build with differences.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Simultaneous multi image dfu. Only Appcore image is updated</title><link>https://devzone.nordicsemi.com/thread/503082?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 09:35:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ca50be5-03e0-4a49-900f-f9376acad685</guid><dc:creator>lbudde</dc:creator><description>&lt;p&gt;Hi Amanda, I work with &lt;a href="https://devzone.nordicsemi.com/members/tomas_5f00_mjp"&gt;tomas_mjp&lt;/a&gt;&amp;nbsp;, we have been checking your sample and modified some of the configurations in our main project and child images (and verified them in the built zephyr/.conf files), but still can&amp;#39;t get the updater to trigger the network core update.&lt;/p&gt;
&lt;p&gt;The main structure of our project is described &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/114721/enable-uart-logs-in-nrf5340-b0n-network-core-bootloader"&gt;here&lt;/a&gt;, to summarize:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;only 1 project, with main&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;application core&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;firmware&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;network core&lt;/strong&gt;&amp;nbsp;firmware being built as a child image of the application core&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;mcuboot&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;enabled in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;application core&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;through prj.conf&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;mcuboot&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;included in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;network core&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;as described&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/nrf5340/netboot/README.html"&gt;here&lt;/a&gt;, with an extra b0n.conf being applied in our network core project folder, inside child_image folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Adding a little more verbosity, the logs from application core during updating process are the following:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1726738065757v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;and in the network core we can see the B0N bootloader banner, and the application banner:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1726738113037v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I understand that your sample works with the HCI_IPC sample for network core, do you think it is possible that some configuration from that sample can be missing on our side to enable the network core update? Is there any advice on particular configurations to look for? considering we are already following what is described &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.0/page/nrf/libraries/dfu/dfu_multi_image.html"&gt;here&lt;/a&gt; and &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/device_guides/nrf53/simultaneous_multi_image_dfu_nrf5340.html"&gt;here&lt;/a&gt;, and there are no big differences with your sample project (except for working without BLE, and not basing the update on FIRMWARE_VERSION but just forcing it to always execute).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Leopoldo.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Simultaneous multi image dfu. Only Appcore image is updated</title><link>https://devzone.nordicsemi.com/thread/502520?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2024 19:12:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71fa758a-836f-4b7d-aa66-cbb7751d193a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can check out my example in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/113550/downgrade-protection-works-only-for-the-app_core--image-and-not-for-the-net-core--image/500078"&gt;this post&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Simultaneous multi image dfu. Only Appcore image is updated</title><link>https://devzone.nordicsemi.com/thread/502380?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2024 20:25:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9793e977-11a1-48c7-8468-4dd816838cea</guid><dc:creator>tomas_mjp</dc:creator><description>&lt;p&gt;&lt;span&gt;build/zephyr/dfu_application.zip only contains app_update.bin and manifest.json in my case, there is no file for netcore&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If I understand correctly I&amp;#39;m writting the appcore and netcore images correctly, I just need to MCUboot to perform the netcore image swap&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Appcore logs during boot:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting nRF Connect SDK v3.5.99-ncs1 ***
I: Starting bootloader
I: Image index: 0, Swap type: test
I: Image index: 1, Swap type: test
I: Image 0 upgrade secondary slot -&amp;gt; primary slot
I: Erasing the primary slot
I: Image 0 copying the secondary slot to the primary slot: 0x35ef0 bytes
I: Bootloader chainload address offset: 0x10000&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Simultaneous multi image dfu. Only Appcore image is updated</title><link>https://devzone.nordicsemi.com/thread/502374?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2024 19:39:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dd8a379-0021-4a9a-af63-1d1096e70843</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please upload&amp;nbsp;&lt;span&gt;build/zephyr/&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.0/nrf/app_build_system.html#output-build-files" rel="nofollow"&gt;dfu_application.zip&lt;/a&gt;&amp;nbsp;to update.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>