<?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>Button 4 to enter the DFU mode?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14666/button-4-to-enter-the-dfu-mode</link><description>Hello, I am evaluating ways to enter the DFU mode when application is corrupted (i.e. it does not reach the code for entering bootloader). 
 The documentation states that the DFU mode is started when &amp;quot;Button 4 is pressed when starting the device&amp;quot; . </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Oct 2019 15:50:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14666/button-4-to-enter-the-dfu-mode" /><item><title>RE: Button 4 to enter the DFU mode?</title><link>https://devzone.nordicsemi.com/thread/213983?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2019 15:50:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eda35f3d-1e78-4996-b4a4-6edc28ff1078</guid><dc:creator>asusss</dc:creator><description>&lt;p&gt;Good evening, &lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/adamh"&gt;Adam Heinrich&amp;nbsp;&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;how did you get started with the boot loader after successfully loading an application without clicking the 4 button?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button 4 to enter the DFU mode?</title><link>https://devzone.nordicsemi.com/thread/55969?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2016 14:10:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ace0f443-84d0-4769-916a-b390d9c01b31</guid><dc:creator>Adam Heinrich</dc:creator><description>&lt;p&gt;Hello, thank you for quick answer. This is nice - I thought the bootloader was a binary blob (like the SoftDevice) but now I see that I am able to modify its source code to fit my needs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button 4 to enter the DFU mode?</title><link>https://devzone.nordicsemi.com/thread/55968?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2016 11:51:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2098f22a-be00-4659-9a34-9b89179a18a9</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, the bootloader checks whether button 4 is held during startup, and if so enters DFU mode instead of starting the application.&lt;/p&gt;
&lt;p&gt;In addition the bootloader uses an LED.&lt;/p&gt;
&lt;p&gt;You will find the bootloader code in the SDK, under &lt;code&gt;&amp;lt;sdk folder&amp;gt;\examples\dfu\bootloader&lt;/code&gt;. In main.c you will find &lt;code&gt;BOOTLOADER_BUTTON&lt;/code&gt; and &lt;code&gt;UPDATE_IN_PROGRESS_LED&lt;/code&gt; defined, near the top. These defines uses the board support package, so defining BOARD_PCA10028 will set up the bootloader to use the pin numbers for &lt;code&gt;BSP_BUTTON_3&lt;/code&gt; and &lt;code&gt;BSP_LED_2&lt;/code&gt; on that particular board.&lt;/p&gt;
&lt;p&gt;Regards, Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>