<?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>DFU failed while using nRFConnect android app to update my device.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105294/dfu-failed-while-using-nrfconnect-android-app-to-update-my-device</link><description>Hi Nordic team, 
 I want to update firmware with nRFConnect android app, it only sometimes works, most time it fails re-connecting when device is advertising &amp;#39;DfuTarg&amp;#39; 
 I am using sdk12.3.0, s130_nrf51_2.0.1_softdevice, project is based on example project</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Nov 2023 11:49:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105294/dfu-failed-while-using-nrfconnect-android-app-to-update-my-device" /><item><title>RE: DFU failed while using nRFConnect android app to update my device.</title><link>https://devzone.nordicsemi.com/thread/453948?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2023 11:49:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab698791-d208-48e6-aaa1-a0c4415272f7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Bob,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to test on other phone ? Could you let us know the NRF Connect version ?&amp;nbsp;&lt;br /&gt;We do the adv address change to +1 to avoid that the phone would have bonded with the device and will try to re-encrypt the link with the bootloader.&amp;nbsp;&lt;br /&gt;The app supposed to automatically scan and connect to the +1 address. So I&amp;#39;m not sure why it&amp;#39;s failed.&amp;nbsp;&lt;br /&gt;If you want you can remove the feature to +1 the address in the&amp;nbsp;gap_address_change() function in nrf_ble_dfu.c file.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU failed while using nRFConnect android app to update my device.</title><link>https://devzone.nordicsemi.com/thread/453821?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 16:26:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e280baad-0c76-4a05-be0f-74c7d6ee0a13</guid><dc:creator>bob</dc:creator><description>&lt;p&gt;It is the same error (connection timeout) when dfu-flashing softdevice by nRFConnect.&lt;/p&gt;
&lt;p&gt;But I found it is advertising with name &amp;#39;DfuTarg&amp;#39; and MAC address increased by 1,&amp;nbsp; &amp;nbsp;and the log message tells that nRFConnect app is trying to connect the same address. So connection timeout. I connect &amp;#39;DfuTarg&amp;#39; and DFU again, it succeed. Bootloader+Softdevice+Application all are flashed.&lt;/p&gt;
&lt;p&gt;It is very strange that in the past days we can DFU well, but now always connection timeout.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU failed while using nRFConnect android app to update my device.</title><link>https://devzone.nordicsemi.com/thread/453746?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 13:37:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:befe04f4-c39a-4c57-b3d0-76c8c25eb560</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Bob,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to do the test by only flash&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Softdevice + unmodified Bootloader&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And then you do DFU update. Would it work&amp;nbsp; ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;If it doesn&amp;#39;t work, please try to capture a&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt; sniffer trace&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;What I&amp;#39;m seeing in the log is &amp;quot;Connection timeout&amp;quot; error. Have you tried to test on a NRF5 devkit ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>