<?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 it possible to monitor whether dual page updating is taking place?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36427/is-it-possible-to-monitor-whether-dual-page-updating-is-taking-place</link><description>So as far as I can make out, when I load a new application into the flash, the NRF52 will attempt to first load a secondary memory space and if successful, it will then replace the original image with the new one. If it is not possible to do this, it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Jul 2018 19:44:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36427/is-it-possible-to-monitor-whether-dual-page-updating-is-taking-place" /><item><title>RE: Is it possible to monitor whether dual page updating is taking place?</title><link>https://devzone.nordicsemi.com/thread/140287?ContentTypeID=1</link><pubDate>Mon, 16 Jul 2018 19:44:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84a75349-4a1a-4704-86ad-6bd1392477c1</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I assume that you use the latest version of nRF5 SDK (15.0.0).&lt;/p&gt;
&lt;p&gt;SoftDevice and bootloader updates will always use dual bank.&lt;/p&gt;
&lt;p&gt;You can force dual bank updates for the application with the &lt;code&gt;NRF_DFU_FORCE_DUAL_BANK_APP_UPDATES&lt;/code&gt; configuration.&lt;/p&gt;
&lt;p&gt;If you want to leave single bank application update as a fallback, in the event of failure you will be left with bootloader and SoftDevice still present. The bootloader will see that there is no valid application and enter DFU mode, so that you can connect to do a (this time hopefully successful) applicaiton update.&lt;/p&gt;
&lt;p&gt;If you want to know what update the bootloader performes, then you can search for the place in the bootloader code where dual/single bank is decided and either use the log messages that are already there or keep the value some other way. (Hint: Search for &lt;code&gt;NRF_DFU_FORCE_DUAL_BANK_APP_UPDATES&lt;/code&gt; in the bootloader source, and look at the function to which it is passed.)&lt;/p&gt;
&lt;p&gt;For more detailed information, see &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Flib_bootloader_dfu_banks.html"&gt;Dual-bank and single-bank updates&lt;/a&gt; in the SDK documentation.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>