<?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 BLE DFU with non-ble apps.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57276/buttonless-ble-dfu-with-non-ble-apps</link><description>Hi, I am developing an IMU app communication with ESB. I would like to send to the board a command with ESB to put the nrf52832 board in BLE DFU mode. 
 I have look at the different methods for entering in DFU mode : 
 NRF_BL_DFU_ENTER_METHOD_BUTTON </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Feb 2020 17:11:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57276/buttonless-ble-dfu-with-non-ble-apps" /><item><title>RE: Buttonless BLE DFU with non-ble apps.</title><link>https://devzone.nordicsemi.com/thread/232909?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2020 17:11:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a93fca3-d173-4efc-85af-d4849d251a7e</guid><dc:creator>SL06</dc:creator><description>&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I could not get the line working, NRF_POWER-&amp;gt;GPREGRET = BOOTLOADER_DFU_START;&lt;/p&gt;
&lt;p&gt;there probably a header missing, but the following 2 line &amp;nbsp;works just fine after adding nrf_power.h to my program. &amp;nbsp;Thanks&lt;/p&gt;
&lt;p&gt;nrf_power_gpregret_set(0xB1);&lt;/p&gt;
&lt;p&gt;NVIC_SystemReset();&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless BLE DFU with non-ble apps.</title><link>https://devzone.nordicsemi.com/thread/232748?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2020 08:45:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc40f167-49cd-442d-8201-ea0bd2649498</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;&lt;span&gt;NRF_BL_DFU_ENTER_METHOD_GPREGRET is&amp;nbsp; the simplest method for buttonless DFU. &amp;#39;NRF_BL_DFU_ENTER_METHOD_BUTTONLESS&amp;#39; is supported, but not used by any of our examples anymore because it requires you to write to the bootloader settings page in flash.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless BLE DFU with non-ble apps.</title><link>https://devzone.nordicsemi.com/thread/232691?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2020 00:00:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:436c0519-ccef-4f9a-b3fd-b30361721cad</guid><dc:creator>SL06</dc:creator><description>&lt;p&gt;I will work on this tomorrow.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is this the simplest method ? &amp;nbsp;what about the&amp;nbsp;&lt;span&gt;NRF_BL_DFU_ENTER_METHOD_BUTTONLESS option ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I could not found any info on that one.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless BLE DFU with non-ble apps.</title><link>https://devzone.nordicsemi.com/thread/232353?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 13:47:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff6c42c7-0ec9-4d7f-86cd-3e7e7158c9ca</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You don&amp;#39;t have to port everything from the BLE buttonless example to make this work. All that it&amp;#39;s required is really to update the GREPREGRET register with the &amp;#39;BOOTLOADER_DFU_START&amp;#39; value, then do a reboot by calling NVIC_SystemReset()&lt;/p&gt;
&lt;p&gt;Something like this:&lt;/p&gt;
&lt;p&gt;//Call this when receiving dfu stat command from ESB,etc.&lt;/p&gt;
&lt;p&gt;enter_dfu_mode()&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;NRF_POWER-&amp;gt;GREPREGRET =&amp;nbsp;&amp;nbsp;BOOTLOADER_DFU_START&lt;/p&gt;
&lt;p&gt;NVIC_SystemReset();&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>