<?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>BLE DFU Dual-Bank : Is the copy process, which follows the update process, safe?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46077/ble-dfu-dual-bank-is-the-copy-process-which-follows-the-update-process-safe</link><description>I&amp;#39;m currently on a question for which the documentation here can&amp;#39;t help me. 
 
 If I&amp;#39;m correct, the Dual-Bank Update allows to retain a safe copy of the old firmware image until the new firmware image has been completely validate aside the old one when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Apr 2019 13:17:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46077/ble-dfu-dual-bank-is-the-copy-process-which-follows-the-update-process-safe" /><item><title>RE: BLE DFU Dual-Bank : Is the copy process, which follows the update process, safe?</title><link>https://devzone.nordicsemi.com/thread/182632?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2019 13:17:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a72fbb53-aa50-416f-97d8-b95e0a484c41</guid><dc:creator>Xavier Waselle</dc:creator><description>&lt;p&gt;The documentation didn&amp;#39;t help me because it does not explain in details the copy process but I got my answer after looking in the code in image_copy().&lt;/p&gt;
&lt;p&gt;When processing the copy, the bootloader divides the new app in pages and copies them one by one and save the store progress in flash on every successful chunk write.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU Dual-Bank : Is the copy process, which follows the update process, safe?</title><link>https://devzone.nordicsemi.com/thread/182627?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2019 12:58:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d584c02-004a-428f-82a0-709528e4b95c</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure if I understand what your question is. It doesn&amp;#39;t matter if the new firmware is smaller or bigger, what matters is if the new firmware fits in bank 1.&lt;/p&gt;
&lt;p&gt;All of this is pretty well documented:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_bootloader_dfu_banks.html"&gt;Take a look here.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU Dual-Bank : Is the copy process, which follows the update process, safe?</title><link>https://devzone.nordicsemi.com/thread/182619?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2019 12:46:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b27436b-e77a-4cd3-a17e-79b77e28321b</guid><dc:creator>Xavier Waselle</dc:creator><description>&lt;p&gt;Ok but is it always the case if the size of new firmware image is bigger than the previous one?&lt;/p&gt;
&lt;p&gt;I mean how is it proceed exactly because, as far as I know, we will copy the beginning of the new application over all the old application but the old bank 0 will not fit to the new application. Am I right? So, where will be copied the end of the new application image ? Over the beginning of the new one already copied ? If it&amp;#39;s the case, how the bootloader can know it ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU Dual-Bank : Is the copy process, which follows the update process, safe?</title><link>https://devzone.nordicsemi.com/thread/181556?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 11:31:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64d7a543-ad38-4cdc-8cd2-0e47c2ff2cf1</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;The bootloader still knows that there is a valid application in bank 1. Bank 1 isn&amp;#39;t &amp;quot;cleared&amp;quot; until the application has been copied to bank 0 successfully, i.e. if the copy process fails due to reset or whatever, the bootloader will try to copy the application again on the next boot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>