<?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 single bank SDK11</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73250/buttonless-dfu-single-bank-sdk11</link><description>Hi, 
 I want to add DFU to our board running SDK11 S130 but facing some problems. 
 I followed the instructions on infocenter, and started with ble_app_hrs example (from here ). Below are the steps I tried: 
 1. Compile project dfu_dual_bank_ble_s130_pca10028</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Apr 2021 16:57:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73250/buttonless-dfu-single-bank-sdk11" /><item><title>RE: Buttonless DFU single bank SDK11</title><link>https://devzone.nordicsemi.com/thread/303285?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 16:57:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a36a5c00-acc9-479b-a422-8c8cd3987da2</guid><dc:creator>sonnyz</dc:creator><description>&lt;p&gt;Yes, so far so good! thank you for the help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU single bank SDK11</title><link>https://devzone.nordicsemi.com/thread/303279?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 16:17:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8156bda1-7adf-404d-af99-767e15638e61</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sonny,&lt;/p&gt;
&lt;p&gt;Glad to hear. I assume that everything is good now ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU single bank SDK11</title><link>https://devzone.nordicsemi.com/thread/303198?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 13:44:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:254c3d0b-e65a-4378-b0ff-3f567d57b8f2</guid><dc:creator>sonnyz</dc:creator><description>&lt;p&gt;Thank you Hung for the reply! Regarding the connection issue, probably it&amp;nbsp;caused by using a wrong version of nrfutil. After making the file with version 0.3.0, it not happen anymore.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU single bank SDK11</title><link>https://devzone.nordicsemi.com/thread/303060?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 09:37:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1be1d7ec-45e6-493e-b2d8-41f4e3ad00ce</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sonny,&amp;nbsp;&lt;br /&gt;&amp;quot;DFUTarg&amp;quot; only appear right after the Nordic_HRM switches to the bootloader. This period may last only a few ms as the bootloader will be connected by the phone immediately after&amp;nbsp;advertising.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How often do you experience the issue that the device hang ? Could you get any logging from the device to check at which stage it&amp;#39;s stuck ? After the power reset would it run the old firmware or the new firmware ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To debug this the best way is to add some logging in the bootloader to check if it stuck at any stage.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The reason nRF Connect on PC doesn&amp;#39;t work could be that the support for legacy DFU is removed. I will need to check with the team on this.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU single bank SDK11</title><link>https://devzone.nordicsemi.com/thread/302473?ContentTypeID=1</link><pubDate>Mon, 29 Mar 2021 21:51:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:736ea26a-5664-4a25-ac16-3f72108b129b</guid><dc:creator>sonnyz</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;Now I&amp;#39;m able to perform DFU by the same process I described above with nRF Connect mobile (desktop app still&amp;nbsp;not working).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What make me confused is that I have never seen &amp;quot;&lt;span&gt;DfuTarg&amp;quot; was advertised during the DFU process as described &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fbledfu_example_running.html&amp;amp;anchor=bledfu_example_running_program"&gt;here.&lt;/a&gt;&amp;nbsp;And it also happened a few times that when the connection between the app and the device was lost, I found the device neither advertise as &amp;quot;Nordic_HRM&amp;quot; nor as &amp;quot;DfuTarg&amp;quot;, and I know it&amp;#39;s not bricked since the LED is still lit. So the only thing to make&amp;nbsp;the device advertise again is a power reset. While for a buttonless application this is not practical.&amp;nbsp;How to deal with this situation?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks again!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU single bank SDK11</title><link>https://devzone.nordicsemi.com/thread/302248?ContentTypeID=1</link><pubDate>Sat, 27 Mar 2021 21:58:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ae93434-8b4f-4d7f-a3ac-93cf8980b855</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sonny,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From what you described the DFU buttonless should work.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Could you try to debug the application and check if it asserts ?&amp;nbsp;&lt;br /&gt;When you execute a write 0x0104 (note that you may need to write 0401 as the endianess is&amp;nbsp;little endian. )&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;You can add a break point inside&amp;nbsp;ble_dfu_on_ble_evt() in ble_dfu.c and check the&amp;nbsp;BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST event to see if the command is parse correctly.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>