<?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>Buttonless DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46768/buttonless-dfu</link><description>Hi, 
 1) I would like to program softdevice + buttonless DFU + app in production using J-Link.I tried that but my device always runs bootloader only, in never jumps to app. How to make bootloader to run app after initial production programming? 
 2) I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Apr 2019 18:32:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46768/buttonless-dfu" /><item><title>RE: Buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/184398?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 18:32:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dbf30e1-6119-43cb-80f3-e7425f0e0884</guid><dc:creator>Diego</dc:creator><description>&lt;p&gt;I updated the answer. Hope that helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/184396?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 18:22:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d38077f-1496-4310-8123-09f6802756ad</guid><dc:creator>gaminn</dc:creator><description>&lt;p&gt;Hi Diego and thank you for your answer. Meanwhile, I was editing my post and I added 3rd part to my question. I would like to ask you to reply to it also if you know the answer. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/184394?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 18:13:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e010283-7947-41a1-8b69-581c9f729e5f</guid><dc:creator>Diego</dc:creator><description>&lt;p&gt;1) You need to generate the settings&amp;nbsp;to tell the bootloader&amp;nbsp;that there is an app&amp;nbsp;available to run. To do this run something like the following&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil settings generate --family NRF52 --application $(OUTPUT_DIRECTORY)/nrf52832_xxaa.hex
--application-version 2 --bootloader-version 1 --bl-settings-version 1 $(OUTPUT_DIRECTORY)/boot_settings.hex
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then you will need to merge the boot_settings.hex with the softdevice, the bootloader and the application hex. Using&amp;nbsp;mergehex.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;2) It is what you put in the --aplication-version flag when generating the settings.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can read more about it her&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil"&gt;https://github.com/NordicSemiconductor/pc-nrfutil&lt;/a&gt;&amp;nbsp;and here&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf5x_cltools/UG/cltools/nrf5x_mergehex.html"&gt;infocenter.nordicsemi.com/.../nrf5x_mergehex.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3) You need to set the&amp;nbsp;NRF_DFU_BLE_REQUIRES_BONDS flag to 1 in sdk_config.h in the bootloader project. This will require the device to be bonded with the peer to perform the firmware update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>