<?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>NRF52832 Must use the buttons 4 can enter DFU mode?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14670/nrf52832-must-use-the-buttons-4-can-enter-dfu-mode</link><description>According to the official tutorial must before the MCU is powered on hold button 4 to enter DFU mode, detected that I how to achieve a certain GPIO port high level into DFU mode</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Jun 2016 11:43:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14670/nrf52832-must-use-the-buttons-4-can-enter-dfu-mode" /><item><title>RE: NRF52832 Must use the buttons 4 can enter DFU mode?</title><link>https://devzone.nordicsemi.com/thread/55995?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2016 11:43:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39bff8cf-0e7c-4705-ae35-3d9d64c70a1a</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The default bootloader enters DFU mode if you press and hold button 4 when powering the device.&lt;/p&gt;
&lt;p&gt;The bootloader code is found in the SDK, under &lt;code&gt;&amp;lt;sdk folder&amp;gt;\examples\dfu\bootloader&lt;/code&gt;. To change what pin to use for entering DFU mode, you can change the define of &lt;code&gt;BOOTLOADER_BUTTON&lt;/code&gt; in main.c to the pin that you want to use.&lt;/p&gt;
&lt;p&gt;The preferred way to do this is to use the correct preprocessor define (in project options) for the board that you use. This may be for instance BOARD_PCA10028 for the nRF51 DK or BOARD_CUSTOM for a custom board. Make sure that BSP_BUTTON_3 is defined in the corresponding board file (i.e. pca10028.h or custom_board.h for the previous examples). The board files are located in the folder &lt;code&gt;&amp;lt;sdk folder&amp;gt;\examples\bsp&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Regards, Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>