<?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>Transfert the firmware update from the PC with the library pc-nrf-dfu-js.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47202/transfert-the-firmware-update-from-the-pc-with-the-library-pc-nrf-dfu-js</link><description>Hi, 
 
 Here is my setup, NRF52832 PCA10040 s132, sdk 13.0.0. 
 I work on Windows 10 with a server (The aim is to do it from a Raspberry later) which one is connected to my sensors with BLE. 
 
 I am trying to transfert the firmware update from the PC</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Jul 2019 09:16:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47202/transfert-the-firmware-update-from-the-pc-with-the-library-pc-nrf-dfu-js" /><item><title>RE: Transfert the firmware update from the PC with the library pc-nrf-dfu-js.</title><link>https://devzone.nordicsemi.com/thread/196456?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2019 09:16:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ce06d09-937f-4e25-9c99-3391a8418cd0</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, that is correct. All of our PC tools uses an nRF device for BLE connectivity. If you need to do DFU using the native BLE drivers on the PC then I am afraid you will have to write the DFU implementation yourself.&lt;/p&gt;
&lt;p&gt;In addition to the PC tools we provide DFU applications for iOS and Android.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfert the firmware update from the PC with the library pc-nrf-dfu-js.</title><link>https://devzone.nordicsemi.com/thread/186781?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 16:13:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97123ca3-7557-41ad-8bfe-9c97d7185cc0</guid><dc:creator>Lenan</dc:creator><description>&lt;p&gt;As I understood, with nrfutil in order to do a DFU over BLE we need a NRF5 development kit board connected to the PC, which one will transfert the package to another NRF52382....&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfert the firmware update from the PC with the library pc-nrf-dfu-js.</title><link>https://devzone.nordicsemi.com/thread/186777?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 15:18:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b316705e-9c53-4c62-a292-011de774220f</guid><dc:creator>Lenan</dc:creator><description>&lt;p&gt;Hi Terje,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have also tried to use pc-nrfutil on windows.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I want to precise my aim : I want to update the firmware present on PC to a remote sensor over the air in BLE.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Nrfutil prompt a message that &amp;quot;No Segger USB CDC ports found, please connect your board.&amp;quot;. Why is it asking for Segger USB while I want to use BLE connectivity to transfert the firmware ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Alan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfert the firmware update from the PC with the library pc-nrf-dfu-js.</title><link>https://devzone.nordicsemi.com/thread/186725?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 13:12:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f411051b-f573-4fbd-9f2a-6948457700a6</guid><dc:creator>Lenan</dc:creator><description>&lt;p&gt;Hi Terje, thank you for answer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m going to try with pc-nrfutil, because it would be a big job to integrate the pc-ble-driver-js in our workspace.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m working with SDK13, it should be ok.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Still I don&amp;#39;t understand why it&amp;#39;s said that pc-nrf-dfu-js is not made with BLE in mind whereas it contains the class DfuTransportNoble for BLE and I can still transfer init packets and some firmware packets... Where is the limit of use ? Does the implementation of BLE is not functionnal in this library ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;About pc-nrfutil, I can&amp;#39;t install it on RPI (OS 32bits), is it compatible with 32 bits ?&amp;nbsp; I got this error :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;RuntimeError: Could not load shared library /usr/local/lib/python2.7/dist-packages/pc_ble_driver_py/lib/linux/x86_32/libpc_ble_driver_shared_sd_api_v3.so : &amp;#39;/usr/local/lib/python2.7/dist-packages/pc_ble_driver_py/lib/linux/x86_32/libpc_ble_driver_shared_sd_api_v3.so: cannot open shared object file: No such file or directory&amp;#39;.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Regards.&lt;/p&gt;
&lt;p&gt;Alan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfert the firmware update from the PC with the library pc-nrf-dfu-js.</title><link>https://devzone.nordicsemi.com/thread/186674?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 11:40:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e655fc4f-8096-46b5-bec2-f83992fc9674</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-nrf-dfu-js"&gt;pc-nrf-dfu-js&lt;/a&gt; is not made with BLE in mind.&lt;/p&gt;
&lt;p&gt;For BLE DFU you can use the BLE DFU functionality in &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-js"&gt;pc-ble-driver-js&lt;/a&gt;. That one is used by nRF Connect for Desktop, for BLE DFU. Please note that it only supports Secure DFU (nRF5 SDK v12 and newer.) If you need buttonless DFU with bonding then you must store the bonding data yourself as it is not handled automatically by the module.&lt;/p&gt;
&lt;p&gt;Another alternative is &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil"&gt;pc-nrfutil&lt;/a&gt;, which you should be able to run from an RPi.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfert the firmware update from the PC with the library pc-nrf-dfu-js.</title><link>https://devzone.nordicsemi.com/thread/186605?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 09:07:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4feb8adb-079e-4f5f-9761-e107b6bfe996</guid><dc:creator>Lenan</dc:creator><description>&lt;p&gt;1) Then I tried to transfert the firmware update from the Raspberry using&amp;nbsp;the integrated Bluetooth of the rasp and the same library pc-nrf-dfu-js and I could transfert&amp;nbsp;many more packets (until around 1900 bytes) then it stopped suddenly as previously, but without error. (I&amp;#39;m using MobaXterm as terminal)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) Then I&amp;nbsp;have tried to transfert the firmware update zip from the PC with Bluetooth dongle and the Web Bluetooth Secure DFU&amp;nbsp;&lt;a href="https://thegecko.github.io/web-bluetooth-dfu/examples/web.html"&gt;https://thegecko.github.io/web-bluetooth-dfu/examples/web.html&lt;/a&gt;&amp;nbsp;where I drop the zip file onine and it does the transfert automatically.&lt;/p&gt;
&lt;p&gt;The update completed successfully, it works fine in the case of online procedure with their library, but I can&amp;#39;t use this solution because I have to use the library pc-nrf-dfu-ps already in place in the workspace&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>