<?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>Update app+bootloader without bonds to with bond by dfu in single shoot.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46927/update-app-bootloader-without-bonds-to-with-bond-by-dfu-in-single-shoot</link><description>Hello, 
 
 we have working both dfu with and without bonds on SDK 15.3. 
 We started without bond and now we implemented with bonds and would like to update some boards we have distributed to other locations by dfu to the new app and new bootloader with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Dec 2019 13:09:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46927/update-app-bootloader-without-bonds-to-with-bond-by-dfu-in-single-shoot" /><item><title>RE: Update app+bootloader without bonds to with bond by dfu in single shoot.</title><link>https://devzone.nordicsemi.com/thread/224743?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2019 13:09:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30e6bbee-7454-4457-9b0f-893d5b3ce8f5</guid><dc:creator>Carlos</dc:creator><description>&lt;p&gt;Hi, sorry I finally didn&amp;#39;t implement this change because it was quite a time consuming issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update app+bootloader without bonds to with bond by dfu in single shoot.</title><link>https://devzone.nordicsemi.com/thread/217426?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 05:04:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcb339e6-b31d-42a8-ad01-7a973ef7c278</guid><dc:creator>inghowe83</dc:creator><description>&lt;p&gt;Hi There,&lt;/p&gt;
&lt;p&gt;I also facing the same issue. Mind explain more in details? I was trying to dfu update my unbonded bl + app to bonded bl + app in one go. But I notice the device only have app updated to bonded app while bl in the device still remain as unbonded, which cause my app not able to powerup&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update app+bootloader without bonds to with bond by dfu in single shoot.</title><link>https://devzone.nordicsemi.com/thread/186166?ContentTypeID=1</link><pubDate>Thu, 09 May 2019 12:00:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46e3139e-eb76-436d-b23c-b4066c50e875</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Carlos,&lt;/p&gt;
[quote user="ca.itech"]If I understood well, your suggestion is modify code depending on&amp;nbsp;&lt;span&gt;NRF_DFU_BLE_REQUIRES_BONDS inside nrf_dfu_ble-c and nrf_dfu_settings_svci.c to make it always available and choose one path or the other depending on current version, isn&amp;#39;t it?&lt;/span&gt;[/quote]
&lt;p&gt;&amp;nbsp;Yes, it was something like that I had in mind. I have not tried to implement this myself, but I don&amp;#39;t think there should be any problems with this approach. You only need to modify the bootloader for this.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update app+bootloader without bonds to with bond by dfu in single shoot.</title><link>https://devzone.nordicsemi.com/thread/185795?ContentTypeID=1</link><pubDate>Tue, 07 May 2019 15:50:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:512a2576-ed1d-4b5a-9334-27d28f223d26</guid><dc:creator>Carlos</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If I understood well, your suggestion is modify code depending on&amp;nbsp;&lt;span&gt;NRF_DFU_BLE_REQUIRES_BONDS inside nrf_dfu_ble-c and nrf_dfu_settings_svci.c to make it always available and choose one path or the other depending on current version, isn&amp;#39;t it?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Would it need also App side or only bootloader?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update app+bootloader without bonds to with bond by dfu in single shoot.</title><link>https://devzone.nordicsemi.com/thread/185618?ContentTypeID=1</link><pubDate>Tue, 07 May 2019 07:27:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e474c15-142c-44fd-a72b-c6f9de99a456</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Dear Carlos,&lt;/p&gt;
&lt;p&gt;I actually think it would be easier to make the bond requirement dynamic. The DFU controller would need to be modified as well to support BL+APP update in one go. I.e, replace&amp;nbsp;NRF_DFU_BLE_REQUIRES_BONDS with a global variable, version check, etc.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update app+bootloader without bonds to with bond by dfu in single shoot.</title><link>https://devzone.nordicsemi.com/thread/185495?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 12:37:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f008a962-50cd-4f3d-9360-0bf77fa5b2d1</guid><dc:creator>Carlos</dc:creator><description>&lt;p&gt;Dear Vidar,&lt;/p&gt;
&lt;p&gt;thank you for your quick reply.&lt;/p&gt;
&lt;p&gt;This is not for production devices so any method will work for me if can achive the update once of the board.&lt;/p&gt;
&lt;p&gt;I guess &amp;quot;allow update of BL+APP in one go&amp;quot; seems easy one... but can you guide me how to do it? If you can just tell me where is the key place (file, function, etc) to modify it will help me a lot!&lt;/p&gt;
&lt;p&gt;Thks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update app+bootloader without bonds to with bond by dfu in single shoot.</title><link>https://devzone.nordicsemi.com/thread/185473?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 11:56:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d10dc436-268d-493b-8c1e-63170887f97c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Carlos,&amp;nbsp;&lt;/p&gt;
[quote user=""]The problem is we must update both bootloader and app by dfu, when we try to update both (generate package with all boot+sd+app) it makes the first step 1/2 and disconnect and cannot connect again.[/quote]
&lt;p&gt;The bootloader will not start advertising if it doesn&amp;#39;t have the bonding information so the central will not be able to re-connect for the second part of the update in this case. A possible solution, as you said, is to modify the bootloader to allow update of BL+APP in one go. Or maybe find a&amp;nbsp;way to&amp;nbsp;make the bond requirement dynamic and disable it for just this update. E.g., allow connection without bonding if current&amp;nbsp;app_version stored in bootloader settings is an older version.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>