<?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>DFU Bootloader button inverse polarity</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4518/dfu-bootloader-button-inverse-polarity</link><description>Hello, 
 I have tested the DFU and everything works fine. Normaly the device enters into DFU mode with a pressed button 7, meaning the level on I/O 7 is LOW. 
 But in my application I need normal operation with LOW level on button 7 and DFU mode with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Nov 2014 19:31:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4518/dfu-bootloader-button-inverse-polarity" /><item><title>RE: DFU Bootloader button inverse polarity</title><link>https://devzone.nordicsemi.com/thread/16030?ContentTypeID=1</link><pubDate>Thu, 20 Nov 2014 19:31:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:308472e9-0175-4218-8cb1-dc6e2cfb78c7</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;You should accept this answer so others quickly see that it&amp;#39;s solved :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader button inverse polarity</title><link>https://devzone.nordicsemi.com/thread/16031?ContentTypeID=1</link><pubDate>Thu, 20 Nov 2014 11:40:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15c7a9d2-297c-4314-83db-a767ef7e8045</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Thank you for answering your own question:)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader button inverse polarity</title><link>https://devzone.nordicsemi.com/thread/16029?ContentTypeID=1</link><pubDate>Thu, 20 Nov 2014 10:54:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:636155ec-826b-4bc5-bfba-026b2df3bcab</guid><dc:creator>microchip</dc:creator><description>&lt;p&gt;Ok, I found that I have to change dfu_start:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;dfu_start |= ((nrf_gpio_pin_read(BOOTLOADER_BUTTON_PIN) == 1) ? true: false);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Maybe this will help someone&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>