<?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>DFU over BLE from application using buttonless, background or not possible?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81059/dfu-over-ble-from-application-using-buttonless-background-or-not-possible</link><description>Hi, 
 
 We area working on an iOS Application using nRF Toolbox as a reference. We are currently implementing OTA DFU over BLE and are able to update the nRF52 devKit from the iOS application by using the DFU Secure Bootloader project. 
 On the other</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Oct 2021 13:20:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81059/dfu-over-ble-from-application-using-buttonless-background-or-not-possible" /><item><title>RE: DFU over BLE from application using buttonless, background or not possible?</title><link>https://devzone.nordicsemi.com/thread/335990?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2021 13:20:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2acf91b-9adb-4c84-ab1e-d5bbee554a3e</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If I understand you correctly you want to run a DFU update in the background while still running the application?&lt;/p&gt;
&lt;p&gt;My colleague Vidar discussed this in an &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46994/background-dfu-application-source-code"&gt;earlier thread&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This is technically possible, but it has many drawbacks compared to doing DFU the normal way:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) The DFU update will be much slower, since it has to be run while the application is active&lt;/p&gt;
&lt;p&gt;2) You will only be able to update the application, not the SoftDevice or bootloader&lt;/p&gt;
&lt;p&gt;3) It will limit how large the application can be, since you have to reserve dual banks for the application. On a device like the nRF52840 this might be OK, but on the nRF52832 you have much less flash available.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4) It will be much more complex to implement and test, since there is always a risk that running DFU and application side by side could lead to reliability issues.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would strongly consider just doing DFU the normal way instead. Normally DFU is not something that needs to be run very often, and we have worked to optimized the speed of DFU in recent updates to ensure the user won&amp;#39;t have to wait too long for the DFU to complete.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>