<?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>Is the SoftDevice upgraded with dual bank DFU?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79052/is-the-softdevice-upgraded-with-dual-bank-dfu</link><description>Hello 
 We are using secure boot loader for DFU and is working great. We were using single bank DFU, but reduced our image size to allow dual-bank DFU. If you could please let me know the answer to the following questions, that would be awesome. 
 1-</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Aug 2021 06:32:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79052/is-the-softdevice-upgraded-with-dual-bank-dfu" /><item><title>RE: Is the SoftDevice upgraded with dual bank DFU?</title><link>https://devzone.nordicsemi.com/thread/327321?ContentTypeID=1</link><pubDate>Tue, 31 Aug 2021 06:32:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:432e003a-6f14-4219-9016-000c4ee593c1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;No problem &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
[quote user="doctormano"]8 pages seems a lot of storage, but if cannot be reduced then will leave it alone.[/quote]
&lt;p&gt;Are you reffering to the NRF_DFU_BLE_BUFFER that buffers the BLE dfu packets? This buffer is only 4096 bytes and is kept in RAM and therefore freed when the bootloader starts the main app.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1630391170717v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is the SoftDevice upgraded with dual bank DFU?</title><link>https://devzone.nordicsemi.com/thread/327302?ContentTypeID=1</link><pubDate>Tue, 31 Aug 2021 00:14:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58cf7846-34d5-4afd-aaaa-9fc32034c250</guid><dc:creator>Mano</dc:creator><description>&lt;p&gt;Thanks Vidar for your answers. I had already seen those illustrations. For some reason, when I was looking at other posts, someone had mentioned that every time a dual-bank application update is performed, the Soft Device will also get updated!!! I didn&amp;#39;t think this was the case and wanted to clarify.&lt;/p&gt;
&lt;p&gt;I realize SD updates will happen via dual-bank and that is fine. We won&amp;#39;t be doing many of those hopefully.&lt;/p&gt;
&lt;p&gt;8 pages seems a lot of storage, but if cannot be reduced then will leave it alone.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks again for your answer.&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;Mano&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is the SoftDevice upgraded with dual bank DFU?</title><link>https://devzone.nordicsemi.com/thread/327197?ContentTypeID=1</link><pubDate>Mon, 30 Aug 2021 11:53:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cd4b7c9-1bde-40a5-9c56-887c5b1ca471</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Maybe you have seen them already, but there are some good illustrations of how the single and dual bank update process works in the SDK documentation here: &lt;span&gt;&lt;a title="Dual-bank and single-bank updates" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_bootloader_dfu_banks.html"&gt;Dual-bank and single-bank updates&lt;/a&gt; (this is also good for understanding the memory requirements: &lt;a title="Memory layout" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_bootloader.html?cp=8_1_3_5_0_7#lib_bootloader_memory"&gt;Memory layout&lt;/a&gt;)&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. Softdevice updates are always dual-banked. In-place update of the Softdevice is not possible with the BLE DFU transport as it relies on the Softdevice being present.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. Maybe I&amp;#39;m not understanding your question correctly, but you decide when you create the DFU distribution packet whether the Softdevice should be inlcuded in the update or not.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. The Bank regions are used as scratch areas and their sizes are adjusted dynamically by the bootloader.&amp;nbsp;The Bank 1 start address is for instance adjusted based on how big the app image in Bank 0 is. And if there is no app in bank 0, then there is no need for a bank 1 either.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; The bank area must be large enough to hold the entire FW image to accept an update.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;4. This configuration options specifies how many BLE DFU packets that the bootloader can queue up in RAM. I would recommend to keep the default setting here (i.e. NRF_DFU_BLE_BUFFERS_OVERRIDE == 0). &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;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>