<?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>won&amp;#39;t reset chip after dfu</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11064/won-t-reset-chip-after-dfu</link><description>Hi, 
 I am using keil uvision 5.17, SD 130, nRF 51822, dualbank bootloader. 
 
 I have programmed own application and merged bootloader, application, soft device. 
 I can do dfu as many as I want, 
 but the problem is I should push reset button whenever</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Feb 2017 11:13:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11064/won-t-reset-chip-after-dfu" /><item><title>RE: won't reset chip after dfu</title><link>https://devzone.nordicsemi.com/thread/41361?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2017 11:13:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ca46619-99c7-4d08-a5e4-31682577a496</guid><dc:creator>Sourabh Barve</dc:creator><description>&lt;p&gt;Hi, I am facing the same problem as @TY.
I tried the solution mentioned by TY, but still the problem persist.
I&amp;#39;m using NRF52832, SDK11, S132 and nRFToolBox android app for OTA DFU.
The microcontroller hangs after the DFU of bundle containing sd+bl+app. And starts working correctly after a reset, be it power reset or a reset using nrfjprog --reset command.&lt;/p&gt;
&lt;p&gt;After the reset, the problem is gone, i.e. after reset I can OTA DFU as many times I wish and it happens successfully without hanging after DFU. But I have to update numerous devices which are enclosed and if all of them need a reset after the DFU then it is non-trivial job.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: won't reset chip after dfu</title><link>https://devzone.nordicsemi.com/thread/41362?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2016 09:30:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54b20117-d813-4c6e-9ead-d2dc2cf4a052</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;SDK10 bug&lt;/p&gt;
&lt;p&gt;Solution :
..\dfu\bootloader\main.c&lt;/p&gt;
&lt;p&gt;set(if you are using timer1, timer2)&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;if (bootloader_app_is_valid(DFU_BANK_0_REGION_START) &amp;amp;&amp;amp; !bootloader_dfu_sd_in_progress())
{
    // Select a bank region to use as application region.
    // @note: Only applications running from DFU_BANK_0_REGION_START is supported.
    bootloader_app_start(DFU_BANK_0_REGION_START);
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;if (bootloader_app_is_valid(DFU_BANK_0_REGION_START) &amp;amp;&amp;amp; !bootloader_dfu_sd_in_progress())
{

    NRF_TIMER1-&amp;gt;TASKS_STOP = 1;
    NRF_TIMER1-&amp;gt;TASKS_SHUTDOWN=1;
    NRF_TIMER1-&amp;gt;EVENTS_COMPARE[0]=0;
    NRF_TIMER1-&amp;gt;EVENTS_COMPARE[1]=0;
    NRF_TIMER1-&amp;gt;EVENTS_COMPARE[2]=0;
    NRF_TIMER1-&amp;gt;EVENTS_COMPARE[3]=0;
    NVIC_DisableIRQ(TIMER1_IRQn);

    NRF_TIMER2-&amp;gt;TASKS_STOP = 1;
    NRF_TIMER2-&amp;gt;TASKS_SHUTDOWN=1;
    NRF_TIMER2-&amp;gt;EVENTS_COMPARE[0]=0;
    NRF_TIMER2-&amp;gt;EVENTS_COMPARE[1]=0;
    NRF_TIMER2-&amp;gt;EVENTS_COMPARE[2]=0;
    NRF_TIMER2-&amp;gt;EVENTS_COMPARE[3]=0;
    NVIC_DisableIRQ(TIMER2_IRQn);		

    // Select a bank region to use as application region.
    // @note: Only applications running from DFU_BANK_0_REGION_START is supported.
    bootloader_app_start(DFU_BANK_0_REGION_START);
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: won't reset chip after dfu</title><link>https://devzone.nordicsemi.com/thread/41358?ContentTypeID=1</link><pubDate>Thu, 31 Dec 2015 08:32:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:700e661a-e6bc-4da4-82d6-34ca9b5d8ad3</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Are you using the S130 Dual Bank Bootlader as is or have you modified it? I could sound like the problem lies in your app. I would take a look at &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/bledfu_appextending.html"&gt;this&lt;/a&gt; page on our Infocenter, it describes all the steps necessary to add the DFU service to an application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: won't reset chip after dfu</title><link>https://devzone.nordicsemi.com/thread/41359?ContentTypeID=1</link><pubDate>Thu, 31 Dec 2015 01:38:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9afeedfe-b687-4775-a844-ac4aa698b232</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Yes, I use nRF Toolbox&amp;#39;s DFU service.
I tested hrm dfu service, and new application start automatically after dfu.
But my own application which include dfu service from hrm service,
won&amp;#39;t start after dfu if I don&amp;#39;t push reset button.&lt;/p&gt;
&lt;p&gt;which part should I check to fix this problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: won't reset chip after dfu</title><link>https://devzone.nordicsemi.com/thread/41360?ContentTypeID=1</link><pubDate>Wed, 30 Dec 2015 12:42:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b330a2f8-f4c9-4892-90a6-bc088e1eebc7</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;The bootloader will jump to the new application without performing a reset, which is the expected behaviour. Are you using one of our nRF Apps to connect to the device or your own app to connect to the device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>