<?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>Secure bootloader &amp;amp; buttonless dfu</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44667/secure-bootloader-buttonless-dfu</link><description>Hi all, 
 We are trying to use buttonless dfu for actual products. 
 We already finished testing dfu using \nRF5_SDK_15.2.0_9412b96\examples\dfu\secure_bootloader\pca10056_ble example with nrf52840_xxaa_s140.hex binary. 
 We followed &amp;quot;Getting started</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Mar 2019 09:46:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44667/secure-bootloader-buttonless-dfu" /><item><title>RE: Secure bootloader &amp; buttonless dfu</title><link>https://devzone.nordicsemi.com/thread/175581?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2019 09:46:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92bbca01-74f8-4bfe-b061-ce2ad71645fb</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;&lt;strong&gt;Please clarify if you have tested our &lt;/strong&gt;&lt;span&gt;&lt;strong&gt;&lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/ble_sdk_app_buttonless_dfu?1434#secure_dfu_buttonless_configuration"&gt;ble_app_buttonless_dfu&amp;nbsp;&lt;/a&gt; ?&lt;/strong&gt; Please don&amp;#39;t start with your application before you test the example with our bootloader.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You need to generate bootloader setting so that the bootloader knows (after you flash with Jlink) that there is a valid application so it won&amp;#39;t stay in DFU mode.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you don&amp;#39;t generate bootloader setting (and flash it) you would need to do a normal DFU for the buttonless application first, and then you can test the buttonless feature.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure bootloader &amp; buttonless dfu</title><link>https://devzone.nordicsemi.com/thread/175499?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2019 00:20:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f03b8d5-3052-467b-8b2b-ffe1cc9e34d5</guid><dc:creator>jsmoon</dc:creator><description>&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;Let me clarify exactly what we want to do.&lt;/p&gt;
&lt;p&gt;We will use our own secure_bootloader as we mentioned above for now.&lt;/p&gt;
&lt;p&gt;Then we are going to add following functions into app project:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;sd_power_gpregret_clr(0, 0xffffffff);&lt;br /&gt;&amp;nbsp;sd_power_gpregret_set(0, BOOTLOADER_DFU_START);&lt;br /&gt;&amp;nbsp;nrf_pwr_mgmt_shutdown(NRF_PWR_MGMT_SHUTDOWN_GOTO_DFU);&lt;/p&gt;
&lt;p&gt;Once we enter a value through uart port the above routine will be executed.&lt;/p&gt;
&lt;p&gt;However, right after download using J-Link the device boot as DFU mode.&lt;/p&gt;
&lt;p&gt;If we have missing points please let me know.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure bootloader &amp; buttonless dfu</title><link>https://devzone.nordicsemi.com/thread/175418?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 15:01:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a24f1dca-5e6c-4be4-a01c-4051bca640e0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jsmoon,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please clarify that you can do buttonless DFU using our example &lt;span&gt;ble_app_buttonless_dfu&amp;nbsp; (no merging with your app)&lt;/span&gt;. Please follow the instruction in the blog and in the SDK on how to test buttonless DFU.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Be aware that you still need the bootloader when you use buttonless.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>