<?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>nRF52832 two applications in memory after secure buttonless DFU update</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58335/nrf52832-two-applications-in-memory-after-secure-buttonless-dfu-update</link><description>Hello! Is it normal, that there are 2 applications in memory after secure buttonless DFU update? Please see screenshot of memory map: 
 
 I used SDK version 16. Shouldn&amp;#39;t the old app have been removed and replaced by the new one? 
 Thanks!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Feb 2020 14:13:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58335/nrf52832-two-applications-in-memory-after-secure-buttonless-dfu-update" /><item><title>RE: nRF52832 two applications in memory after secure buttonless DFU update</title><link>https://devzone.nordicsemi.com/thread/236587?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2020 14:13:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa44d9ba-d2bb-4454-9467-9376f3a96c33</guid><dc:creator>IstvanS</dc:creator><description>&lt;p&gt;Yes, in that case it&amp;#39;s effectively free, so I think the illustration is fine. If you just added those few lines of clarification to the documentation, it would be perfectly clear.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 two applications in memory after secure buttonless DFU update</title><link>https://devzone.nordicsemi.com/thread/236584?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2020 14:07:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5143f67-8fea-4788-8beb-1b3c0428bc51</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Ok, I see. I do agee with you. The illustration gives you the impression that new application in bank 1 is erased as a part of the activation process. What really happens is that the bootloader just marks the data in bank 1 as invalid by updating the bank 1 flag in the Bootloader settings page and thus free the area for future updates.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 two applications in memory after secure buttonless DFU update</title><link>https://devzone.nordicsemi.com/thread/236581?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2020 14:01:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34a50fce-ef97-42fe-9951-bd5a0ee3bfff</guid><dc:creator>IstvanS</dc:creator><description>&lt;p&gt;No, it&amp;#39;s not a problem at all. I just assumed it&amp;#39;d be deleted, as the picture suggests:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Annotation-2020_2D00_02_2D00_26-145714.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;So I wasn&amp;#39;t sure if it was normal that bank 1&amp;nbsp; is not erased after the update, that&amp;#39;s all. Thanks for your support!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 two applications in memory after secure buttonless DFU update</title><link>https://devzone.nordicsemi.com/thread/236574?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2020 13:53:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bfc2f9b-de75-4a7d-bb23-50d2bdffe20a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, it&amp;#39;s normal. The bootloader does not assume that pages in bank 1 are erased when you start DFU. In other words, there is no need to erase the image in bank 1 after activation. Is there a particular reason why you want bank 1 to be erased right away?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 two applications in memory after secure buttonless DFU update</title><link>https://devzone.nordicsemi.com/thread/236566?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2020 13:34:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:538ef5b1-a8f9-4664-acc4-115a14fee5a5</guid><dc:creator>IstvanS</dc:creator><description>&lt;p&gt;Hi! Yes, the documentation states &amp;quot; If the new application can be activated, it is copied from bank 1 to bank 0&amp;quot;. This must happen, because the new app is active and works as usual after the update. But why is it from bank 1 not deleted? Is it normal?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 two applications in memory after secure buttonless DFU update</title><link>https://devzone.nordicsemi.com/thread/236559?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2020 13:16:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62547d08-45d4-4c66-9647-4053df2b2311</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Yes, this is expected. Please take a look at how dual banked updates are performed here:&amp;nbsp;&lt;a title="Dual-bank and single-bank updates" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_bootloader_dfu_banks.html?cp=7_1_3_5_1_2"&gt;Dual-bank and single-bank updates&lt;/a&gt;. However, what&amp;#39;s not clear from the illustrations is that the bootloader does not delete the data in bank 1 after replacing the old application. Data in bank 1 will not get overwritten until next time you do DFU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>