<?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>Issue in nrfutil to execute thread DFU on raspberry Pi3</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55593/issue-in-nrfutil-to-execute-thread-dfu-on-raspberry-pi3</link><description>Hello, 
 I am using &amp;quot;nRF5_SDK_for_Thread_and_Zigbee_v3.1.0_c7c4730&amp;quot; for NCP as well as other thread devices. nrfutil version: 5.2.0 RPI3 image: RaspPi_OT_Border_Router_Demo_v3.1.0-1.alpha.img 
 I am using nRF52840 dongle for NCP device which i attach</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Mar 2021 17:04:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55593/issue-in-nrfutil-to-execute-thread-dfu-on-raspberry-pi3" /><item><title>RE: Issue in nrfutil to execute thread DFU on raspberry Pi3</title><link>https://devzone.nordicsemi.com/thread/300768?ContentTypeID=1</link><pubDate>Thu, 18 Mar 2021 17:04:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b70dd39-5825-4f06-b85c-2221f4290e38</guid><dc:creator>AS_Kalpa</dc:creator><description>&lt;p&gt;Hi Jadeja!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m facing the same issue, I&amp;#39;d like to use a nrf52 dongle as DFU server.&lt;/p&gt;
&lt;p&gt;Can you share your solution?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue in nrfutil to execute thread DFU on raspberry Pi3</title><link>https://devzone.nordicsemi.com/thread/229183?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2020 10:18:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2012396-b065-44aa-beff-dadbb255d65f</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For future reference the installation steps for PC-BLE-Driver can be found here:&amp;nbsp; &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver"&gt;https://github.com/NordicSemiconductor/pc-ble-driver&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But it&amp;#39;s also possible to use the pre-builded pc-ble-driver, and then you will not need to compile it yourself. Take a look at this guide here for the steps: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52871/building-the-examples-in-pc-ble-driver-from-scratch/213557#213557"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/52871/building-the-examples-in-pc-ble-driver-from-scratch/213557#213557&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue in nrfutil to execute thread DFU on raspberry Pi3</title><link>https://devzone.nordicsemi.com/thread/227154?ContentTypeID=1</link><pubDate>Wed, 01 Jan 2020 07:58:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a83b5dae-168b-44cf-b3ce-4f8956f494a1</guid><dc:creator>Jadeja</dc:creator><description>&lt;p&gt;Hello Marjeris,&lt;/p&gt;
&lt;p&gt;I have implemented the secure DFU over Thread network using my custom server-client which does not require to disturb the existing network set-up.&lt;/p&gt;
&lt;p&gt;Most importantly it doesn&amp;#39;t require NRF52840 devkit (J-TAG) to be used instead i have used nRF52840 dongle.&lt;/p&gt;
&lt;p&gt;It will be great if you can share PC-BLE-Driver installation steps for other users, who will face issue in future.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue in nrfutil to execute thread DFU on raspberry Pi3</title><link>https://devzone.nordicsemi.com/thread/226806?ContentTypeID=1</link><pubDate>Tue, 24 Dec 2019 11:54:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d999cdf-cdc6-4f6b-9e7c-c12b655652b3</guid><dc:creator>Jadeja</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello&amp;nbsp;&lt;/span&gt;&lt;span&gt;Marjeris&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Any Update on this ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue in nrfutil to execute thread DFU on raspberry Pi3</title><link>https://devzone.nordicsemi.com/thread/226658?ContentTypeID=1</link><pubDate>Sat, 21 Dec 2019 09:52:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80bff4dd-7bb7-420c-858b-cbdf9c01de5a</guid><dc:creator>Jadeja</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;Marjeris&lt;/span&gt;,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;I have replaced my set-up with nRF52840 devkit, but now i am getting pc-ble-driver error while using with Raspberry-pi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am able to start the ota from my linux PC. I guess now issue is PC-BLE-DRIVER version and it is proper installation.&lt;/p&gt;
&lt;p&gt;Please see the log :&lt;pre class="ui-code" data-mode="text"&gt;pi@raspberrypi:~ $ nrfutil dfu thread -pkg app_dfu_package.zip -p /dev/ttyACM1 --channel 24 --panid 4396
Traceback (most recent call last):
  File &amp;quot;/usr/local/bin/nrfutil&amp;quot;, line 6, in &amp;lt;module&amp;gt;
    from pkg_resources import load_entry_point
  File &amp;quot;/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py&amp;quot;, line 3251, in &amp;lt;module&amp;gt;
    @_call_aside
  File &amp;quot;/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py&amp;quot;, line 3235, in _call_aside
    f(*args, **kwargs)
  File &amp;quot;/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py&amp;quot;, line 3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File &amp;quot;/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py&amp;quot;, line 585, in _build_master
    return cls._build_from_requirements(__requires__)
  File &amp;quot;/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py&amp;quot;, line 598, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File &amp;quot;/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py&amp;quot;, line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The &amp;#39;pc_ble_driver_py&amp;gt;=0.14.0&amp;#39; distribution was not found and is required by nrfutil
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Can you share the steps to install the PC-BLE-Driver into raspberry pi. I have asked it in my first post.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue in nrfutil to execute thread DFU on raspberry Pi3</title><link>https://devzone.nordicsemi.com/thread/226642?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 18:00:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ea5626d-9b43-45ea-9544-df1249479654</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Jadeja,&lt;/p&gt;
&lt;p&gt;Yes, you need to use the nRF52840 DK for using &amp;#39;nrfutil dfu thread&amp;#39;, because the nrfutil needs to flash the connectivity software to the IC (which is not the same code as the NCP example under&amp;nbsp;SDK/examples/thread/ncp/ftd/usb/hex) and it does this using the JLink onboard debugger.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue in nrfutil to execute thread DFU on raspberry Pi3</title><link>https://devzone.nordicsemi.com/thread/226617?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 14:50:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:403eaae5-662e-4410-8c08-447044d217cf</guid><dc:creator>Jadeja</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;Marjeris,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is there any update?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue in nrfutil to execute thread DFU on raspberry Pi3</title><link>https://devzone.nordicsemi.com/thread/226042?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2019 08:47:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fd0d8c3-9da0-4fa0-bff3-9c602c1e9e18</guid><dc:creator>Jadeja</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;Marjeris&lt;/span&gt;,&lt;/p&gt;
&lt;p&gt;Thanks for the response.&lt;/p&gt;
&lt;p&gt;Yes i am using unmodified NCP&amp;nbsp;hex (Path/To/SDK/examples/thread/ncp/ftd/usb/hex/nrf52840_xxaa_mbr_pca10059.hex)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;for nRF52840 Dongle PCA10059&amp;nbsp;&lt;strong&gt;(NCP device)&lt;/strong&gt; with RPI to act as NCP host.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt;&amp;nbsp;&lt;strong&gt;is it necessary to use only devkit as a NCP for the OTA?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I do not require to do the OTA in the NCP itself. I just wanted to perform the OTA of other nodes in the network.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Question: Do i still need to integrate DFU code in NCP ?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have taken exactly the same example&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v3.2.0/thread_example_dfu.html?cp=6_3_2_10_4_0"&gt;Thread Secure OTA DFU example&lt;/a&gt;&amp;nbsp;you are talking about for the Thread &lt;strong&gt;DFU client.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Just for a note I faced many issues installing pc-ble-driver on RPI3 which i resolved somehow but it was very tricky. Any set-up guide will be helpful for future set-up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue in nrfutil to execute thread DFU on raspberry Pi3</title><link>https://devzone.nordicsemi.com/thread/225954?ContentTypeID=1</link><pubDate>Tue, 17 Dec 2019 16:03:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:258b3838-7346-4886-b493-b9570c8adba8</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. Are you running the unmodified NCP code from the SDK examples? I am afraid this example does not include any DFU code.&lt;/p&gt;
&lt;p&gt;Take a look at the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v3.2.0/thread_example_dfu.html?cp=6_3_2_10_4_0"&gt;Thread Secure OTA DFU example&lt;/a&gt; if you want to test Thread DFU. You will need a nRF52840 DK to run the DFU server using nrfutil.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>