<?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 obtain pc-ble-driver connectivity firmware with S132 v5.0.0 (not 5.1.0)?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73364/how-to-obtain-pc-ble-driver-connectivity-firmware-with-s132-v5-0-0-not-5-1-0</link><description>Hi, 
 What I would like to do: 
 I&amp;#39;m attempting to compile pc-ble-driver connectivity firmware with S132 v5.0.0. Following the instructions on the pc-ble-driver repo on Github, this compiles connectivity firmware with S132 v5.1.0, but I need version 5</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Apr 2021 21:32:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73364/how-to-obtain-pc-ble-driver-connectivity-firmware-with-s132-v5-0-0-not-5-1-0" /><item><title>RE: How to obtain pc-ble-driver connectivity firmware with S132 v5.0.0 (not 5.1.0)?</title><link>https://devzone.nordicsemi.com/thread/303309?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 21:32:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b669999b-9242-464c-8cfc-a05553c06faf</guid><dc:creator>scla</dc:creator><description>&lt;p&gt;Note: See edit 2 for our solution.&lt;/p&gt;
&lt;p&gt;Sorry for the late reply.&lt;/p&gt;
&lt;p&gt;Our production&amp;nbsp;board is off-the-shelf from a vendor. We have several of these devices, all exhibiting the same behavior with the same software. I&amp;#39;m personally not versed in hardware, but I know the main chip is a WiFi module that communicates with the NRF52 chip&amp;nbsp;using&amp;nbsp;a usb to uart&amp;nbsp;bridge (CP2104). I&amp;#39;ve installed a kernel module &amp;quot;&lt;span&gt;kmod-usb-serial-cp210x&amp;quot; (&lt;a href="https://openwrt.org/packages/pkgdata_lede17_1/kmod-usb-serial-cp210x"&gt;link here&lt;/a&gt;).&amp;nbsp;&lt;/span&gt;&lt;span&gt;In our dev environment we&amp;#39;re just connecting an Ubuntu rig to the PCA10040 devkit with a usb cable.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We just tried using the 5.0.0 connectivity firmware.&amp;nbsp;It actually still works, but we get the same behavior every so many calls to pc-ble-driver. So we&amp;#39;re inclined to think its either the COM port or hardware.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Upon inspection of the OpenWrt pc-ble-driver package code I discovered that it&amp;#39;s definitely not up-to-date with the latest code on github but probably closer to v3.0.0 or v3.0.1.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EDIT 2:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We flashed connectivity firmware for version 5.0.0&amp;nbsp;from the&amp;nbsp;v3.0.0 release of pc-ble-driver and this error is no longer showing in our tests. The speed of connects/disconnects seems to be slower overall, but we&amp;#39;re now bug free. It looks like this issue comes from a mismatch from connectivity firmware version and pc-ble-driver release? Our goal now is to create an OpenWrt package for the latest pc-ble-driver release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to obtain pc-ble-driver connectivity firmware with S132 v5.0.0 (not 5.1.0)?</title><link>https://devzone.nordicsemi.com/thread/302574?ContentTypeID=1</link><pubDate>Tue, 30 Mar 2021 12:16:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b8cc7cf-7ecf-49f6-9959-a9a5db56f368</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user=""]The odd thing is that I cannot replicate this behavior in my&amp;nbsp;dev environment on my linux rig and PCA10040 devkit running S132 5.1.0.[/quote]
&lt;p&gt;If you never see these errors on your Linux development environment with the connectivity v5.1.0, then I would think the issue might be with the USB / COM port handling&amp;nbsp; or hardware of your OpenWRT device - could this be the case?&lt;br /&gt;The error you are getting - error sending packet to target - is a common error to get when either the hardware fails directly (faulty cable, poor connection, poor solderings, etc), or when the host&amp;#39;s COM port is not receiving/processing requests as expected. The latter issue is most prominent with Windows machines - but I have no personal experience with OpenWRT, so its worth mentioning.&lt;br /&gt;&lt;br /&gt;Is there any physical difference between the Linux development environment, and the OpenWRT one? Do you use a different type of connection, or a different cable for instance?&lt;/p&gt;
[quote user=""]Following the instructions on the pc-ble-driver repo on Github, this compiles connectivity firmware with S132 v5.1.0, but I need version 5.0.0.[/quote][quote user=""]So I&amp;#39;d like to test if v5.0.0 on the production board&amp;#39;s nordic chip&amp;nbsp;to see if the pc-ble-driver version on the prod board is out-of-date. If my theory is wrong, please let me know! Thank you.[/quote]
&lt;p&gt;Sure - given the ambiguity in the documentation that writes &amp;#39;v5&amp;#39;, I agree it could be worth while to check if &amp;#39;v5&amp;#39; refers to 5.0.0 or 5.1.0.&amp;nbsp; You can compile the connectivity version 5.0.0 by going back to the latest tagged release of the pc-ble-driver repository that released with the version 5.0.0. This would be&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/tree/v3.0.1"&gt;release v3.0.1 of the pc-ble-driver&lt;/a&gt;, you can find the connectivity firmware precompiled in the /hex directory.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>