<?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>How to set up minimal version of nrfutil, needed just for DFU package creation??</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58663/how-to-set-up-minimal-version-of-nrfutil-needed-just-for-dfu-package-creation</link><description>I am setting up a build server that will take care of building our app for the nRF52 and creating the DFU files. For DFU package, I need nrfutil. 
 Everything is working fine in my Windows PC, but I need to replicate the setup in Linux (Ubuntu 10.04)</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Mar 2020 15:56:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58663/how-to-set-up-minimal-version-of-nrfutil-needed-just-for-dfu-package-creation" /><item><title>RE: How to set up minimal version of nrfutil, needed just for DFU package creation??</title><link>https://devzone.nordicsemi.com/thread/238366?ContentTypeID=1</link><pubDate>Thu, 05 Mar 2020 15:56:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d280b923-531a-4db3-906f-c7c4fbc646f9</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Not sure what happened then... The Ubuntu version you are using is quite old so maybe that may have something to do with it... I will need to dig a bit deeper to be sure, but thanks for reporting, it&amp;#39;s useful to know if we have other customers with the same issue &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set up minimal version of nrfutil, needed just for DFU package creation??</title><link>https://devzone.nordicsemi.com/thread/238267?ContentTypeID=1</link><pubDate>Thu, 05 Mar 2020 12:09:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5675c202-9342-46f3-bd5b-ef4e67ab0357</guid><dc:creator>TylerD</dc:creator><description>&lt;p&gt;Hi Marjeris,&lt;/p&gt;
&lt;p&gt;pip version should be fresh enough, just checked:&lt;/p&gt;
&lt;p&gt;pip --version&lt;br /&gt;pip 20.0.2 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)&lt;/p&gt;
&lt;p&gt;This is not a big issue for me because I currently only need the tool only for DFU package generation. In any case, if it does not install out of the box on Ubuntu 10.04 then I guess there are many other customers that may be scratching their heads with this same problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set up minimal version of nrfutil, needed just for DFU package creation??</title><link>https://devzone.nordicsemi.com/thread/238257?ContentTypeID=1</link><pubDate>Thu, 05 Mar 2020 11:52:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db09abc9-d7d5-419c-98ed-27358b394c8f</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Tyler,&lt;/p&gt;
&lt;p&gt;My guess is that the problem was related to the pip version, as pip needs to be &amp;gt;=19. When you updated pip which version did you update to? &lt;/p&gt;
&lt;p&gt;When you ran it manually afterwards you probably got an older pc-ble-driver-py version, which is not really compatible, but you will not notice until you use BLE DFU.&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: How to set up minimal version of nrfutil, needed just for DFU package creation??</title><link>https://devzone.nordicsemi.com/thread/237996?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2020 10:52:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9123455b-8f40-49c3-babe-c30b9efea890</guid><dc:creator>TylerD</dc:creator><description>&lt;p&gt;UPDATE: I was able to get the nrfutil working on my linux box,&amp;nbsp;but not sure what was the actual issue. Here&amp;#39;s the details:&lt;/p&gt;
&lt;p&gt;Previously, the setup script failed and threw an error as follows:&lt;/p&gt;
&lt;p&gt;error: Could not find suitable distribution for Requirement.parse(&amp;#39;pc_ble_driver_py&amp;gt;=0.14.1&amp;#39;)&lt;/p&gt;
&lt;p&gt;Then I removed the &lt;strong&gt;pc_ble_driver_py&lt;/strong&gt; line from the requirements.txt file and the setup completed, but program would not run. (Because the module could not be loaded at startup)&lt;/p&gt;
&lt;p&gt;Finally, I tried installing the module with command:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;pip install pc-ble-driver-py&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;And now I can run the nrfutil just fine. Problem solved, but curious to find out why it wasn&amp;#39;t&amp;nbsp;working&amp;nbsp;straight out of the box?&lt;/p&gt;
&lt;p&gt;One thing that caught my eye is the naming of the module: in the&amp;nbsp;requirements.txt it is with&amp;nbsp;underscores (pc_ble_driver_py) while the module that I installed manually uses hyphens (pc-ble-driver-py).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>