<?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 bootloader and Application start</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30871/dual-bank-bootloader-and-application-start</link><description>Hi all, 
 My configuration: 
 
 nrf52832 
 Softdevice S132 V4.0.2 
 Nordic SDK 13.0 
 
 I&amp;#39;m using th e secure bootloader example located at \examples\dfu\bootloader_secure_ble . 
 The dual bank configuration works correctly, but there is a problem: 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Mar 2018 14:48:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30871/dual-bank-bootloader-and-application-start" /><item><title>RE: Dual bank bootloader and Application start</title><link>https://devzone.nordicsemi.com/thread/123979?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 14:48:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b58ea484-7086-49c9-acb6-8a65c2705293</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/31244/nrf51822-programming" rel="noopener noreferrer" target="_blank"&gt;See this case&lt;/a&gt; for more info.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual bank bootloader and Application start</title><link>https://devzone.nordicsemi.com/thread/123822?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 06:57:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4668607-83d7-4fa3-9edf-eb024361958a</guid><dc:creator>Mannu</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://devzone.nordicsemi.com/members/leoc7"&gt;leoc7&lt;/a&gt;&amp;nbsp; can you please tell me how to do DUAL BANK DFU in NRF51822.Please tell whole process and configuration.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual bank bootloader and Application start</title><link>https://devzone.nordicsemi.com/thread/122318?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 14:21:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78e7ca58-2ace-4886-bf22-20b636c671bc</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Leo,&lt;/p&gt;
&lt;p&gt;If I were you, I would use the debug bootloader using an RTT client to see what happens when the DFU process fails. From my understanding, this function is called when the DFU process fails:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;void app_error_handler_bare(uint32_t error_code)&lt;/code&gt;&lt;br /&gt;&lt;code&gt;{&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp; &amp;nbsp;(void)error_code;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp; &amp;nbsp;NRF_LOG_ERROR(&amp;quot;Received an error: 0x%08x!\r\n&amp;quot;, error_code);&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp; &amp;nbsp;NVIC_SystemReset();&lt;/code&gt;&lt;br /&gt;&lt;code&gt;}&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/293/how-to-reset-the-device" rel="noopener noreferrer" target="_blank"&gt;NVIC_SystemReset()&lt;/a&gt; then resets the device &amp;amp; the main function in the bootloader is called again.&amp;nbsp;Since DFU functionality is defined, it will wait inside the bootloader like you mention. The DFU bootloader should have a timeout which will reset the chip &amp;amp; boot up the normal application. It seems you can send a Reset System command to trigger a reset which should start the application again. (&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/10884/how-to-exit-dfu-mode" rel="noopener noreferrer" target="_blank"&gt;see link for more info&lt;/a&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>