<?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>Why always enter into DFU mode after I connect the power supply?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2446/why-always-enter-into-dfu-mode-after-i-connect-the-power-supply</link><description>Hi 
 I&amp;#39;m working on the DFU feature according to the &amp;quot;device_firmware_updates&amp;quot; example on PCA1001 board, basically it works, but the question I&amp;#39;m facing is the board always enter into DFU mode after I connect the power supply(USB cable) with the board</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 May 2014 15:06:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2446/why-always-enter-into-dfu-mode-after-i-connect-the-power-supply" /><item><title>RE: Why always enter into DFU mode after I connect the power supply?</title><link>https://devzone.nordicsemi.com/thread/9886?ContentTypeID=1</link><pubDate>Wed, 14 May 2014 15:06:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e63b38d-2f84-461f-8d8c-df915e47886d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Tao,&lt;/p&gt;
&lt;p&gt;Have you modified the buttons_init() to match with the configuration PCA10001 ? The device firmware update was made for the DevKit that has external pull up resistor on the pin. I suspect that when you connect the board via USB, there might be a pulse on the pin that forced the DFU bootloader to start.
I would suggest to change the BUTTON_PULL from NRF_GPIO_PIN_NOPULL to BUTTON_PULL    GPIO_PIN_CNF_PULL_Pullup.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>