<?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>App not starting after DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37255/app-not-starting-after-dfu</link><description>I am attempting to add DFU capability to an nRF52 based product but have run into an issue. I was able to successfully build the boot loader and flash it to the device. I was unable to get anything working after flashing the boot loader, app, and SD to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Aug 2018 16:15:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37255/app-not-starting-after-dfu" /><item><title>RE: App not starting after DFU</title><link>https://devzone.nordicsemi.com/thread/143432?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 16:15:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d82768ba-e21e-4f23-a9c3-d93a861c6546</guid><dc:creator>digitalnyx</dc:creator><description>&lt;p&gt;Einar,&lt;/p&gt;
&lt;p&gt;Thanks for the clue. In the SDK I have, DFU check was:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;__WEAK bool nrf_dfu_enter_check(void)
{
    return true;
    
    /*
    if (nrf_gpio_pin_read(BOOTLOADER_BUTTON) == 0)
    {
        return true;
    }

    if (s_dfu_settings.enter_buttonless_dfu == 1)
    {
        s_dfu_settings.enter_buttonless_dfu = 0;
        APP_ERROR_CHECK(nrf_dfu_settings_write(NULL));
        return true;
    }
    return false;
    */
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Overriding it fixed the issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App not starting after DFU</title><link>https://devzone.nordicsemi.com/thread/143361?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 12:18:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3459b44-1d41-4a04-a867-6fb031fa2280</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Assuming you have not modified the bootloader, the log string &amp;quot;Application sent bootloader request&amp;quot; is only printed if&amp;nbsp;&lt;code&gt;nrf_dfu_enter_check()&lt;/code&gt; returns true, which can happen for two reasons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the GPIO pin used to force bootloader entry is asserted, or&lt;/li&gt;
&lt;li&gt;the&amp;nbsp;&lt;code&gt;enter_buttonless_dfu&lt;/code&gt; flag in bootloader settings is set to 1.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Which pin is configured as&amp;nbsp;&lt;code&gt;BOOTLOADER_BUTTON&lt;/code&gt;, and what is the state of that pin?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>