<?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>Some questions about DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38273/some-questions-about-dfu</link><description>Hello! 
 (SDK15, nrf52832, SES) 
 I started to implement DFU in my code following this tutorial . So far with the tutorial i have the following issue. 
 1. In the section D1. Flash bootloader and softdevice says to flash the softdevice then the bootloader</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Sep 2018 09:37:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38273/some-questions-about-dfu" /><item><title>RE: Some questions about DFU</title><link>https://devzone.nordicsemi.com/thread/147747?ContentTypeID=1</link><pubDate>Fri, 07 Sep 2018 09:37:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20cf8975-8a12-4154-bba7-ed2da6440a97</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1. Yes, that is correct.&lt;/p&gt;
&lt;p&gt;2. Referring to SDK 15, you can see&amp;nbsp;the handling of the button in nrf_bootloader.c by searching for&amp;nbsp;NRF_BL_DFU_ENTER_METHOD_BUTTON in that file. In a nutshell: if defined, a gpio input is read and if asserted this indicate that the bootloader should enter DFU mode instead of starting the application.&lt;/p&gt;
&lt;p&gt;3. I recommend you refer to the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/ble_sdk_app_buttonless_dfu.html?cp=4_0_1_4_3_1"&gt;Buttonless DFU Template Application&lt;/a&gt;&amp;nbsp;to see how you enter DFU mode from the application. (Note that the tutorial you refer to is not updated for SDK 15, so whenever it does not match SDK 15 examples or documentation, stick to what you find for SDK 15.)&lt;/p&gt;
&lt;p&gt;4. If you with DFU example mean bootloader example, then this main function is the bootloader main function and should stay there. If you don&amp;#39;t have specific requirements, then I recommend you use the example bootloader as is without any modifications at all (except for replacing the example public key with your own public key).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>