<?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>nRF52832 bonding loss</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100533/nrf52832-bonding-loss</link><description>We have an application where BLE bonding between or device and a cell phone will drop - very infrequently. We have no clues yet as to what causes this to happen. It appears to be independent of connection time. 
 Processor is the nRF52832. Using the Eclipse</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Jun 2023 20:10:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100533/nrf52832-bonding-loss" /><item><title>RE: nRF52832 bonding loss</title><link>https://devzone.nordicsemi.com/thread/431571?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 20:10:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e4936c6-b2b2-44f2-a9d3-0bab468e94d4</guid><dc:creator>Ken314</dc:creator><description>&lt;p&gt;We may be closing in on this one.&amp;nbsp; With multiple systems running and logging using J-Link RTT Viewer we&amp;#39;ve captured two bonding losses. In both cases there was a message in the RTT viewer log indicated there was a &amp;quot;pin reset&amp;quot;.&amp;nbsp; (We report the contents of the RESETRES register at boot).&amp;nbsp; This is a bit perplexing as the units were on a bench in the lab and both of the resets occurred overnight when no one was around.&amp;nbsp; While the nRF52-dk was connected to the 52832&amp;#39;s SWD pins, the reset pin is not.&lt;/p&gt;
&lt;p&gt;The PSELRESET registers are set to the default values,&amp;nbsp; While I haven&amp;#39;t found it documented in the manual, it appears the reset pin uses the same ~16k ohm pull-up as when the pin is used as a DIO.&amp;nbsp; So I&amp;#39;m having trouble understanding how these resets occur.&lt;/p&gt;
&lt;p&gt;Any thoughts?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 bonding loss</title><link>https://devzone.nordicsemi.com/thread/429861?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 22:00:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85034495-627c-4ff0-b68d-979ed8a574b5</guid><dc:creator>Daniel Veilleux</dc:creator><description>&lt;p&gt;I mean the app on the nRF52832. It&amp;#39;s common for devices to store reset counts, operational hours, DFU update history, user settings, etc. in flash. Whether or not you use flash data storage at all is interesting -- if not then SDK code is the only fstorage user. If you look at an affected device and notice that e.g. all of the user settings are back to their defaults then that would be a clue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 bonding loss</title><link>https://devzone.nordicsemi.com/thread/429853?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 20:09:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97ebf45b-c33b-49e5-b3f5-7c2484872f50</guid><dc:creator>Vladislav M.</dc:creator><description>&lt;p&gt;Hi Daniel,&lt;/p&gt;
&lt;p&gt;We haven&amp;#39;t yet captured this occurrence since it happens rarely. We still don&amp;#39;t have logs but we are working on it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you ask &amp;quot;&lt;span&gt;Does the app store its own data to the flash?&amp;quot; do you mean mobile app or the app running on EM?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If we connect to one of the affected devices after this had happened, we can&amp;#39;t determine if non-volatile storage had been reset. If it happens while connected to the debugger, we can capture it in the log.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 bonding loss</title><link>https://devzone.nordicsemi.com/thread/429652?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 20:43:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5d6fc06-a5f5-4ea5-ae2b-9a1637111c89</guid><dc:creator>Daniel Veilleux</dc:creator><description>&lt;p&gt;The most likely cause for losing the bonding info on the nRF52832 would be an issue with the non-volatile storage. Does the app store its own data to the flash? If you connect to one of the affected units would it be possible to determine whether or not the non-volatile storage had been reset recently? Also, is there any log information available?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 bonding loss</title><link>https://devzone.nordicsemi.com/thread/429648?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 18:53:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6637298-536f-425e-8601-5557a328b83c</guid><dc:creator>Ken314</dc:creator><description>&lt;p&gt;Unsure.&amp;nbsp; The phone goes back to it&amp;#39;s unpaired state, and the board starts blinking it&amp;#39;s LED indicting it&amp;#39;s advertising.&amp;nbsp; Only one connection is allowed at a time - the board stops advertising when it&amp;#39;s bonded.&amp;nbsp; The only mechanism for unbonding that the product supports is an intentional one where the phone sends a command to the board.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Ken&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 bonding loss</title><link>https://devzone.nordicsemi.com/thread/429647?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 18:45:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5851de25-165e-4dea-9707-3364b0ee9fd0</guid><dc:creator>Daniel Veilleux</dc:creator><description>&lt;p&gt;Which peer is losing the the bonding data -- nRF52832 or the phone? How many peers is the nRF52832 bonded with? Do you have a mechanism for removing bonding data (e.g. one of the DK buttons) that could be getting triggered?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>