<?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>Can nRF52832 DFU upgrade only a part of firmware?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43713/can-nrf52832-dfu-upgrade-only-a-part-of-firmware</link><description>I tried to upgrade only a part of firmware of application, not all. I used buttonless DFU and found that the new code was located at bank1 and not moved at the specified address in bank0. How can I solve this problem? Thanks!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Feb 2019 14:55:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43713/can-nrf52832-dfu-upgrade-only-a-part-of-firmware" /><item><title>RE: Can nRF52832 DFU upgrade only a part of firmware?</title><link>https://devzone.nordicsemi.com/thread/172151?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 14:55:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afdf8047-10a7-4c02-905d-3b0c9067463e</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
[quote user="ssltotal"]But can I upgrade partially by modifying the example of bootloader?[/quote]
&lt;p&gt;&amp;nbsp;No, same reason applies for the Bootloader as for the Application&lt;/p&gt;
[quote user="ssltotal"] And what is the reason that the&amp;nbsp;validation failed? Is it because the firmware is incomplete? [/quote]
&lt;p&gt;There could be &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/lib_bootloader_dfu_validation?322#lib_bootloader_dfu_init_validation"&gt;several diffrent reasons&lt;/a&gt; for why the validation failed.&lt;/p&gt;
[quote user="ssltotal"]Is it because the firmware is incomplete? [/quote]
&lt;p&gt;&amp;nbsp;What do you mean by this?&lt;/p&gt;
&lt;p&gt;To repeat myself: You cannot do DFU with a &amp;quot;part&amp;quot; of either the Application, Bootloader, or SoftDevice.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can nRF52832 DFU upgrade only a part of firmware?</title><link>https://devzone.nordicsemi.com/thread/172104?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 12:29:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5ad7832-cb66-4508-ac12-a659f3d21454</guid><dc:creator>ssltotal</dc:creator><description>&lt;p&gt;Thank you for your reply!&lt;/p&gt;
&lt;p&gt;But can I upgrade partially by modifying the example of bootloader? And what is the reason that the&amp;nbsp;validation failed? Is it because the firmware is incomplete? Thanks again!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can nRF52832 DFU upgrade only a part of firmware?</title><link>https://devzone.nordicsemi.com/thread/171150?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 13:23:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98914ca8-f962-4fac-a20c-5f66d01cf1f6</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m a bit unsure what you mean by &amp;quot;upgrade only a part of firmware of application&amp;quot;.&lt;/p&gt;
&lt;p&gt;You cannot upgrade only a part of the Application. What I mean by this is that you if you do some modification in your application, you cannot upgrade only that part, you have to upgrade the whole application.&lt;/p&gt;
&lt;p&gt;When the new code is located at Bank1, it is because it awaits validation. And if it does not move to Bank0, then it was not validated, and the DFU failed.&lt;/p&gt;
&lt;p&gt;So to summarize: If you do some modifications in your application and wish to upgrade it, you have to &amp;quot;load the whole new application&amp;quot;, not just the part you modified.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>