<?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>OTA DFU speed / Bonbed OTA DFU with nrfutil</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35102/ota-dfu-speed-bonbed-ota-dfu-with-nrfutil</link><description>I&amp;#39; m using the nRF51 Dongle (PCA10031) for the evaluation of the OTA DFU bootloaders of SDK15.0.0 with the NRF52840 PDK. Using the PC tool nRFConnect V2.3.2 with the App Bluetooth Low Energy V2.1.0 the download speed is much higher than using nrfutil</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Aug 2018 11:06:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35102/ota-dfu-speed-bonbed-ota-dfu-with-nrfutil" /><item><title>RE: OTA DFU speed / Bonbed OTA DFU with nrfutil</title><link>https://devzone.nordicsemi.com/thread/145283?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 11:06:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d501da2-227a-4a33-8ce5-291a87672f00</guid><dc:creator>roland.schenk</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The problem is not storing the private &amp;amp; public keys for the firmware signature and bootloader.&lt;/p&gt;
&lt;p&gt;The problem is that the pairing/bonding keys (IRK, LTK, ...) are stored in the Flash of the targed device by the peer manager. But on the PC side the nrfutil tool doesn&amp;#39;t save the&amp;nbsp;pairing/bonding keys (IRK, LTK, ...) and tries to perform a new pairing/bonding at each connect to the same targed device. This will be refused by the targed device, because there are already pairing/bonding keys (IRK, LTK, ...) stored from the previous pairing/bonding.&lt;/p&gt;
&lt;p&gt;Is there a solution to store pairing/bonding informations on the PC using nrfutil? Or is there a possibility to solve this problem in another way?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Roland&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU speed / Bonbed OTA DFU with nrfutil</title><link>https://devzone.nordicsemi.com/thread/136365?ContentTypeID=1</link><pubDate>Fri, 15 Jun 2018 12:42:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67f070ff-adb0-48a0-b509-aecbfe9946db</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>[quote user="roland.schenk"]I made an update of the application only. So there is no restriction to upload an application with same version.[/quote]
&lt;p&gt;I fully agree with this.&lt;/p&gt;
&lt;p&gt;If you generate a new public &amp;amp; private key combo, you need to rebuild the bootloader (&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;see link&lt;/a&gt;). The bootloader that is on your target device has been programmed with a public &amp;amp; private key &amp;amp; will only recognize a dfu from these keys. If you use a new private &amp;amp; public key, the old bootloader on the device will not acknowledge these new keys.&lt;/p&gt;
&lt;p&gt;My suggestion is to store the private &amp;amp; public keys on your computer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU speed / Bonbed OTA DFU with nrfutil</title><link>https://devzone.nordicsemi.com/thread/136343?ContentTypeID=1</link><pubDate>Fri, 15 Jun 2018 11:51:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:100888dd-1099-4638-ab13-6a53dc566c7c</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;It is unfortunately not possible to use pc_ble_driver_sd_api_v3 on the nrf51 dongle. The last version supported for the nrf51 is the v2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU speed / Bonbed OTA DFU with nrfutil</title><link>https://devzone.nordicsemi.com/thread/135725?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 11:34:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af9bf675-afd7-45cd-8adb-46a5421e5618</guid><dc:creator>roland.schenk</dc:creator><description>&lt;p&gt;To the second question about OTA DFU with a bonded device:&lt;br /&gt;I made an update of the application only. So there is no restriction to upload an application with same version.&lt;br /&gt;I think the problem is, that the pairing/bonding information is n&amp;#39; t stored on the PC using nrfutil for OTA DFU. In the target device the pairing/bonding infos are stored. If the PC nrfutil tries to pair the same target deviece a second time with a new key, it will fail.&lt;br /&gt;Is there a solution to store pairing/bonding informations on the PC using nrfutil?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU speed / Bonbed OTA DFU with nrfutil</title><link>https://devzone.nordicsemi.com/thread/135709?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 09:53:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47b881c1-0c8d-4992-9d31-14d0617fb42a</guid><dc:creator>roland.schenk</dc:creator><description>&lt;p&gt;To the question about OTA DFU upload speed:&lt;br /&gt;I have made some additional measurements for an application upload of 42KBytes:&lt;br /&gt;PC nRF Connect:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 45s&lt;br /&gt;PC nrfutil:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 60s&lt;br /&gt;Android nRF Connect&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; 6s&lt;/p&gt;
&lt;p&gt;With the nRF sniffer I observed the uploads and I have seen, that&amp;nbsp; PC nRF Connect always uses 10ms connction interval, and PC nrfutil uses 15ms connection interval, even if the max. connection interval is set t0 10ms.&lt;br /&gt;With nRF sniffer I have seen, that the real fast upload with the android nRF Connect is realized by setting the MTU size to 247. On PC nRF Connect and nrfutil this is not done.&lt;/p&gt;
&lt;p&gt;Looking at the python source code of nrfutil, I found in dfu_transport_ble.py that the MTU size is only increased if the nrf_sd_ble_api_ver is &amp;gt;= 3. In my case the pc_ble_driver_sd_api_v2 is used.&lt;/p&gt;
&lt;p&gt;How is it possible to use pc_ble_driver_sd_api_v3 with increased MTU size with nrfutil and the nRF51 Dongle (PCA10031)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU speed / Bonbed OTA DFU with nrfutil</title><link>https://devzone.nordicsemi.com/thread/134728?ContentTypeID=1</link><pubDate>Tue, 05 Jun 2018 12:13:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28124ff0-7e60-4a57-8a37-94e8f00a0f7e</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/29058/nrfutil-dfu-very-slow-compared-to-nrf-connect-dfu"&gt;This devzone cas&lt;/a&gt;e could be useful for you. As the last link &amp;amp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/16153/ble-dfu-via-pc-nrfutil-is-really-slow"&gt; this link&lt;/a&gt; state: the easiest solution is to lower the connection interval in the nrfutil code to increase the dfu speed.&lt;/p&gt;
&lt;p&gt;Regarding your second question, this should definitely be possible. Just beware that if you are updating the bootloader, you need to follow the validation rules posted under the subsection &amp;quot;Acceptance rules for version&amp;quot; in &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/lib_bootloader_dfu_validation.html?cp=4_0_0_3_5_1_1_2_1#lib_bootloader_dfu_init_validation_acceptance_rules"&gt;this link&lt;/a&gt;. The reason is that the new FW version needs to be &amp;gt; than old FW version for the bootloader. For the application, it is &amp;gt;=.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>