<?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 Network Core USB DFU with dfu-util</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124260/nrf5340-network-core-usb-dfu-with-dfu-util</link><description>We are using NRF5340 and interface with a host system via USB. As the USB stack supports the DFU device class, we plan to use that for firmware updates, and use dfu-util on the host side. We want to implement the update in the bootloader to remove the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Sep 2025 10:33:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124260/nrf5340-network-core-usb-dfu-with-dfu-util" /><item><title>RE: NRF5340 Network Core USB DFU with dfu-util</title><link>https://devzone.nordicsemi.com/thread/549010?ContentTypeID=1</link><pubDate>Wed, 17 Sep 2025 10:33:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:655bdc8f-c221-4dd6-b3c8-9dd589a3ae4e</guid><dc:creator>MKir</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thanks a lot. I got it to work with dual slot setup, after debugging the single slot setup which I understood here to be possible:&amp;nbsp;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf53/serial_recovery.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf53/serial_recovery.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I did not manage and I believe the documentation is misleading in this respect. I&amp;#39;ve opened&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/124731/documentation-page-for-nrf5340-serial-recovery"&gt;Documentation page for NRF5340 serial recovery&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Network Core USB DFU with dfu-util</title><link>https://devzone.nordicsemi.com/thread/548827?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2025 08:29:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8209a747-9834-4971-b54f-9b09701ba996</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Good thing you asked. I&amp;#39;ve not tested this myself, but afaik it is possible to do since ~NCS v2.7.0 according to&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf53/serial_recovery.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf53/serial_recovery.html&lt;/a&gt;. I had a look through&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/exercise-1-dfu-over-uart/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/exercise-1-dfu-over-uart/&lt;/a&gt;&amp;nbsp;to see if it was covered here, but only serial recovery of the application is covered there.&lt;/p&gt;
&lt;p&gt;Let me know if the serial recovery docs linked above is enough for you to validate if this solution can work for you.&lt;/p&gt;
&lt;p&gt;One of the reasons for why we recommend simultaneous DFU of both cores on the 5340 is in case you make some changes that may break the interface between the app and net-core. For instance let&amp;#39;s say that you first do an update of the network core over BLE where the interface has changed. When you reboot after the swap you may be left in a situation where the app core does not know how to communicate with the netcore and thus you don&amp;#39;t have BLE available to revert/update the app core and you will be forced to either reprogram or do serial recovery. Simultaneous OTA ensures that the appcore is built to be able to communicate with the netcore and you have the option to revert the update since you do dual bank slot.&lt;/p&gt;
&lt;p&gt;Kind regards,&amp;nbsp;&lt;br /&gt;Andreas&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Network Core USB DFU with dfu-util</title><link>https://devzone.nordicsemi.com/thread/548776?ContentTypeID=1</link><pubDate>Mon, 15 Sep 2025 14:57:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5d6da47-e821-4820-a582-4dd46b2967e7</guid><dc:creator>MKir</dc:creator><description>&lt;p&gt;Thanks Andreas,&lt;/p&gt;
&lt;p&gt;I see that simultaneous multi-image update only works with a dual-slot configuration. Is it possible to have non-simultaneous update of the network core with a single slot configuration (&lt;span style="color:#569cd6;"&gt;CONFIG_SINGLE_APPLICATION_SLOT /&lt;/span&gt;&lt;span style="color:#569cd6;"&gt;SB_CONFIG_MCUBOOT_MODE_SINGLE_APP&lt;/span&gt;&lt;span style="white-space:pre;"&gt;) with serial recovery / mcumgr&lt;/span&gt;?&lt;/p&gt;
&lt;p&gt;I have seen a comment &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/87658/nrf5340-mcuboot-single-slot-using-either-serial-or-acm0"&gt;here&lt;/a&gt; from 3 years ago that says no.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Network Core USB DFU with dfu-util</title><link>https://devzone.nordicsemi.com/thread/548365?ContentTypeID=1</link><pubDate>Wed, 10 Sep 2025 12:22:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edc26f76-ecd5-4aaf-8ff5-843646b215d0</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]We want to implement the update in the bootloader to remove the requirement for external flash for the second firmware slot.[/quote]
&lt;p&gt;I understand this need and requirement and it is a feature that&amp;#39;s in the making for NCS.&lt;/p&gt;
&lt;p&gt;As briefly mentioned in &lt;a href="https://www.linkedin.com/posts/nordic-semiconductor_introducing-the-nrf-connect-sdk-bare-metal-activity-7366726990546104321-03xG?utm_source=share&amp;amp;utm_medium=member_desktop&amp;amp;rcm=ACoAACBLfxoBqFOYLbAjars5fOj1EIXIvvDBdiM"&gt;https://www.linkedin.com/posts/nordic-semiconductor_introducing-the-nrf-connect-sdk-bare-metal-activity-7366726990546104321-03xG?utm_source=share&amp;amp;utm_medium=member_desktop&amp;amp;rcm=ACoAACBLfxoBqFOYLbAjars5fOj1EIXIvvDBdiM&lt;/a&gt; (and maybe in&amp;nbsp;&lt;a href="https://webinars.nordicsemi.com/events/34049549399?n=Introducing%20nRF%20Connect%20SDK%20Bare%20Metal%20option&amp;amp;event_id=34049549399&amp;amp;hsLang=en"&gt;https://webinars.nordicsemi.com/events/34049549399?n=Introducing%20nRF%20Connect%20SDK%20Bare%20Metal%20option&amp;amp;event_id=34049549399&amp;amp;hsLang=en&lt;/a&gt;), the single bank OTA feature is something that we&amp;#39;ve introduced in NCS Bare Metal (for 54L15 only), and that will make its way into NCS in the future.&lt;/p&gt;
&lt;p&gt;This does however not help you right now as it&amp;#39;s not supported yet.&lt;/p&gt;
[quote user=""]I have seen a similar issue, but that discusses the possibility of simultaneous update and does not show how the network image can be downloaded:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/122456/use-dfu-util-to-perform-multi-image-dfu-from-application"&gt;devzone.nordicsemi.com/.../use-dfu-util-to-perform-multi-image-dfu-from-application&lt;/a&gt;[/quote]
&lt;p&gt;As I briefly mentioned in the ticket you refer to, dfu-util is not supported, so any implementation you choose to use will have to be a proprietary solution that you adapt yourself. For the nRF5340 I would recommend you to stick to the supported methods for DFU, i.e simultaneous update of net and app-core as well as the supported tools&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>