<?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>Windows bonding/pairing issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15656/windows-bonding-pairing-issue</link><description>I am having an odd problem. 
 nRF52 
 softdevice S132 V2.0.0 
 I have a bootloader and application. when I program them directly to the device they both work fine and can bond to Windows 10 machine just fine. But when I OTA the application to the device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Sep 2016 18:40:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15656/windows-bonding-pairing-issue" /><item><title>RE: Windows bonding/pairing issue</title><link>https://devzone.nordicsemi.com/thread/59776?ContentTypeID=1</link><pubDate>Fri, 23 Sep 2016 18:40:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f1e5927-75e4-4e63-ae0b-dfd5f38c509a</guid><dc:creator>Sensorion</dc:creator><description>&lt;p&gt;The issue wound up being a SD to chip revision mismatch.  Trying to run SD2 on an engineering rev b chip.  Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows bonding/pairing issue</title><link>https://devzone.nordicsemi.com/thread/59772?ContentTypeID=1</link><pubDate>Fri, 23 Sep 2016 18:39:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64cfff16-d41d-4127-a252-4b1e2e55c90e</guid><dc:creator>Sensorion</dc:creator><description>&lt;p&gt;The issue wound up being a SD to chip revision mismatch.  Trying to run SD2 on an engineering rev b chip.  Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows bonding/pairing issue</title><link>https://devzone.nordicsemi.com/thread/59774?ContentTypeID=1</link><pubDate>Thu, 11 Aug 2016 06:44:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37f2adda-1922-42d4-a145-f6d91361e31a</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Have followed the steps shown on &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_appextending.html?cp=6_0_0_4_3_1_2_1"&gt;this&lt;/a&gt; Infocenter page?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows bonding/pairing issue</title><link>https://devzone.nordicsemi.com/thread/59771?ContentTypeID=1</link><pubDate>Thu, 11 Aug 2016 06:14:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29b84ac9-4434-46bd-a4c2-0ac12c6e2885</guid><dc:creator>Sensorion</dc:creator><description>&lt;p&gt;I have basically just tried to add the DFU support from the HRS example to the FreeRTOS HRS example. Is there some special support needed to make this addition?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows bonding/pairing issue</title><link>https://devzone.nordicsemi.com/thread/59770?ContentTypeID=1</link><pubDate>Thu, 11 Aug 2016 06:13:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8dc9e4d-c620-4004-b628-8b7db7ad0cdf</guid><dc:creator>Sensorion</dc:creator><description>&lt;p&gt;My testing has shown that the culprit lies in the DFU app support being added to my application. If I compile with this code removed, undefine BLE_DFU_APP_SUPPORT as in the HRS example, the bonding works fine.
I based the code off of the HRS example and have confirmed that that code does work with my bootloader even when it has the DFU support enabled, so I must be missing something but what that is I just don&amp;#39;t know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows bonding/pairing issue</title><link>https://devzone.nordicsemi.com/thread/59775?ContentTypeID=1</link><pubDate>Thu, 11 Aug 2016 05:38:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:226c89a7-70f4-49cb-9199-fcdc3dc83f6b</guid><dc:creator>Sensorion</dc:creator><description>&lt;p&gt;Thanks for the tip. That is now turned on but no change.&lt;/p&gt;
&lt;p&gt;My testing has shown that the culprit lies in the DFU app support being added to my application.  If I compile with this code removed, undefine BLE_DFU_APP_SUPPORT as in the HRS example, the bonding works fine.&lt;/p&gt;
&lt;p&gt;I based the code off of the HRS example and have confirmed that that code does work with my bootloader even when it has the DFU support enabled, so I must be missing something but what that is I just don&amp;#39;t know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows bonding/pairing issue</title><link>https://devzone.nordicsemi.com/thread/59773?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2016 11:29:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4c83620-1026-46b2-8f47-72e1157cba43</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Issue caused by chip revision mismatch. The S132 v2.0.0 is not compatible with the Engineering revision B chip, please refer the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/compatibility_matrix/ic_rev_sdk_sd_comp_matrix.html"&gt;nRF52 Compatibility Matrix&lt;/a&gt;.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;@sensorion : It sounds like that the bonding data is deleted during the DFU. You can configure the bootloader to preserve the bonding information during the DFU process, i.e. not erase the flash pages that contain the bonding data. This is done by setting the DFU_APP_DATA_RESERVED define to a value corresponding to the number of flash pages you want to preserve, e.g. one flash page(0x1000). See &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_memory_appdata.html?resultof=%22%70%72%65%73%65%72%76%69%6e%67%22%20%22%70%72%65%73%65%72%76%22%20%22%61%70%70%22%20"&gt;this&lt;/a&gt; Infocenter page for more information. Note: One flash page on the nRF52 is 4kB(0x1000) and not 1kB (0x400) like for the nRF51.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>