<?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 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91524/nrf5340-upgrade-of-app-and-net-core-firmware</link><description>Hi, 
 I am using SDK 1.9.1 and nRF5340. 
 Scenario 
 I am investigating the following scenario: 
 
 files containing the firmware upgrade for the app and/or net cores will be initially stored in the filesystem partition (extenal flash) as they are produced</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Dec 2022 15:55:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91524/nrf5340-upgrade-of-app-and-net-core-firmware" /><item><title>RE: nRF5340 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/398809?ContentTypeID=1</link><pubDate>Fri, 02 Dec 2022 15:55:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:692a8d92-421f-4844-a51f-a2247b997558</guid><dc:creator>Riccardo Gaiati</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;thanks for the update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/398604?ContentTypeID=1</link><pubDate>Thu, 01 Dec 2022 15:51:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb472b3a-2b0a-47e6-a473-3d065204f758</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Our developers have this feature on their TODO-list, but I am not able to tell you anything about the timeline for this.&lt;/p&gt;
&lt;p&gt;As we generally tell customers: If you want insight into our timeline on different things, ask your local sales representative, and they will know how much they can say.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/397944?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2022 16:04:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6ff8e72-d250-4635-a280-33e61d1619d7</guid><dc:creator>Riccardo Gaiati</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;thanks for the prompt reply.&lt;/p&gt;
&lt;p&gt;The bug i mentioned is the one i linked above called link1 and link2.&lt;/p&gt;
&lt;p&gt;I report them here again:&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://github.com/nrfconnect/sdk-mcuboot/pull/197"&gt;https://github.com/nrfconnect/sdk-mcuboot/pull/197&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://github.com/nrfconnect/sdk-mcuboot/pull/210"&gt;https://github.com/nrfconnect/sdk-mcuboot/pull/210&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/397842?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2022 11:45:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:574f3951-cbbf-485d-bee1-5846a58245be</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Simon is out of office, so I will continue handling this case.&lt;/p&gt;
&lt;p&gt;I will poll our developers to see if there are anything new here.&lt;/p&gt;
&lt;p&gt;But first: Can you link to the 7 months old bug your are referencing here?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/397721?ContentTypeID=1</link><pubDate>Fri, 25 Nov 2022 17:08:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82cb19cd-c9b5-404c-8e62-b7a0a9b4662d</guid><dc:creator>Riccardo Gaiati</dc:creator><description>&lt;p&gt;Thansk so much ! Any news ? Because the problem i see is that even the actual SDK 2.1.2 does not support the upgrade when both the new image are located in the external flash, due to a know bug since 7 months.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/392446?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2022 15:05:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de754105-083f-43c6-ae34-20930b60d350</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Hello, I have created a ticket internally about single image netcore update using external flash.&lt;/p&gt;
&lt;p&gt;I will keep you updated on the progress&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 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/391279?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 16:32:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0d477e0-673d-41a3-9848-71c1a88d7a18</guid><dc:creator>Riccardo Gaiati</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;but according the documentation:&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/pastedimage1666110727810v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The reversion is not available in simultaneous multi image. Instead i would like to preserve this possibility.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/391198?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 12:46:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:516c7826-82c4-4016-abab-df2a4c6da346</guid><dc:creator>Simon</dc:creator><description>[quote user="Riccardo Gaiati"]Hi Simon, actually what i would like to do is exactly a multi image upgrade - App and Net Core - preserving the possibility of reversion for the App Core firmware. But if i understand correctly is not possible (&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf5340.html#simultaneous-multi-image-dfu"&gt;Simultaneous multi-image DFU&lt;/a&gt;). Is that correct ?&amp;nbsp;[/quote]
&lt;p&gt;Multi image upgrade should be supported&amp;nbsp;&lt;span&gt;You could take a look at the&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.2/nrf/applications/machine_learning/README.html"&gt;Machine Learning application&lt;/a&gt;&lt;span&gt;&amp;nbsp;and the&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/v2.0.2/applications/machine_learning/configuration/thingy53_nrf5340_cpuapp"&gt;Thingy:53 configuration&lt;/a&gt;&lt;span&gt;, it demonstrates how to do multi image DFU. Use the file dfu_application.zip to do multi image DFU.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What is not supported is single netcore update using external flash.&lt;/span&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 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/390248?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 11:48:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a51646b8-49af-4dca-875b-bde76d137e96</guid><dc:creator>Riccardo Gaiati</dc:creator><description>&lt;p&gt;I will create a new ticket as soon as i finished to test some scenarios.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/390201?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 09:05:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d376ce30-5b6a-4969-9e30-eebd78d94968</guid><dc:creator>Riccardo Gaiati</dc:creator><description>&lt;p&gt;Hi Simon, actually what i would like to do is exactly a multi image upgrade - App and Net Core - preserving the possibility of reversion for the App Core firmware. But if i understand correctly is not possible (&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf5340.html#simultaneous-multi-image-dfu"&gt;Simultaneous multi-image DFU&lt;/a&gt;). Is that correct ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/390196?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 08:55:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ce121c9-4336-4087-afc5-1fcf2ba76626</guid><dc:creator>Riccardo Gaiati</dc:creator><description>&lt;p&gt;Sure. And sorry again for the big delay.&lt;/p&gt;
&lt;p&gt;I am interested in having the possiblity to revert to the old image of the firmware if the new one does not work (so it does not set itself as confirmed). As far as i have read this feature is:&lt;/p&gt;
&lt;p&gt;- available only for the App Core and not for the Net Core;&lt;/p&gt;
&lt;p&gt;- not available in the simultaneous upgrade;&lt;/p&gt;
&lt;p&gt;Could you kindly give me your feedback about this please ?&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/389442?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 14:01:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1016e02e-414d-432a-90b9-0c9e027bba85</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Sorry for the delay. Have you made any progress on this?&lt;/p&gt;
[quote user="Riccardo Gaiati"]sure i will. thanks ![/quote]
&lt;p&gt;Nice, sounds good. Let me know when you have created the new ticket.&lt;/p&gt;
[quote user="Riccardo Gaiati"]In which condition the rollback of the image IS NOT possible ? Multi image and simultaneous upgrade ?[/quote]
&lt;p&gt;I&amp;#39;m not sure what you&amp;#39;re asking about here, can you elaborate?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/387524?ContentTypeID=1</link><pubDate>Thu, 22 Sep 2022 13:39:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d38fd298-2011-43a0-bcf6-f8fc4c3bbe43</guid><dc:creator>Riccardo Gaiati</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;sure i will. thanks !&lt;/p&gt;
&lt;p&gt;In which condition the rollback of the image IS NOT possible ? Multi image and simultaneous upgrade ? Thanks in advance&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/387488?ContentTypeID=1</link><pubDate>Thu, 22 Sep 2022 12:02:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04309ea1-18f0-4040-bfa7-4a6b900a954c</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Would you be able to create a new ticket about this? This is because you don&amp;#39;t mention &lt;span style="text-decoration:underline;"&gt;non-simultaneous&lt;/span&gt; &lt;span style="text-decoration:underline;"&gt;(not multi image DFU)&lt;/span&gt; netcore update using external flash in the initial post. You do ask about multi image DFU.&lt;/p&gt;
&lt;p&gt;If you create a new ticket, where the header and content is related to this specific issue, it will be easier for other developers&amp;nbsp;to find it.&lt;/p&gt;
&lt;p&gt;Of course I will continue to work with this, just link to the new ticket in this ticket once created and I will assign it to myself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/387286?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2022 12:06:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55a7b808-48ac-4352-93e8-1adeb7462c6e</guid><dc:creator>Riccardo Gaiati</dc:creator><description>&lt;p&gt;Hi Simon, thanks again. Yes, i saw that he does not use them.&lt;/p&gt;
&lt;p&gt;Thanks for digging into it !&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;Riccardo&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/387269?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2022 11:10:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1eb718c8-0458-4bf1-9b13-7433a7bf2139</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;In that reply he modified loader.c directly, he didn&amp;#39;t use any hooks. So that could be a temporary workaround. But you are correct, currently the&lt;span&gt;&amp;nbsp;nrf53_hooks.c file is&amp;nbsp;only working with multi-image simultaneous DFU. I will look into creating a hook file for your case.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/387232?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2022 09:01:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63d5ffcc-4b65-47aa-ba95-83af105c356f</guid><dc:creator>Riccardo Gaiati</dc:creator><description>&lt;p&gt;Good morning Simon,&lt;/p&gt;
&lt;p&gt;thanks for the feedback.&lt;/p&gt;
&lt;p&gt;Yes, I saw his proposal but - if i am not mistaken - the hook approach works only in multi image approach where the rolling back of the app image is not possible. Is that correct ?&lt;/p&gt;
&lt;p&gt;Anyway, thanks for investing time to dig in this issue.&lt;/p&gt;
&lt;p&gt;Looking forward to hearing from you.&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;Riccardo&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/387223?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2022 08:40:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c37680e2-26da-4cea-9174-5a2fe4c1576c</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;As a temporary fix, could you try to modify loader.c as the customer did in this reply:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/89742/nrf5340-non-simultaneous-netcore-updates-with-external-qspi/376673"&gt;RE: nRF5340 non-simultaneous netcore updates with external QSPI&lt;/a&gt;&amp;nbsp;,it seems like he was able to perform a netcore update with the secondary slot in external flash with that modifications:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;&amp;nbsp;I can now perform net and app core updates one at a time from a single secondary slot on the external qspi in a way that still allows for reversion of the application core.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Based on that, I will see if I can create a hooks file that achieves the same, which is a better approach than modifying mcuboot and the loader.c file.&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 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/386751?ContentTypeID=1</link><pubDate>Sun, 18 Sep 2022 13:45:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab692690-335c-46a7-b521-7d93cb058638</guid><dc:creator>Riccardo Gaiati</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;thanks for the detailed information and sorry for my late feedback.&lt;/p&gt;
&lt;p&gt;Regarding the code, what it was missing was the allocation for the mcuboot buffer: unfortunately&amp;nbsp;&lt;strong&gt;&lt;em&gt;dfu_target_mcuboot_set_buf&amp;nbsp;&lt;/em&gt;&lt;/strong&gt;is not part of the single image DFU library so i noticed that i had to add it only when the fw crashed and the assert told me to invoke this function.&lt;/p&gt;
&lt;p&gt;My configuration place the mcuboot_secondary in the EXTERNAL FLASH, for both the app and net core.&lt;/p&gt;
&lt;p&gt;In order to have it properly executed, i had to introduce the patch in the loader.c for the MCUboot reported in these links: &lt;a href="https://github.com/nrfconnect/sdk-mcuboot/pull/197"&gt;link1&lt;/a&gt; and &lt;a href="https://github.com/nrfconnect/sdk-mcuboot/pull/210"&gt;link2&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Neverteless, the patched MCUBoot works ONLY FOR THE APP CORE: having the netcore new image in the external flash causes a bus fault:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#if defined(CONFIG_SOC_NRF5340_CPUAPP) &amp;amp;&amp;amp; defined(PM_CPUNET_B0N_ADDRESS)
        /* If the update is valid, and it targets the network core: perform the
         * update and indicate to the caller of this function that no update is
         * available
         */
        if (upgrade_valid &amp;amp;&amp;amp; reset_addr &amp;gt; PM_CPUNET_B0N_ADDRESS) {
            struct image_header *hdr = (struct image_header *)secondary_fa-&amp;gt;fa_off;
            uint32_t vtable_addr = (uint32_t)hdr + hdr-&amp;gt;ih_hdr_size;
            uint32_t *net_core_fw_addr = (uint32_t *)(vtable_addr); /*!!! BUS FAULT !!! */
            uint32_t fw_size = hdr-&amp;gt;ih_img_size;
            BOOT_LOG_INF(&amp;quot;Starting network core update&amp;quot;);
            rc = pcd_network_core_update(net_core_fw_addr, fw_size);
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I saw that the same thing was reported in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/89742/nrf5340-non-simultaneous-netcore-updates-with-external-qspi/376673"&gt;ticket&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Is a solution planned for the netcore with this configuration (that is one only mcuboot seconday in the external flash) ? Or are there any configuration parameters that i am missing to enable such of management ?&lt;/p&gt;
&lt;p&gt;Thanks in advance !&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;Riccardo&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Upgrade of App and Net core firmware</title><link>https://devzone.nordicsemi.com/thread/384754?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 10:23:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de5d697f-9d3f-4214-8ced-46ebde0073e6</guid><dc:creator>Simon</dc:creator><description>[quote user=""]is the reported approach correct ? If not, could you kindly indicate an example that suites my scenario ?[/quote]
&lt;p&gt;It seems good. As long as you put the &lt;em&gt;app_update.bin&lt;/em&gt; or the&amp;nbsp;&lt;em&gt;net_core_app_update.bin&amp;nbsp;&lt;/em&gt;into the secondary flash partition, mcuboot will handle the rest. Based on the reset addr it will decide whether it is a netcore update or an appcore update and take the appropriate action.&lt;/p&gt;
[quote user=""]Can it work also for the network core ? How do i specify the core to be updated ? Basically, doing the same thing that nRF Connect Device Manager does.[/quote]
&lt;p&gt;Actually, all you need to do is to put&amp;nbsp;&lt;em&gt;net_core_app_update.bin&lt;/em&gt; into secondary flash, and mcuboot will handle the rest.&lt;/p&gt;
[quote user=""]Is there a function that perform the validation of the bin files before being copy in the DFU target ?[/quote]
&lt;p&gt;I did provide a similar answer in another private ticket. In that case mcumgr was used, and I explained how to do some verification of the .bin file from the computer as well as from the chip. I&amp;#39;ll copy it in here. Let me know if this is not what you asked about:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&amp;quot;The mcumgr tool does not have this functionality. If you would like to do some verification from the computer, you could use&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/mcuboot/imgtool.html"&gt;Image tool&lt;/a&gt;&amp;nbsp;(located in&amp;nbsp;&amp;lt;ncs&amp;gt;/bootloader/mcuboot/scripts) to verify the binary file. Use&amp;nbsp;&lt;code&gt;imgtool verify:&amp;quot;&lt;/code&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&lt;pre class="ui-code" data-mode="text"&gt;@$ imgtool verify -h
Usage: imgtool verify [OPTIONS] IMGFILE

  Check that signed image can be verified by given key

Options:
  -k, --key filename
  -h, --help          Show this message and exit.&lt;/pre&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&amp;quot;As said the mcumgr is quite dumb and pretty much only writes the image to the secondary slot (with one exception), with no checks on it. The verification is done by mcuboot, when mcuboot tries to swap images. The exception is when checking for image address is enabled, so that an image with an incorrect boot adress would not get uploaded, because the image may be still be verified by mcuboot&amp;nbsp;and brick the device -&amp;nbsp;but this needs to be enabled and special TLV needs to be added with the start image address using the imgtool.&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;Also topic of image verification is quite broad and may mean anything from signature, version, CPU, board revision, device purpose, nearly anything - and mcuboot currently only supports signatures, versions and some other basic checks that are rather related to correctness of an image than it&amp;#39;s purpose.&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;If you have some additional conditions the img needs to fulfill, you can try providing an own callback&amp;nbsp;&lt;code&gt;img_mgmt_upload_cb&lt;/code&gt;&amp;nbsp;that allows to do some additional checks on received image chunk, after mcumgr has already accepted it as valid but not yet written.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]I saw that there is DFU multi-image library. is there any example using that ? is the zip file produced during the compilation that need to be sent to the DFU target?[/quote]
&lt;p&gt;I&amp;#39;m not too familiar with simultaneous multi image DFU, however it makes sense to update both the netcore and appcore simultaneously if Bluetooth is affected, for changes that is related to the Bluetooth communication between the chips. You could take a look at the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.2/nrf/applications/machine_learning/README.html"&gt;Machine Learning application&lt;/a&gt; and the &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/v2.0.2/applications/machine_learning/configuration/thingy53_nrf5340_cpuapp"&gt;Thingy:53 configuration&lt;/a&gt;, it demonstrates how to do multi image DFU. Use the file dfu_application.zip to do multi image DFU.&lt;/p&gt;
&lt;p&gt;Let me know if anything is unclear, and I will try to clarify or investigate further.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;code&gt;&lt;/code&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>