<?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>SDK9.0 DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18838/sdk9-0-dfu</link><description>the mcu is nrf51822，I use sdk9.0, 
 sdk9.0\examples\dfu\bootloader\pca10028\dual_bank_ble_s110\arm5_no_packs 
 
 In this project, I delete led，button， 
 change “dfu_start |= ((nrf_gpio_pin_read(BOOTLOADER_BUTTON) == 0) ? true: false);” to “dfu_start</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Jan 2017 07:43:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18838/sdk9-0-dfu" /><item><title>RE: SDK9.0 DFU</title><link>https://devzone.nordicsemi.com/thread/72748?ContentTypeID=1</link><pubDate>Tue, 10 Jan 2017 07:43:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee013b3d-9552-419d-ab4e-93ca9e0b46c8</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Happy to help Yangying :) I would appreciate if you could mark the answer as correct by clicking the checkmark in the circle to the left of the answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK9.0 DFU</title><link>https://devzone.nordicsemi.com/thread/72747?ContentTypeID=1</link><pubDate>Tue, 10 Jan 2017 02:41:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e815e121-6b08-4eff-a671-8df8982724b7</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;hello friend，thank you so much！problem is solved with your help ！hope you have a good day！&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK9.0 DFU</title><link>https://devzone.nordicsemi.com/thread/72746?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 10:32:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9348d93a-f715-4573-ae5e-c04f5f8a3024</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;This is the expected behavior you will get by setting &lt;code&gt;dfu_start |= true;&lt;/code&gt;, i.e. dfu_start is always true. If you take a look at the code you&amp;#39;ll see that you will always enter the following statement&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; if (dfu_start || (!bootloader_app_is_valid(DFU_BANK_0_REGION_START)))
    {
        nrf_gpio_pin_clear(UPDATE_IN_PROGRESS_LED);

        // Initiate an update of the firmware.
        err_code = bootloader_dfu_start();
        APP_ERROR_CHECK(err_code);

        nrf_gpio_pin_set(UPDATE_IN_PROGRESS_LED);
    }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you do not have a bootloader button in you design then I suggest that you just remove the line, i.e. alter the code from&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;dfu_start  = app_reset;
dfu_start |= ((nrf_gpio_pin_read(BOOTLOADER_BUTTON) == 0) ? true: false);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;dfu_start  = app_reset;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>