<?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>OTA DFU NRF5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85442/ota-dfu-nrf5340</link><description>Hi, 
 The below is our requirement for NRF5340 
 1. we have a DFU application with bootloader as an hex file 
 2. we have another app say blinky as an hex file 
 3. merge these two hex files and create a new hex file - using 
 nrfutil pkg generate --hw</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Apr 2022 09:18:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85442/ota-dfu-nrf5340" /><item><title>RE: OTA DFU NRF5340</title><link>https://devzone.nordicsemi.com/thread/361436?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 09:18:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b79b64b-37d5-4866-9fb3-11c230e6770e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Sorry about the late reply, but I&amp;#39;ve been out of office the past few days, and I&amp;#39;m currently working through my backlog.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Once the bootloader is on the nRF5340, it shouldn&amp;#39;t be necessary to program the bootloader part multiple times, as long as you don&amp;#39;t overwrite the flash where the bootloader is stored you should be able to do multiple DFUs as far as I can tell. As you&amp;#39;re saying, if the DFU from the guide I linked to worked, that should work multiple times.&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: OTA DFU NRF5340</title><link>https://devzone.nordicsemi.com/thread/360490?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 09:23:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70949b6b-ec93-4cd7-b822-b7a393af1da5</guid><dc:creator>kumanan</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Let me explain this item 1&lt;/p&gt;
&lt;p&gt;i understand that bootloader is updated into boot slot&lt;/p&gt;
&lt;p&gt;I am not sure about SMP server - where it is getting loaded&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;i want to upgrade my app alone say Blinky1, Blinky2, Blinky3, Blinky4&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;what i need to include extra code/ config&amp;nbsp; here? for boot and smp server to work, so that i can upgrade any number of times&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Item 2. - idea is to automatically upgrade and get feedback whether the upgrade is successful&lt;/p&gt;
&lt;p&gt;the system architecture is as below video ref&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=bluz8uC7WEs"&gt;https://www.youtube.com/watch?v=bluz8uC7WEs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648545614534v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648545796185v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Kumanan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU NRF5340</title><link>https://devzone.nordicsemi.com/thread/360419?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 06:16:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5e9f54e-01b9-404d-ab5e-863cb3bec64d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;1. I&amp;#39;m not sure I understand the question. DFU means Device Firmware Upgrade, so it&amp;nbsp;&lt;strong&gt;is&lt;/strong&gt; the update. Are you asking if you need to update the bootloader every time you do DFU as well? That should not be necessary I think.&lt;/p&gt;
&lt;p&gt;2. That is possible, but you&amp;#39;ll need a device connected to the cloud that can get the firmware from the cloud onto the nRF53. This could for example be a phone, where you can use the DFU library for&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/Android-DFU-Library"&gt;Android&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;/&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library"&gt;iOS&lt;/a&gt;&amp;nbsp;to send FW to your device, and the .zip could be gotten from the cloud for example.&amp;nbsp;&lt;span&gt;We don&amp;#39;t provide any Android / iOS cloud-example&amp;nbsp;for DFU. I assume different cloud companies have example code&amp;nbsp;how you download things from the cloud to your smartphone app.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU NRF5340</title><link>https://devzone.nordicsemi.com/thread/359920?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2022 07:45:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a79a9d03-634e-41bc-b6ac-f87d70253649</guid><dc:creator>kumanan</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;1. We have tried DFU as per the instruction it works&lt;/p&gt;
&lt;p&gt;We he a question here,&lt;/p&gt;
&lt;p&gt;Do we need to include DFU in every update?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2 ,next step on remote update&lt;/p&gt;
&lt;p&gt;we are thinking of updating via cloud based distribution&lt;/p&gt;
&lt;p&gt;like HawkBit. Can you please help us on this behalf&lt;/p&gt;
&lt;p&gt;Is this right idea? can it work?&lt;/p&gt;
&lt;p&gt;if you have any idea on this please throw some light&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best&lt;/p&gt;
&lt;p&gt;Kumanan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU NRF5340</title><link>https://devzone.nordicsemi.com/thread/357048?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 08:35:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d5bddd1-61ea-4e83-ad35-3321a04311ac</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Kumanan&lt;/p&gt;
&lt;p&gt;Please check out the &lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu"&gt;nRFConnect SDK DFU support guide&lt;/a&gt; made by my colleague here, alongside the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf5340.html#fota-upgrades"&gt;nRF5340 user guide on FOTA upgrades and multi-image DFU&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: OTA DFU NRF5340</title><link>https://devzone.nordicsemi.com/thread/356846?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 11:18:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb5de208-18cb-4614-b39d-670d0d9cd268</guid><dc:creator>kumanan</dc:creator><description>&lt;p&gt;Thanks for the help.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We want todo On the fly upload of firmware in NRF5340&lt;/p&gt;
&lt;p&gt;Can you please guide us in this process&lt;/p&gt;
&lt;p&gt;1. using BLE&lt;/p&gt;
&lt;p&gt;2. remote update&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Kumanan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU NRF5340</title><link>https://devzone.nordicsemi.com/thread/356475?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2022 07:30:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6829769-0df9-46cf-baef-6f85e95f0331</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;It seems like you are mixing the nRF5340 and nRF52840 here (the &lt;strong&gt;pca10056_s140.hex&lt;/strong&gt; application is for an nRF52840 DK and a SoftDevice). I&amp;#39;m afraid the nrfutil tool won&amp;#39;t work with nRF5340, as the nrfutil is designed for the nRF5 SDK, which the nRF5340 is not supported by.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For the nRF5340 you would need to use nRF Connect SDK, and to do DFU over UART in the nRF Connect SDK you will need to use MCUMGR and the smpsvr. You can read about the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/zephyr/guides/device_mgmt/mcumgr.html"&gt;MCUMGR command line tool here&lt;/a&gt;, and how to use it is described in the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/README.html"&gt;SMP server sample documentation&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></channel></rss>