<?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>Library for integrating nrf52840 with MTk7628 running on openwrt</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49841/library-for-integrating-nrf52840-with-mtk7628-running-on-openwrt</link><description>Hi Nordic Engineer, 
 We want to interface NRF52840 with MTK7628 over UART. Is there a client library for nrf52840 which we can integrate with our application which runs on MTK7628..?? 
 Our operational flow is as follows, 
 A. Application running on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Jul 2019 09:28:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49841/library-for-integrating-nrf52840-with-mtk7628-running-on-openwrt" /><item><title>RE: Library for integrating nrf52840 with MTk7628 running on openwrt</title><link>https://devzone.nordicsemi.com/thread/200450?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2019 09:28:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fec1960-9114-48d9-8a37-7c4474f0e4ae</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;seems like you are trying to flash the s130 SD and application for nRF51? It will not run on the nRF52840. Anyways you can use the precompiled connectivity hex instead of generating the hex yourself: &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/tree/v4.1.1/hex/sd_api_v6"&gt;https://github.com/NordicSemiconductor/pc-ble-driver/tree/v4.1.1/hex/sd_api_v6&amp;nbsp; &lt;/a&gt;(connectivity_4.1.1_usb_with_s140_6.1.1.hex)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Library for integrating nrf52840 with MTk7628 running on openwrt</title><link>https://devzone.nordicsemi.com/thread/200075?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2019 13:15:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6923336a-0d17-4f5b-94c3-fc529938b07a</guid><dc:creator>SanthoshN</dc:creator><description>&lt;p&gt;With the example hex file in this link&amp;nbsp;&lt;a href="http://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Command-Line-Tools/Download#infotabs"&gt;http://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Command-Line-Tools/Download#infotabs&lt;/a&gt;&amp;nbsp;on nrfconnect app it is as shown in the attatchment. It contains softdevice and application in the hex&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Downloaded-HexFromLink.png" /&gt;&lt;/p&gt;
&lt;p&gt;But the generated hex file doesn&amp;#39;t contain the application code it only had softdevice.&lt;/p&gt;
&lt;p&gt;Am I missing any configuration.&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/GeneratedHex.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Library for integrating nrf52840 with MTk7628 running on openwrt</title><link>https://devzone.nordicsemi.com/thread/200002?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2019 10:49:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6560aa7-920e-4ffc-86cd-9f5f9f98e0af</guid><dc:creator>SanthoshN</dc:creator><description>&lt;p&gt;santhosh@santhosh:~/pc-ble-driver/hex/examples$ sudo ./heart_rate_monitor_sd_api_v5 /dev/ttyACM0 &lt;br /&gt;Serial port used: /dev/ttyACM0&lt;br /&gt;Baud rate used: 1000000&lt;br /&gt;Info: Successfully opened /dev/ttyACM0. Baud rate: 1000000. Flow control: none. Parity: none.&lt;br /&gt;Status: 6, message: Target Reset performed&lt;br /&gt;Error: h5_decode error, code: 0x802c, H5 error count: 1. raw packet: c0 60 00 01 01 c0 &lt;br /&gt;Error: h5_decode error, code: 0x802c, H5 error count: 2. raw packet: c0 60 00 01 01 c0 &lt;br /&gt;Error: h5_decode error, code: 0x802c, H5 error count: 3. raw packet: c0 60 00 01 01 c0 &lt;br /&gt;Error: h5_decode error, code: 0x802c, H5 error count: 4. raw packet: c0 60 00 01 01 c0 &lt;br /&gt;Error: h5_decode error, code: 0x802c, H5 error count: 5. raw packet: c0 60 00 01 01 c0 &lt;br /&gt;Error: h5_decode error, code: 0x802c, H5 error count: 6. raw packet: c0 60 00 01 01 c0 &lt;br /&gt;Status: 0, message: No response from device. Tried to send packet 6 times.&lt;br /&gt;Failed to open nRF BLE Driver. Error code: 0x0D&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am facing the above error&lt;/p&gt;
&lt;p&gt;For testing purpose I am using nrf52840 dongle&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Library for integrating nrf52840 with MTk7628 running on openwrt</title><link>https://devzone.nordicsemi.com/thread/199779?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 12:20:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8313c5d5-2879-4ae6-bebd-d621442046c9</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Here&amp;#39;s the correct link: &lt;a href="http://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Command-Line-Tools/Download#infotabs"&gt;http://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Command-Line-Tools/Download#infotabs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Anyways, the command line tools require the nrfjprog DLL and we currently only supports this for Linux running on x86/64 architecture. However, the nrf52840 has a USB interface, and you can use UART over USB to communicate with the device. This way you remove the nrfjprog dependency.&lt;/p&gt;
&lt;p&gt;I wrote an answer here to another question about running pc-ble-driver on a raspberry pi, &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/47329/connection-3b-armv8-and-nrf-52840-dongle/188449#188449"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/47329/connection-3b-armv8-and-nrf-52840-dongle/188449#188449 &lt;/a&gt;Don&amp;#39;t know if that&amp;#39;s helpful but you can have a look.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Library for integrating nrf52840 with MTk7628 running on openwrt</title><link>https://devzone.nordicsemi.com/thread/199277?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 12:28:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59d380c5-d690-461e-936d-4b295c27de91</guid><dc:creator>Goutham Reddy</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We followed steps given in &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver"&gt;pc-ble-driver&lt;/a&gt; and able to build the pc-ble-driver, but for Connectivity HEX it is having dependency of &lt;strong&gt;nRF5x Command-Line Tools for Linux 64-bit.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We are not able to download it as it is showing &lt;strong&gt;404 Page not Found&lt;/strong&gt; error.&lt;/p&gt;
&lt;p&gt;Is there any alternative way to download and install &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51822/nRF5x-Command-Line-Tools-Linux64/51386" rel="nofollow"&gt;nRF5x Command-Line Tools for Linux 64-bit.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Library for integrating nrf52840 with MTk7628 running on openwrt</title><link>https://devzone.nordicsemi.com/thread/199113?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 06:17:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8521bb90-d95c-4588-aa60-8b9b04013a4d</guid><dc:creator>SanthoshN</dc:creator><description>&lt;p&gt;Thanks for the link.&lt;/p&gt;
&lt;p&gt;Do you have any documentation on how to build &lt;strong&gt;pc-ble-driver&lt;/strong&gt;&amp;nbsp;on openwrt..??&lt;/p&gt;
&lt;p&gt;or&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is it like we have to cross-compile and port it on openwrt running board..?? Will this work if we build it on ubuntu and port on to our host which runs on openwrt.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Library for integrating nrf52840 with MTk7628 running on openwrt</title><link>https://devzone.nordicsemi.com/thread/198706?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 12:26:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cfbdf5f-a9e2-46a1-a74e-78d4d98d10a5</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;You can check out the serialization API: &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_serialization.html?cp=5_1_3_42"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_serialization.html?cp=5_1_3_42&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The nRF52 will be running the BLE stack (softdevice) and your host MCU (in this case the MTK7628&amp;nbsp; as I understand) can communicate with the softdevice over UART (or other protocols).&lt;/p&gt;
&lt;p&gt;The host software &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver"&gt;pc-ble-driver&lt;/a&gt; is written to be run on a PC and communicate over UART to the BLE stack. It is written in C and can be ported to your host MCU. It contains a couple of examples to get started. The &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/examples.html?cp=5_1_4"&gt;examples in the SDK&lt;/a&gt; that normally runs on the nRF52 can also be ported to your host MCU (or used as a reference): &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/serialization_porting_guide.html?cp=5_1_3_42_5"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/serialization_porting_guide.html?cp=5_1_3_42_5&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>