<?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>Run nrfutil dfu on a Raspberry Pi</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45345/run-nrfutil-dfu-on-a-raspberry-pi</link><description>Dear Community, 
 I am working on the following application: using the RaspberryPi to flash over-the-air nRF52 nodes (Nordic&amp;#39;s Secure DFU BLE bootloader) 
 For that I have connected a PCA10056 to a RPi3, and now I am trying to use nrfutil to flash the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Mar 2019 09:49:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45345/run-nrfutil-dfu-on-a-raspberry-pi" /><item><title>RE: Run nrfutil dfu on a Raspberry Pi</title><link>https://devzone.nordicsemi.com/thread/178868?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 09:49:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebc374b0-f310-4993-bad4-170a646d418e</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You can use the J-Link tools directly if you want to do operations on the chips from Raspberry Pi, they provide a &lt;a href="https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack"&gt;Linux ARM version of the J-Link software pack&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run nrfutil dfu on a Raspberry Pi</title><link>https://devzone.nordicsemi.com/thread/178800?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 22:49:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9c4e05b-fb83-41bc-8e41-7822f6a8cd99</guid><dc:creator>WineRex</dc:creator><description>&lt;p&gt;Please count me as one who would like to use nrfjprog on my RPi tester. We chose to use the RPi for our tester for its cost and size. Other chip manufacturers have provided command line utils for the RPi (ARM). You should too!&amp;nbsp; Thanks.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run nrfutil dfu on a Raspberry Pi</title><link>https://devzone.nordicsemi.com/thread/178764?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 16:11:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00eac769-3cf1-40d4-b6fc-b613659a8388</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Did you check if you have the pc-ble-driver directory in your cloned repo and that it actually contains any files? Git does not clone linked repos automatically unless you pass the &amp;#39;&lt;span&gt;--recursive&amp;#39; argument&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m currently not aware of any roadmaps to add support for ARM platforms to nrfjprog, I think this will depend on if the J-Link SDK will be supported on ARM.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run nrfutil dfu on a Raspberry Pi</title><link>https://devzone.nordicsemi.com/thread/178761?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 16:04:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bd02532-8141-445e-a894-97c2af51ce5c</guid><dc:creator>RedNodeLabs</dc:creator><description>&lt;p&gt;Yes, I checked out &lt;span&gt;pc-ble-driver-py @&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py/releases/tag/v0.11.4"&gt;v0.11.4&lt;/a&gt;&amp;nbsp;and found those issues&amp;nbsp;building from source.&lt;/p&gt;
&lt;p&gt;Are there any plans in your team or in your roadmap to support these nordic tools on ARM platforms?&lt;/p&gt;
&lt;p&gt;In my opinion, it would be a really nice-to-have feature for the community of developers working with your great nRF5 chips.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run nrfutil dfu on a Raspberry Pi</title><link>https://devzone.nordicsemi.com/thread/178675?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 13:09:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07d7cd56-a585-4144-a49c-baaec5df7361</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure exactly what cause the cmake error, looks like it cannot find the path or something. Did you clone the pc-ble-driver repository into the pc-ble-driver-py directory, and checkout the required commit/version?&lt;/p&gt;
&lt;p&gt;You are correct that nrfutil is not supported on ARM platforms, however the nrfjprog dependency can be removed from the pc-ble-driver-py code if you make sure that the correct connectivity firmware is flashed to the chip before running the applications. It should only be used to check and flash the correct connectivity firmware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run nrfutil dfu on a Raspberry Pi</title><link>https://devzone.nordicsemi.com/thread/178497?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 18:14:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:227bde6f-d872-4fe4-9882-7dc3bba25195</guid><dc:creator>RedNodeLabs</dc:creator><description>&lt;p&gt;The next&amp;nbsp;problem&amp;nbsp;that&amp;nbsp;rises:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Traceback (most recent call last):
  File &amp;quot;/usr/local/bin/nrfutil&amp;quot;, line 11, in &amp;lt;module&amp;gt;
    load_entry_point(&amp;#39;nrfutil==5.1.0&amp;#39;, &amp;#39;console_scripts&amp;#39;, &amp;#39;nrfutil&amp;#39;)()
  File &amp;quot;/usr/local/lib/python2.7/dist-packages/Click-7.0-py2.7.egg/click/core.py&amp;quot;, line 764, in __call__
    return self.main(*args, **kwargs)
  File &amp;quot;/usr/local/lib/python2.7/dist-packages/Click-7.0-py2.7.egg/click/core.py&amp;quot;, line 717, in main
    rv = self.invoke(ctx)
  File &amp;quot;/usr/local/lib/python2.7/dist-packages/Click-7.0-py2.7.egg/click/core.py&amp;quot;, line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File &amp;quot;/usr/local/lib/python2.7/dist-packages/Click-7.0-py2.7.egg/click/core.py&amp;quot;, line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File &amp;quot;/usr/local/lib/python2.7/dist-packages/Click-7.0-py2.7.egg/click/core.py&amp;quot;, line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File &amp;quot;/usr/local/lib/python2.7/dist-packages/Click-7.0-py2.7.egg/click/core.py&amp;quot;, line 555, in invoke
    return callback(*args, **kwargs)
  File &amp;quot;/usr/local/lib/python2.7/dist-packages/nrfutil-5.1.0-py2.7.egg/nordicsemi/__main__.py&amp;quot;, line 1129, in ble
    flasher = Flasher(serial_port=port, snr = jlink_snr)
  File &amp;quot;/usr/local/lib/python2.7/dist-packages/pc_ble_driver_py-0.11.4-py2.7.egg/pc_ble_driver_py/ble_driver.py&amp;quot;, line 1063, in __init__
    raise NordicSemiException(&amp;#39;nrfjprog not installed&amp;#39;)
pc_ble_driver_py.exceptions.NordicSemiException: nrfjprog not installed&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and the question: how could I use nrfutil in the RPi if there is no support of&amp;nbsp;&lt;span class="s1"&gt;nrfjprog for that platform?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s1"&gt;Thank you again for your support.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s1"&gt;Javier&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run nrfutil dfu on a Raspberry Pi</title><link>https://devzone.nordicsemi.com/thread/178495?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 18:00:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca06574f-c907-4c5b-9d78-1f2415c54677</guid><dc:creator>RedNodeLabs</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;J&amp;oslash;rgen,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank for your support.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am trying to build pc-ble-driver-py (&lt;/span&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py/releases/tag/v0.11.4"&gt;v0.11.4&lt;/a&gt;&lt;span&gt;) in the RPi, but I am facing the following issue:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;[ 74%] Built target pc_ble_driver_shared_sd_api_v2

[ 75%] Linking C shared module outdir/_pc_ble_driver_sd_api_v2.so

Error copying directory from &amp;quot;/home/pi/pc-ble-driver-py/pc-ble-driver/cmake/../hex/SD_API_V2&amp;quot; to &amp;quot;/home/pi/pc-ble-driver-py/python/pc_ble_driver_py/hex/SD_API_V2&amp;quot;.

CMakeFiles/_pc_ble_driver_sd_api_v2.dir/build.make:85: recipe for target &amp;#39;outdir/_pc_ble_driver_sd_api_v2.so&amp;#39; failed

make[2]: *** [outdir/_pc_ble_driver_sd_api_v2.so] Error 1

make[2]: *** Deleting file &amp;#39;outdir/_pc_ble_driver_sd_api_v2.so&amp;#39;

CMakeFiles/Makefile2:73: recipe for target &amp;#39;CMakeFiles/_pc_ble_driver_sd_api_v2.dir/all&amp;#39; failed

make[1]: *** [CMakeFiles/_pc_ble_driver_sd_api_v2.dir/all] Error 2

Makefile:83: recipe for target &amp;#39;all&amp;#39; failed

make: *** [all] Error 2&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As far as I can see, those folder are existing but in lower case.&lt;br /&gt;&lt;br /&gt;Do you have in mind to provide working versions of&amp;nbsp;these useful nRF tools for the RPi?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Javier&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run nrfutil dfu on a Raspberry Pi</title><link>https://devzone.nordicsemi.com/thread/178313?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 11:42:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05d560b9-8ca9-4f9f-b2fe-05e3b9b8a0f6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Compiling for Raspberry Pi have been done for an old version, see &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/accessing-the-softdevice-api-from-python-with-pc-b"&gt;this blog post&lt;/a&gt;. I have not tested this myself, and I&amp;#39;m not aware if this have been done on later versions, however I do not see why it should not work.&lt;/p&gt;
&lt;p&gt;Can you describe your process for compiling and what issues you are facing? Are you trying to build &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver#compiling-pc-ble-driver-from-source"&gt;pc-ble-driver&lt;/a&gt;, or &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py#compiling-from-source"&gt;pc-ble-driver-py&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>