<?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 custom entry</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27064/buttonless-dfu-custom-entry</link><description>Hi, 
 I am using nRF52832 with NUS and buttonless DFU running well next to each other (SDK13). Instead of the standard way to jump to the bootloader (writing a 0x01 to the DFU characteristic) I would like to use a custom command via NUS. I imagine that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Nov 2017 09:56:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27064/buttonless-dfu-custom-entry" /><item><title>RE: Buttonless DFU custom entry</title><link>https://devzone.nordicsemi.com/thread/106362?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2017 09:56:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:804d0023-7a23-4982-a0df-13d8fcc9f6d6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,
What exactly the problem you are having now ? In our current implementation we still check for gpregret register to enter bootloader mode. So you can do the same as in your buttonless to enter bootloader (write to GPREGRET and the trigget a softreset) Please have a look at nrf_dfu_enter_check() in nrf_dfu.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU custom entry</title><link>https://devzone.nordicsemi.com/thread/106361?ContentTypeID=1</link><pubDate>Fri, 17 Nov 2017 09:04:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27d3dc70-0890-477b-a897-b4b7e9c8ea59</guid><dc:creator>joe.ker</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Thanks again for the proposed solution, which worked perfectly up until the DFU was moved out of experimental I think from SDK14 on.&lt;/p&gt;
&lt;p&gt;Is there a way to jump to initiate the jump to the bootloader similarly than before? It seems much more abstracted now.&lt;/p&gt;
&lt;p&gt;Many thanks,
Josef&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU custom entry</title><link>https://devzone.nordicsemi.com/thread/106358?ContentTypeID=1</link><pubDate>Fri, 31 Mar 2017 09:49:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fbbbcc3-b86f-4848-be69-ae6de295eb60</guid><dc:creator>joe.ker</dc:creator><description>&lt;p&gt;Hi Hung, I replaced the jump to the bootloader by a custom nus command, which works fine. Will do some further testing when its a bit less stressful :)
I am very happy with the new solution to use the register to save the flag instead of writing the flash, thanks! It makes it very easy and elegant to implement the jump to the bootloader in the application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU custom entry</title><link>https://devzone.nordicsemi.com/thread/106359?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2017 12:10:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc43ff92-e125-44a2-b4c3-3c7be178bcdd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Do you see the same thing when you test our experimental_ble_app_buttonless_dfu ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU custom entry</title><link>https://devzone.nordicsemi.com/thread/106360?ContentTypeID=1</link><pubDate>Mon, 27 Mar 2017 17:33:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6027a9e8-cdae-4052-bd57-18fb1c0cc193</guid><dc:creator>joe.ker</dc:creator><description>&lt;p&gt;Thanks a lot for the hint! I managed to manually jump from the app to the bootloader, but can not do it yet via de app, nrf connect app just stops and nrf toolbox says &amp;quot;Upload failed: DFU CHARACTERISTICS NOT FOUND&amp;quot; and also stops. Will dig deeper into that... Any ideas?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU custom entry</title><link>https://devzone.nordicsemi.com/thread/106356?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2017 12:40:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5464b07-dd99-4bbf-8a4d-fa4818413040</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;No, it&amp;#39;s not the same anymore. See my blog &lt;a href="https://devzone.nordicsemi.com/blogs/1085/getting-started-with-nordics-secure-dfu-bootloader/"&gt;here&lt;/a&gt;. It&amp;#39;s at section 2 , Appendix 1 .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU custom entry</title><link>https://devzone.nordicsemi.com/thread/106357?ContentTypeID=1</link><pubDate>Wed, 22 Mar 2017 19:37:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38ef0a2a-3dcf-4514-985b-a8f4a481d1bb</guid><dc:creator>joe.ker</dc:creator><description>&lt;p&gt;Hi Hung, do you by any chance know if the procedure you explained one month ago is still the same with the new SDK13? I just updated and it seems some changes have been made to the experimental buttonless bootloader and it works differently now. I am still looking into it, if you could give me a kickstart it would be highly appreciated.
Thanks, J&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU custom entry</title><link>https://devzone.nordicsemi.com/thread/106355?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2017 17:24:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0aa8274-75af-4c90-bc6d-9ccb7328914f</guid><dc:creator>joe.ker</dc:creator><description>&lt;p&gt;Perfect, thanks!
I am directly using the nrf_dfu_settings_write() function with .ener_buttonless_dfu instead of enter_bootloader(), like this i can remove the ble_dfu module entirely from the project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU custom entry</title><link>https://devzone.nordicsemi.com/thread/106354?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2017 15:41:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a687876c-30f5-4a02-9e28-c60ad0b06391</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Josef,&lt;/p&gt;
&lt;p&gt;To enter bootloader, you simply need to write to bootloader setting a flag&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;.enter_buttonless_dfu = true;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This is done in enter_bootloader() function.  After that you can wait for the flash completed event to disconnect the connection and then when the connection is disconnected (BLE_GAP_EVT_DISCONNECTED) you trigger a soft reset         NVIC_SystemReset();
.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;UPDATE: This is only applied for SDK v12 and SDK v13 alpha.&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>