<?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>nRF51-ble-peripheral-bond-handling</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16631/nrf51-ble-peripheral-bond-handling</link><description>Hello 
 I&amp;#39;ve found your example in the dev-zone and migrate the project to SDK10 and will probably do the same for SDK11. 
 However, I&amp;#39;ve got a problem in my project. When I use your code and bond several devices, everything works as expected. I can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Sep 2016 09:11:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16631/nrf51-ble-peripheral-bond-handling" /><item><title>RE: nRF51-ble-peripheral-bond-handling</title><link>https://devzone.nordicsemi.com/thread/63601?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2016 09:11:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1438887b-1033-40d5-9e99-a2b36a49b388</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Thierry,&lt;/p&gt;
&lt;p&gt;Sorry that I was in a business trip so couldn&amp;#39;t answer quickly. I&amp;#39;m back now.&lt;/p&gt;
&lt;p&gt;Could you please edit your question and add the modified project that you are testing and the bootloader you used. So I can try here ?
Also please test with the default example from SDK v10 or SDKv11 to check if the same issue happens ?&lt;/p&gt;
&lt;p&gt;Could you step into the app_timer_start and check which call caused the hardfault, I don&amp;#39;t see a reason why app timer can cause hardfault.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51-ble-peripheral-bond-handling</title><link>https://devzone.nordicsemi.com/thread/63600?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2016 06:31:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7aa4a6d-0bf9-4002-a6e1-b3c2eca5c35f</guid><dc:creator>thischier</dc:creator><description>&lt;p&gt;I&amp;#39;ve made several tests. I bonded the first smartphone and re-programmed my device. After launching the firmware, everything worked as expected. I repeated this procedure several times and after I&amp;#39;ve bonded the 6 smartphone, my device freezes after the upload of the firmware. I compiled the project with debug and got a hard fault error.&lt;/p&gt;
&lt;p&gt;I added the call stack to this answer, but you can see that I get the hardfault when I start an app_timer...&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2185.call_5F00_stack.png" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51-ble-peripheral-bond-handling</title><link>https://devzone.nordicsemi.com/thread/63599?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2016 16:13:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bea30539-da58-43ea-8517-dbe363081389</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I see. Could you give more description about the issue, and what you find when you step into the code or add a breakpoint in the assertion handler ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51-ble-peripheral-bond-handling</title><link>https://devzone.nordicsemi.com/thread/63598?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2016 09:34:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dc3a4a1-159a-4dcf-b0d6-7db3f564ccb0</guid><dc:creator>thischier</dc:creator><description>&lt;p&gt;Hello there&lt;/p&gt;
&lt;p&gt;I took this example (&lt;a href="https://github.com/NordicSemiconductor/nRF51-ble-peripheral-bond-handling)"&gt;github.com/.../nRF51-ble-peripheral-bond-handling)&lt;/a&gt; and migrate everything to SDK10.
As I said, the example works great, except when I do a DFU-OTA or when I have paired already the maximal amount of bonded device and I will reload the project inside the chip.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m aware of the reserved application data and this already changed and tested (When I remove the code from the above mentioned example and I upload a new firmware through nrfTool app, the device restart after the DFU and all already paired device connects without asking for a new passkey.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51-ble-peripheral-bond-handling</title><link>https://devzone.nordicsemi.com/thread/63597?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2016 09:04:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b1aa9ac-3e41-4e4f-9f7c-a6956028f328</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Thierry,&lt;/p&gt;
&lt;p&gt;Could you point out which example you used ?
What was exactly the issue when you said &amp;quot;my device freezes afterwards&amp;quot;. Could you step into the code in debug mode and figure out what cause problem ? You may want to follow &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/#60126"&gt;this guide&lt;/a&gt; on how to do debugging.&lt;/p&gt;
&lt;p&gt;Note that to reserve bond information data, you should declare reserved application data as explained &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_memory_appdata.html?cp=4_0_1_4_3_1_3_3"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>