<?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>regarding to buttonless DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24737/regarding-to-buttonless-dfu</link><description>Hi, 
 I have tried buttonless DFU in SDK 12, for which I have a few questions 
 (1) Is bootloader not needed if I use Buttonless DFU Template Application? However, SoftDevice is still required. 
 (2) I have to combine my own application with the Buttonless</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Sep 2017 07:50:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24737/regarding-to-buttonless-dfu" /><item><title>RE: regarding to buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/97432?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 07:50:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87bae1a9-2ae3-44c6-a962-cafb28e6c2e2</guid><dc:creator>djqtsg</dc:creator><description>&lt;p&gt;APP:INFO:Indication for BLE_DFU is enabled&lt;/p&gt;
&lt;p&gt;that&amp;#39;s the only message I saw in UART log.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: regarding to buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/97431?ContentTypeID=1</link><pubDate>Thu, 07 Sep 2017 13:38:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2968874-f52f-4527-9f13-0ab286a106a1</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;From the nRF Connect log I see that you are successfully putting the target in DFU mode (as notifications are successfully enabled on the DFU control point characteristic) but then it stops.&lt;/p&gt;
&lt;p&gt;What does the log say from the DFU target?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: regarding to buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/97430?ContentTypeID=1</link><pubDate>Mon, 04 Sep 2017 07:22:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0df50f1e-f1b3-4f64-bedf-0350c5f3ec11</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please edit your question and attach the file in&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: regarding to buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/97424?ContentTypeID=1</link><pubDate>Mon, 04 Sep 2017 04:42:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6d44610-7093-431a-bc8a-b05f07201953</guid><dc:creator>djqtsg</dc:creator><description>&lt;p&gt;I have drafted a word file with detailed steps.  How can I upload it here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: regarding to buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/97428?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 15:20:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4df770b8-6fb9-4a32-b88e-9cddbf6001e0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;When you want to share a link from info center, it&amp;#39;s a bit tricky that you need to right click on the bookmarks on the left hand side and copy the link, not by copy the URL bar on the top. If you click you link you share above it&amp;#39;s not possible to know which guide you followed.&lt;/p&gt;
&lt;p&gt;Btw, have you flashed the bootloader when you test buttonless ?&lt;/p&gt;
&lt;p&gt;Please list your steps when you test.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: regarding to buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/97427?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 10:18:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fdaccf3-2a89-4f2a-af84-8de895658ffa</guid><dc:creator>djqtsg</dc:creator><description>&lt;p&gt;D 17:46:50.052 [DFU] gatt.setCharacteristicNotification(8e400001-f315-4f60-9fb8-838830daea50, true)
D 17:46:50.052 [DFU] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x01-00)
I 17:46:50.204 [DFU] Data written to descr.8e400001-f315-4f60-9fb8-838830daea50, value (0x): 01-00
V 17:46:50.204 [DFU] Notifications enabled for 8e400001-f315-4f60-9fb8-838830daea50
A 17:46:50.204 [DFU] Notifications enabled
D 17:46:50.204 [DFU] wait(1000)
V 17:46:51.156 [DFU] Writing to characteristic 8e400001-f315-4f60-9fb8-838830daea50
D 17:46:51.156 [DFU] gatt.writeCharacteristic(8e400001-f315-4f60-9fb8-838830daea50)&lt;/p&gt;
&lt;p&gt;the uploading just stuck there, never got finished&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: regarding to buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/97426?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 10:18:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:733e9702-b642-49a7-be55-7bab96e53a4c</guid><dc:creator>djqtsg</dc:creator><description>&lt;p&gt;by following this (&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk%2Fdita%2Fsdk%2Fnrf5_sdk.html)"&gt;infocenter.nordicsemi.com/index.jsp&lt;/a&gt;, I made a step further:&lt;/p&gt;
&lt;p&gt;Please see the log msg of nRF Connect:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;V 17:46:48.165 [DFU] Connecting to DFU target...
 D 17:46:48.231 [DFU] gatt = device.connectGatt(autoConnect = false)
 I 17:46:48.534 [DFU] Connected to C1:17:F7:AF:0C:7C
 V 17:46:48.534 [DFU] Discovering services...
 D 17:46:48.534 [DFU] gatt.discoverServices()
 D 17:46:48.534 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
 I 17:46:49.014 [DFU] Services discovered
 D 17:46:49.039 [DFU] wait(1000)
 W 17:46:50.052 [DFU] Application with buttonless update found
 V 17:46:50.052 [DFU] Jumping to the DFU Bootloader...
 V 17:46:50.052 [DFU] Enabling notifications for 8e400001-f315-4f60-9fb8-838830daea50
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: regarding to buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/97425?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 10:13:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00743556-0105-48d4-9733-00eeb4515a88</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please click the link i pointed to on the comment above, about step 6 in testing section.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: regarding to buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/97420?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 09:14:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b6f57fd-8dd1-4e79-957b-acee6974fe4e</guid><dc:creator>djqtsg</dc:creator><description>&lt;p&gt;sorry, which document, your blog?&lt;/p&gt;
&lt;p&gt;In your blog, it is mentioned how buttonless DFU is implemented (bootloader_start() in ble_dfu.c file). However, I even cannot find that function in ble_dfu.c file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: regarding to buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/97421?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 08:48:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbcea714-f11c-422f-8968-9aedcdff4253</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please read the documentation ! It&amp;#39;s right there on the left handside when you click the link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: regarding to buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/97423?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 07:39:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cbbe5fb-f544-47c7-ad2e-52641358a92e</guid><dc:creator>djqtsg</dc:creator><description>&lt;p&gt;OK. I see.&lt;/p&gt;
&lt;p&gt;But it&amp;#39;s buttonless, isn&amp;#39;t it? How to switch without button?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: regarding to buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/97422?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 07:28:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7d10bb3-c44f-4f0f-af29-b03dfee72ca3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You hold button 4 on the DK and press reset. Have a look at step 6 in the Testing section &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/ble_sdk_app_dfu_bootloader.html?cp=4_0_0_4_3_0"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: regarding to buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/97429?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 06:10:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fde8f241-e7da-4879-aa96-c539ce640922</guid><dc:creator>djqtsg</dc:creator><description>&lt;p&gt;HI Hung,&lt;/p&gt;
&lt;p&gt;I&amp;#39; followed your blog to try DFU. I have encountered problem:&lt;/p&gt;
&lt;p&gt;Before DFU, device shows &amp;quot;DfuTarg&amp;quot; during BLE scan; device was loaded with bootloader (bootloader_secure), and app (experimental_ble_app_buttonless_dfu) through Keil; SoftDevice through nRFStudio.&lt;/p&gt;
&lt;p&gt;once I used DFU to flash an application zip file(experimental_ble_app_buttonless_dfu) into HW, it becomes &amp;quot;Nordic_Template&amp;quot;, for which I cannot do DFU anymore. How to switch between &amp;quot;Nordic_Template&amp;quot; and &amp;quot;DfuTarg&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: regarding to buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/97419?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 17:26:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbabfb57-96cd-40f4-8486-28ec5c99e894</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Your understanding is correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: regarding to buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/97418?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2017 09:51:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34a86e74-23c3-4cf7-a14b-0f839335acfc</guid><dc:creator>djqtsg</dc:creator><description>&lt;p&gt;after reading through the online document, I have come to know that&lt;/p&gt;
&lt;p&gt;(1) bootloader is needed&lt;/p&gt;
&lt;p&gt;(2) I can add Buttonless Secure DFU Service to my application to achieve buttonless DFU.&lt;/p&gt;
&lt;p&gt;Following this &lt;a href="https://devzone.nordicsemi.com/question/106247/secure-dfu-bootloader-application-not-starting/"&gt;link&lt;/a&gt;, I managed to let the device reboot from &amp;quot;Nordic_Template&amp;quot; app to bootloader mode &amp;quot;DfuTarg&amp;quot;.&lt;/p&gt;
&lt;p&gt;The tick is that we need to add&lt;/p&gt;
&lt;p&gt;char_md.char_props.write  = 1;&lt;/p&gt;
&lt;p&gt;in ble_dfu.c () as discussed in &lt;a href="https://devzone.nordicsemi.com/question/93414/sdk12-ble_app_buttonless_dfu/"&gt;here&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>