<?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>nrfutil DFU BLE and connectivity firmware</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22149/nrfutil-dfu-ble-and-connectivity-firmware</link><description>Hey Guys, 
 I noticed when I use nrfutil DFU BLE command on the nRF52 DK the nrfutil program a &amp;quot;connectivity firmware&amp;quot; before the perform the DFU BLE to a Target device. 
 The issue I am facing is I am using a custom hardware with a different pinout</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 May 2017 16:14:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22149/nrfutil-dfu-ble-and-connectivity-firmware" /><item><title>RE: nrfutil DFU BLE and connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/87051?ContentTypeID=1</link><pubDate>Fri, 19 May 2017 16:14:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce908f4a-078e-4dee-9497-f6758bbbc3c7</guid><dc:creator>MarcoTull</dc:creator><description>&lt;p&gt;Thanks, for all the help.
A last question my whole program was made on SDK13 is possible apply it for the SDK13? making the changes for myself and what values for &lt;code&gt;RAM (rwx) : ORIGIN = 0x2000bcc0, LENGTH = 0x4340&lt;/code&gt; should I put SDK13&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil DFU BLE and connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/87050?ContentTypeID=1</link><pubDate>Fri, 19 May 2017 15:59:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:661da3be-462f-4c5e-832e-ab49ab82d3be</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Of course! We use the hci version, not uart, so you were trying with the wrong example. Sorry for missing that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil DFU BLE and connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/87049?ContentTypeID=1</link><pubDate>Fri, 19 May 2017 13:07:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aab49b07-ca3a-4cc3-af87-7ad31e06db77</guid><dc:creator>MarcoTull</dc:creator><description>&lt;p&gt;@Terje Schjelderup  I was able to apply the patch :)&lt;/p&gt;
&lt;p&gt;Now I am testing with the ser_s132_hci being a little slow about 2mins to perform the DFU and ser_s132_uart (unable to perform the DFU yet)&lt;/p&gt;
&lt;p&gt;trying to improve the speed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil DFU BLE and connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/87055?ContentTypeID=1</link><pubDate>Fri, 19 May 2017 08:53:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8532e14d-118d-43fc-944d-8f483d186d35</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;That is the last line. I suspect whitespace. Can you double check that you have the full last line, and try with the &lt;code&gt;--ignore-whitespace&lt;/code&gt; option?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil DFU BLE and connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/87048?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 22:58:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:035ca96e-374f-407e-bb43-db08766f6ac2</guid><dc:creator>MarcoTull</dc:creator><description>&lt;p&gt;I tried using the patch, but I always got the following message :&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Nordic/nRF5_SDK_12.1.0_0d23e2a
$ git apply &amp;lt; sdk121_connectivity.patch
error: corrupt patch at line 194
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil DFU BLE and connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/87047?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 15:33:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45a08b4d-8fff-47b0-85fe-39d08d1a03f4</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;If you apply &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/blob/master/hex/sd_api_v3/sdk121_connectivity.patch"&gt;the patch&lt;/a&gt; then it should recognise the firmware. Also, by default it should not flash the connectivity firmware. It will do so only if you provide the &lt;code&gt;-f&lt;/code&gt; option. What is the nrfutil version?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil DFU BLE and connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/87046?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 15:20:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5210185a-ad5e-4bda-8e6c-361ff75c794d</guid><dc:creator>MarcoTull</dc:creator><description>&lt;p&gt;@Terje SchjelderupTerje Thanks for the reply. Before I made any changes I am trying make to work the connectivity firmware with no luck. I am able to compile it using gcc, but when I run&lt;code&gt;nrfutil DFU BLE&lt;/code&gt; it keeps programming other &amp;#39;connectivity firmware&amp;#39; removing the one I programmed before &lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3821.Capture.PNG" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;update:&lt;/p&gt;
&lt;p&gt;I am getting the following error:
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2318.error.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,
Marco&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil DFU BLE and connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/87045?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 15:12:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b869426-5f4c-46d2-a891-666378c06392</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;@marcotull Hi, I have given this some more thought, and it is definitely best to keep it at the SDK and SoftDevice it was originally made for. Porting it would quickly require changes in pc-ble-driver as well. You may have a wish to do all development using the same SDK, I can see great value in that, but in this case it simply is not worth the effort. If you miss functionality in the current version then please let us know, so that we can consider it for future releases.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil DFU BLE and connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/87044?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 14:08:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44e9e1e4-3c58-4281-8509-30bdfcb33313</guid><dc:creator>MarcoTull</dc:creator><description>&lt;p&gt;@tesc I want to port it to another SDK version&lt;/p&gt;
&lt;p&gt;@bjorn-spockeli Thank for the info now it is more clear for me&lt;/p&gt;
&lt;p&gt;Marco&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil DFU BLE and connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/87054?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 13:14:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f33db19-4973-4d98-9ea1-9aebcfbb8444</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;The patch is SDK v12.1.0 specific, however it might work with SDK v13, but I have not tried that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil DFU BLE and connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/87053?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 13:12:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cf52c50-9bef-4dc9-b948-3ae35cf6ac51</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;The patch is based on SDK v12.1.0. It will not work on other SDK releases. If you need to base it on another version of the SDK then you must port this patched version to the target SDK on your own.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil DFU BLE and connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/87052?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 13:04:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7e6bb76-68e6-4608-bc4b-f16f1c175a7d</guid><dc:creator>MarcoTull</dc:creator><description>&lt;p&gt;Does it works using SDK v13?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil DFU BLE and connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/87043?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 12:55:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:116eb183-feec-4678-9ae7-26c2d48a06a0</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Marco,&lt;/p&gt;
&lt;p&gt;in order to create connectivity firmware that is compatible with custom nRF52 hardware you have to apply the &lt;code&gt;sdk121_connectivity.patch&lt;/code&gt;, found &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/tree/master/hex/sd_api_v3"&gt;here&lt;/a&gt; in the pc-ble-driver GitHub repo, to the connectivity example in SDK v12.1.0. You can find the connectivity example in &lt;code&gt;examples\ble_central_and_peripheral\ble_connectivity\pca10040\ser_s132_hci&lt;/code&gt;. You can then change the pinout in pca10040.h or create a custom_board.h to match your custom hardware.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>