<?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>command line nrfutil dfu ble</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22327/command-line-nrfutil-dfu-ble</link><description>I am attempting to do a BLE firmware update via command line tools in an attempt to automate programming in a script file. I have zero problems performing an over the air dfu when using nRF Connect, but I can never seem to connect to my custom board when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Jul 2017 14:18:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22327/command-line-nrfutil-dfu-ble" /><item><title>RE: command line nrfutil dfu ble</title><link>https://devzone.nordicsemi.com/thread/87780?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 14:18:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa31c54b-00fd-4eda-b961-e346982526eb</guid><dc:creator>Cyril</dc:creator><description>&lt;p&gt;nrfutil is not found as sudo. I also added full access to /dev/ttyACM0 to verify but nothing changed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: command line nrfutil dfu ble</title><link>https://devzone.nordicsemi.com/thread/87786?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 13:57:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d7c628f-3ce9-4c0a-9f39-cff7986c3ab5</guid><dc:creator>pbirkner</dc:creator><description>&lt;p&gt;I have tried running as an administrator in the windows command prompt and it makes no difference.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: command line nrfutil dfu ble</title><link>https://devzone.nordicsemi.com/thread/87781?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 11:52:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e14b4359-f851-4536-a60d-3533c3561d69</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Could be a stupid question, but are you running as sudo?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: command line nrfutil dfu ble</title><link>https://devzone.nordicsemi.com/thread/87785?ContentTypeID=1</link><pubDate>Mon, 10 Jul 2017 07:10:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e3bebef-25ca-4c64-bed5-cce5adf0e958</guid><dc:creator>Cyril</dc:creator><description>&lt;p&gt;Here are the last lines regarding the error. We noticed also that we have the same error on a Raspberry Pi when we use two times pc-ble-driver using a different python script (nrfutil and a custom script we made). We need to unplug and plug the nRF52-DK board to make it work.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;  File &amp;quot;/home/fouge/.local/lib/python2.7/site-packages/nrfutil-3.2.0-py2.7.egg/nordicsemi/dfu/dfu_transport_ble.py&amp;quot;, line 87, in open
    self.adapter.driver.open()
  File &amp;quot;/home/fouge/.local/lib/python2.7/site-packages/pc_ble_driver_py-0.9.1-py2.7.egg/pc_ble_driver_py/ble_driver.py&amp;quot;, line 126, in wrapper
    raise NordicSemiException(&amp;#39;Failed to {}. Error code: {}&amp;#39;.format(wrapped.__name__, err_code))
pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: 13
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: command line nrfutil dfu ble</title><link>https://devzone.nordicsemi.com/thread/87784?ContentTypeID=1</link><pubDate>Fri, 07 Jul 2017 14:38:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a1dc857-d61a-4c82-a413-9ba84a7de942</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;There are no known issues with nrfutil and linux distros as far as I knnow. I am afraid that I am out of ideas, could you attach the output of nrfutil v3.1.0?I&amp;#39;ll then discuss this issue with the developer responsible  for nrfutil.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: command line nrfutil dfu ble</title><link>https://devzone.nordicsemi.com/thread/87776?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2017 08:48:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e0633e9-495a-4f74-ad6c-f1a1a4b46d7b</guid><dc:creator>Cyril</dc:creator><description>&lt;p&gt;Any update?
I removed every nrfutil/pc_ble_driver related stuff from my computer, then installed nrfutil (3.1.0) from scratch and I always get the same error: &lt;code&gt;Failed to open. Error code: 13&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The error is raised in pc_ble_driver_sd_api_vx.py::sd_rpc_open.&lt;/p&gt;
&lt;p&gt;I call: &lt;code&gt;nrfutil dfu ble -ic NRF52 -pkg hex/dfu_release_v2.1.1.zip -p /dev/ttyACM0 -n &amp;quot;EQS_BL20&amp;quot; -f&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: command line nrfutil dfu ble</title><link>https://devzone.nordicsemi.com/thread/87777?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2017 08:51:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12cc2d99-bb0e-4d2d-a6b0-54202e4320a3</guid><dc:creator>Cyril</dc:creator><description>&lt;p&gt;I did this a few times without sucess. Do I need to install pc-ble-driver from source also?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: command line nrfutil dfu ble</title><link>https://devzone.nordicsemi.com/thread/87788?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2017 15:04:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:218bf006-72cf-4373-bb6b-e3a4f6384ce0</guid><dc:creator>pbirkner</dc:creator><description>&lt;p&gt;I&amp;#39;ve tried running this on every nrfutil.exe release on windows with no luck, v2.3.0 included. Same problem trying to run from sources on Ubuntu.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: command line nrfutil dfu ble</title><link>https://devzone.nordicsemi.com/thread/87778?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2017 08:11:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2720103-8df8-4ce6-a1d4-6130b9151df9</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;If you&amp;#39;re using a Linux distro, then you have to compile it from the source. Could you uninstall nrfutil using &lt;code&gt;pip uninstall nrfutil&lt;/code&gt;? Sometimes you have to run the command several times if you have had older versions of nrfutil installed. After uninstalling you should go through the &lt;em&gt;Running and installing from source&lt;/em&gt; steps in the nrfutil repo, found &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil"&gt;here&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: command line nrfutil dfu ble</title><link>https://devzone.nordicsemi.com/thread/87783?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2017 07:34:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e803d7a1-c376-49ff-ad85-3491c7f629b6</guid><dc:creator>Cyril</dc:creator><description>&lt;p&gt;Any idea for Linux distributions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: command line nrfutil dfu ble</title><link>https://devzone.nordicsemi.com/thread/87782?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2017 07:28:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bd54f71-dc7d-495d-a134-651a2a2df401</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;We&amp;#39;ve added a nrfutil.exe in the nrfutil v2.3.0 release, found &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil/releases/tag/v2.3.0"&gt;here&lt;/a&gt;. Could you try running that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: command line nrfutil dfu ble</title><link>https://devzone.nordicsemi.com/thread/87789?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 15:44:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13e3f0a8-1b12-4cc8-b1fa-8af09bf24cb5</guid><dc:creator>Cyril</dc:creator><description>&lt;p&gt;I can&amp;#39;t run any example from pc_ble_driver_py (advertising.py and heart_rate_collector.py) for the same reason.&lt;/p&gt;
&lt;p&gt;nRF Connect is working fine... but I need to run nrfutil...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: command line nrfutil dfu ble</title><link>https://devzone.nordicsemi.com/thread/87779?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 14:42:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a78ce4b-d89c-4621-bce5-6be609414239</guid><dc:creator>Cyril</dc:creator><description>&lt;p&gt;Same error here.
It flashed the connectivity firmware before the error.&lt;/p&gt;
&lt;p&gt;The issue seems to be pc_ble_driver_py called from nrfutil... I&amp;#39;ll keep you updated
(On Ubuntu 17.04)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: command line nrfutil dfu ble</title><link>https://devzone.nordicsemi.com/thread/87787?ContentTypeID=1</link><pubDate>Fri, 26 May 2017 09:38:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23047f35-2d6c-410a-be45-ab5ed88b128b</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Are you using a nRF52 DK as the device on the pc side?  Have you flashed the board on the pc side with the connectivity firmware? If not, then try adding the &lt;code&gt;-f&lt;/code&gt; option to flash the firmware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>