<?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>Implementing differential OTA in nRF5340 using NRF Connect SDK v2.2.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103658/implementing-differential-ota-in-nrf5340-using-nrf-connect-sdk-v2-2-0</link><description>Hi, 
 I just wanted to know whether we can implement differential OTA in nRF5340. Main intention is to reduce OTA time, as this is power consuming. 
 We are using SDK v2.2.0 for a project where we have multiple peripherals and because of this the OTA</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Sep 2023 11:30:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103658/implementing-differential-ota-in-nrf5340-using-nrf-connect-sdk-v2-2-0" /><item><title>RE: Implementing differential OTA in nRF5340 using NRF Connect SDK v2.2.0</title><link>https://devzone.nordicsemi.com/thread/446245?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2023 11:30:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fa8f9c5-b414-44c3-b015-28f4f7ed5248</guid><dc:creator>Raoul</dc:creator><description>&lt;p&gt;Hi, no problem!&lt;/p&gt;
&lt;p&gt;Sounds good.&lt;/p&gt;
&lt;p&gt;Raoul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing differential OTA in nRF5340 using NRF Connect SDK v2.2.0</title><link>https://devzone.nordicsemi.com/thread/446171?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2023 05:22:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a71563d-6789-4430-b87e-ba315ebb8f0d</guid><dc:creator>Jithin A</dc:creator><description>&lt;p&gt;Thank you for the suggestion, Raoul.&lt;br /&gt;&lt;br /&gt;We will focus on optimizing overall power consumption and maybe you are right as we don&amp;#39;t do OTA every time or more often so optimizing overall power consumption should do better.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing differential OTA in nRF5340 using NRF Connect SDK v2.2.0</title><link>https://devzone.nordicsemi.com/thread/446113?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2023 15:53:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed417e7e-c556-4a3c-94a8-e80859be83b9</guid><dc:creator>Raoul</dc:creator><description>&lt;p&gt;Hi Jithin,&lt;/p&gt;
&lt;p&gt;I was told that differential (or &amp;quot;delta&amp;quot;) FOTA updates are not supported and that there are no plans to support it either.&lt;/p&gt;
&lt;p&gt;So what you are trying to do is not possible, unfortunately. I&amp;#39;m not sure if you have measured the effect of firmware updates on your battery duration but I would suspect that the rest of your power consumption will matter much more than the size of your firmware update. I assume you won&amp;#39;t be sending firmware updates at a high frequency.&lt;/p&gt;
&lt;p&gt;I would recommend trying to optimize your footprint and overall power consumption.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Raoul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing differential OTA in nRF5340 using NRF Connect SDK v2.2.0</title><link>https://devzone.nordicsemi.com/thread/445991?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2023 07:34:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02297120-3fb0-4b8d-af87-6f339955eef1</guid><dc:creator>Jithin A</dc:creator><description>&lt;p&gt;Thank you for the response.&lt;br /&gt;Please check it with the internal team once. This could help us a lot for our project.&lt;br /&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="117489" url="~/f/nordic-q-a/103658/implementing-differential-ota-in-nrf5340-using-nrf-connect-sdk-v2-2-0/445681"]I think it&amp;#39;s hard to do updates on a per module basis, as any changes to your code are almost certain to shift the other (untouched) code around in the image.[/quote]
&lt;p&gt;--&amp;gt; I know it is hard to do so and yes it modifies the memory mapping of the other code around.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;What we are planning is to have 2 different applications just like you have non-secure and secure applications.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;So that we build the project in 2 different applications,&amp;nbsp;and we need to link/map with each other as in _ns applications, you are using PSA functions to post any message for the other application.&lt;br /&gt;Can we have a similar kind of builds and merge it as a single FW in their&amp;nbsp;respective partitions and perform OTA for the desired partition?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please help me with this.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I appreciate your help.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing differential OTA in nRF5340 using NRF Connect SDK v2.2.0</title><link>https://devzone.nordicsemi.com/thread/445681?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2023 14:51:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa15f9d2-5cb8-4bc4-81c6-b5f1a3ea58b6</guid><dc:creator>Raoul</dc:creator><description>&lt;p&gt;Hi Jithin,&lt;/p&gt;
&lt;p&gt;As far as I know, there is no support for differential firmware updates. I&amp;#39;ll double check internally, and if I hear otherwise, I&amp;#39;ll get back to you with details.&lt;/p&gt;
&lt;p&gt;I think it&amp;#39;s hard to do updates on a per module basis, as any changes to your code are almost certain to shift the other (untouched) code around in the image.&lt;/p&gt;
&lt;p&gt;As mentioned in&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/85915/differential-ota-update-in-nrf_connect_sdk"&gt;Differential OTA update in nRF_Connect_SDK&lt;/a&gt;&amp;nbsp;it&amp;#39;s not uncommon to use external flash memory. But that only addresses your concern regarding space, not battery consumption.&lt;/p&gt;
&lt;p&gt;Besides that, I hope these two resources are useful as well:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/test_and_optimize/optimizing/memory.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/test_and_optimize/optimizing/memory.html&lt;br /&gt;&lt;/a&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/develop/optimizations/index.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/develop/optimizations/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Raoul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing differential OTA in nRF5340 using NRF Connect SDK v2.2.0</title><link>https://devzone.nordicsemi.com/thread/445573?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2023 09:32:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f829d477-86d5-46ff-95ea-9960728d1d7d</guid><dc:creator>Jithin A</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please help me with this as this is more like a critical issue for us because it is more battery consuming and taking so much memory.&lt;/p&gt;
&lt;p&gt;Please, can anyone guide me through this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>