<?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>Dual bank DFU with external flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57118/dual-bank-dfu-with-external-flash</link><description>Hi, 
 I am working on a BLE product that includes a nRF52810 microcontroller. 
 We are currently using SDK 15.3.0 and Softdevice S112 v6.1. We would like to integrate the Nordic&amp;#39;s Secure Bootloader for DFU process. 
 We are only interested in updating</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Jan 2020 10:08:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57118/dual-bank-dfu-with-external-flash" /><item><title>RE: Dual bank DFU with external flash</title><link>https://devzone.nordicsemi.com/thread/231590?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2020 10:08:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b86bf2c8-d574-4594-a2a3-bdb733c8d5f2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="nono76352"]Would you recommand any size or type of external flash for storing the application ? Would a 128kB flash be enough (with no bootloader nor softdevice update planned) ?[/quote]
&lt;p&gt;Assuming this should only hold an application update, the external flash does not need to be larger than the largest possible application (which is equal to the amount of free space between the SoftDevice and the bootloader).&lt;/p&gt;
[quote user="nono76352"]Is it possible to disable in the secure bootloader the ability to update the bootloader and the softdevice ?[/quote]
&lt;p&gt;Yes. If you just want to do it in a simple way, you could modify&amp;nbsp;postvalidate_sd_bl() in nrf_dfu_validation.c to always return false. But why would you want to do this? A SoftDevice update may not be possible anyway due to limitations in flash space, but what if for instance a vulnerability is found in the bootloader, and you are unable o update it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual bank DFU with external flash</title><link>https://devzone.nordicsemi.com/thread/231574?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2020 09:40:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee63fd25-7347-4b29-a43b-c2407e6fa8fb</guid><dc:creator>Nathan O.</dc:creator><description>&lt;p&gt;Thank you for your reply. I will have a look at the threads you provided.&lt;/p&gt;
&lt;p&gt;Would you recommand any size or type of external flash for storing the application ? Would a 128kB flash be enough (with no bootloader nor softdevice update planned) ?&lt;/p&gt;
&lt;p&gt;Is it possible to disable in the secure bootloader the ability to update the bootloader and the softdevice ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual bank DFU with external flash</title><link>https://devzone.nordicsemi.com/thread/231572?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2020 09:31:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:634129b3-9a0d-42f2-9775-a7e0d4eb0ac5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Nathan,&lt;/p&gt;
&lt;p&gt;Using external flash for temporarily storing the new firmware is definitely possible, though we do not provide an example for it.&amp;nbsp;There are a few existing threads about this, for instance,&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48961/dfu-with-external-qspi-memory"&gt;this&lt;/a&gt;&amp;nbsp;and &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/17935/ota-dfu-of-nrf52832-using-external-flash-instead-of-internal-flash"&gt;this&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>