<?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>Can I easily bootload an nRF52832 using a BeagleBone Green Wireless and its built in bluetooth?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30892/can-i-easily-bootload-an-nrf52832-using-a-beaglebone-green-wireless-and-its-built-in-bluetooth</link><description>We have a handful of products that utilize nRF52832 IC&amp;#39;s for BLE communication. The bootloader in these devices is based on the one in the SDK, I believe version 11.0. In any case, the bootloader works with nRF Connect on my Android phone. 
 We are preparing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Feb 2018 13:16:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30892/can-i-easily-bootload-an-nrf52832-using-a-beaglebone-green-wireless-and-its-built-in-bluetooth" /><item><title>RE: Can I easily bootload an nRF52832 using a BeagleBone Green Wireless and its built in bluetooth?</title><link>https://devzone.nordicsemi.com/thread/122298?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 13:16:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:863a49eb-b388-4cbc-a740-a27d34a31e37</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Unfortunately, we do not have any offical examples that demonstrates OTA DFU with other Bluetooth stacks such as Bluez, but I found this github project that you might want to check out (not tried it myself):&amp;nbsp;&lt;a href="https://github.com/foldedtoad/ota-dfu-python"&gt;https://github.com/foldedtoad/ota-dfu-python&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note that Nrfutil and nrf connect desktop&amp;nbsp;use&amp;nbsp;serialized softdevice API to control the softdevice on the connectivity board (&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/lib_serialization.html?cp=4_0_0_3_38"&gt;serialization&lt;/a&gt;). This is why you need a nordic dongle when doing OTA DFU with nrfutil.&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I easily bootload an nRF52832 using a BeagleBone Green Wireless and its built in bluetooth?</title><link>https://devzone.nordicsemi.com/thread/122200?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 20:46:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05fcb19a-9fb6-455b-bae6-2f84e797ff8b</guid><dc:creator>Henry McDonald</dc:creator><description>&lt;p&gt;This was resolved by editing&amp;nbsp;&lt;span&gt;pc-ble-driver-py/pc-ble-driver/include/common/internal/transport/uart_boost.h to change &amp;quot;io_service&amp;quot; to &amp;quot;io_context&amp;quot; in two locations.&amp;nbsp; Once compiled, I copied the output files over to the python directory, but the application still appears to be searching for a usb connected device to perform the bootloading.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I easily bootload an nRF52832 using a BeagleBone Green Wireless and its built in bluetooth?</title><link>https://devzone.nordicsemi.com/thread/122195?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 19:25:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:052e06e1-4975-41a5-9ab5-3fd7e5d2e830</guid><dc:creator>Henry McDonald</dc:creator><description>&lt;p&gt;I think I may need to build pc-ble-driver-py to get further with this task, but I&amp;#39;m not able to build it.&lt;/p&gt;
&lt;p&gt;I started out using apt-get to install cmake and (if I remember correctly) boost.&amp;nbsp; I ran into problems using these that made me think that boost was too old of a version.&amp;nbsp; I then compiled boost 1.66 from source as well as cmake 3.11 rc1.&amp;nbsp; I deleted the pc-ble-driver-py directory, recloned the repository, and tried to compile again using the latest cmake and boost version.&amp;nbsp; The build fails with the following error:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;[ 14%] Building CXX object pc-ble-driver/CMakeFiles/pc_ble_driver_obj_sd_api_v3.dir/src/common/sd_rpc_impl.cpp.o&lt;br /&gt;In file included from /root/pc-ble-driver-py/pc-ble-driver/src/common/sd_rpc_impl.cpp:43:0:&lt;br /&gt;/root/pc-ble-driver-py/pc-ble-driver/include/common/internal/transport/uart_boost.h:100:18: error: &amp;lsquo;io_service&amp;rsquo; in namespace &amp;lsquo;boost::asio&amp;rsquo; does not name a type&lt;br /&gt; boost::asio::io_service ioService;&lt;br /&gt; ^&lt;br /&gt;/root/pc-ble-driver-py/pc-ble-driver/include/common/internal/transport/uart_boost.h:102:18: error: &amp;lsquo;io_service&amp;rsquo; in namespace &amp;lsquo;boost::asio&amp;rsquo; does not name a type&lt;br /&gt; boost::asio::io_service::work workNotifier;&lt;br /&gt; ^&lt;br /&gt;pc-ble-driver/CMakeFiles/pc_ble_driver_obj_sd_api_v3.dir/build.make:387: recipe for target &amp;#39;pc-ble-driver/CMakeFiles/pc_ble_driver_obj_sd_api_v3.dir/src/common/sd_rpc_impl.cpp.o&amp;#39; failed&lt;br /&gt;make[2]: *** [pc-ble-driver/CMakeFiles/pc_ble_driver_obj_sd_api_v3.dir/src/common/sd_rpc_impl.cpp.o] Error 1&lt;br /&gt;CMakeFiles/Makefile2:311: recipe for target &amp;#39;pc-ble-driver/CMakeFiles/pc_ble_driver_obj_sd_api_v3.dir/all&amp;#39; failed&lt;br /&gt;make[1]: *** [pc-ble-driver/CMakeFiles/pc_ble_driver_obj_sd_api_v3.dir/all] Error 2&lt;br /&gt;Makefile:83: recipe for target &amp;#39;all&amp;#39; failed&lt;br /&gt;make: *** [all] Error 2&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I easily bootload an nRF52832 using a BeagleBone Green Wireless and its built in bluetooth?</title><link>https://devzone.nordicsemi.com/thread/122012?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2018 21:37:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc89887d-e24c-4292-ad0d-787d12ee8507</guid><dc:creator>Henry McDonald</dc:creator><description>&lt;p&gt;Little more information...&lt;/p&gt;
&lt;p&gt;If I try to run `nrfutil dfu ble -pkg software.zip -ic NRF52` I get error messages:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;File &amp;quot;/usr/local/bin/nrfutil&amp;quot;, line 11, in &amp;lt;module&amp;gt;&lt;br /&gt; load_entry_point(&amp;#39;nrfutil==3.4.0&amp;#39;, &amp;#39;console_scripts&amp;#39;, &amp;#39;nrfutil&amp;#39;)()&lt;br /&gt; File &amp;quot;/usr/local/lib/python2.7/dist-packages/click/core.py&amp;quot;, line 722, in __call__&lt;br /&gt; return self.main(*args, **kwargs)&lt;br /&gt; File &amp;quot;/usr/local/lib/python2.7/dist-packages/click/core.py&amp;quot;, line 697, in main&lt;br /&gt; rv = self.invoke(ctx)&lt;br /&gt; File &amp;quot;/usr/local/lib/python2.7/dist-packages/click/core.py&amp;quot;, line 1066, in invoke&lt;br /&gt; return _process_result(sub_ctx.command.invoke(sub_ctx))&lt;br /&gt; File &amp;quot;/usr/local/lib/python2.7/dist-packages/click/core.py&amp;quot;, line 1066, in invoke&lt;br /&gt; return _process_result(sub_ctx.command.invoke(sub_ctx))&lt;br /&gt; File &amp;quot;/usr/local/lib/python2.7/dist-packages/click/core.py&amp;quot;, line 895, in invoke&lt;br /&gt; return ctx.invoke(self.callback, **ctx.params)&lt;br /&gt; File &amp;quot;/usr/local/lib/python2.7/dist-packages/click/core.py&amp;quot;, line 535, in invoke&lt;br /&gt; return callback(*args, **kwargs)&lt;br /&gt; File &amp;quot;/usr/local/lib/python2.7/dist-packages/nrfutil-3.4.0-py2.7.egg/nordicsemi/__main__.py&amp;quot;, line 776, in ble&lt;br /&gt; ble_driver_init(conn_ic_id)&lt;br /&gt; File &amp;quot;/usr/local/lib/python2.7/dist-packages/nrfutil-3.4.0-py2.7.egg/nordicsemi/__main__.py&amp;quot;, line 65, in ble_driver_init&lt;br /&gt; from pc_ble_driver_py.ble_driver import BLEDriver, Flasher&lt;br /&gt; File &amp;quot;/usr/local/lib/python2.7/dist-packages/pc_ble_driver_py/ble_driver.py&amp;quot;, line 105, in &amp;lt;module&amp;gt;&lt;br /&gt; raise RuntimeError(&amp;quot;Could not load shared library {} : &amp;#39;{}&amp;#39;.&amp;quot;.format(shlib_path, error))&lt;br /&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;&lt;span&gt;libpc_ble_driver_shared_sd_api_v3.so exists in the specified directory.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;ve gone so far as to build boost and pc-ble-driver on my beaglebone, which takes a long time, but I&amp;#39;m now stuck at this point.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>