<?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>Problem Loading Bonding Info From Flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1070/problem-loading-bonding-info-from-flash</link><description>Unless manually set the value of bond_init_data.bonds_delete to true in the function bond_manager_init to clear bonded masters, I end up in the HardFault_handler. The last call I can trace is line 641 in pstorage.c, memcpy (p_dest, (((uint8_t *)p_src</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Mar 2014 20:29:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1070/problem-loading-bonding-info-from-flash" /><item><title>RE: Problem Loading Bonding Info From Flash</title><link>https://devzone.nordicsemi.com/thread/5053?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2014 20:29:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e124650b-39f3-46d3-87f6-21bdc8e23d1b</guid><dc:creator>David Gunderson</dc:creator><description>&lt;p&gt;I&amp;#39;ve confirmed that this was an isolated hardware issue on the nRF51822 mounted to the Fujitsu DK.  This morning, I got another Fujitsu module working with the same code and there are no problems in with memory faults.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem Loading Bonding Info From Flash</title><link>https://devzone.nordicsemi.com/thread/5052?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2014 10:21:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:445e23f4-e6f3-42dc-857c-0affe61f3b68</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;As I said above, if you see the exact same symptoms as him (region 1: 4096 kB), this seems to indicate some kind of chip failure. Please create a support case, making sure to supply a screenshot of nRFgo Studio and the complete chip markings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem Loading Bonding Info From Flash</title><link>https://devzone.nordicsemi.com/thread/5051?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2014 22:52:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:930d505e-ba20-4e01-9e6d-c9109cfba23c</guid><dc:creator>David Gunderson</dc:creator><description>&lt;p&gt;I have the same issue on the nRF51822-QFAAFA in a Fujitsu module attached to their development kit board.  Using the latest S110 and SDK 6.0.0.  Did this issue ever get resolved?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem Loading Bonding Info From Flash</title><link>https://devzone.nordicsemi.com/thread/5050?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2013 15:40:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c51b283-383e-47ac-a65b-016a615200b0</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Based on your latest studio screenshot, it seems there is something odd about your chip (region 1: 4096 kB is not correct). Please create a support case and refer to this thread, and I&amp;#39;ll make sure it is handled as soon as possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem Loading Bonding Info From Flash</title><link>https://devzone.nordicsemi.com/thread/5049?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2013 15:34:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bde94857-7a55-4429-9373-6c201bc380db</guid><dc:creator>Eric</dc:creator><description>&lt;p&gt;I&amp;#39;m using version 6.0.0.5 of the soft device, attached is a screen shot from nRFgo Studio with the verification.&lt;/p&gt;
&lt;p&gt;The markings on the chip read:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;N51822
QFAAFA
1319AA
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The sticker on the PCB reads:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;PCA10004
Rev. 2.1.0
2013.25
10001609
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SoftDevice_5F00_verification.png" alt="SoftDevice_verification.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem Loading Bonding Info From Flash</title><link>https://devzone.nordicsemi.com/thread/5048?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2013 15:17:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d57f40c0-2de1-4ccd-9fa5-5c31486bd2eb</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;I just tried to reproduce this, with the project and hex you uploaded, but I&amp;#39;m not able to. The values for the memcpy() parameters also looks good in your screenshot, but I find it strange that you don&amp;#39;t get a backtrace from your HardFault. Can you please make sure that you use softdevice 6.0.0, which is required for SDK 5.0.0? Also, can you please read off the laser markings on your chip, and post them?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem Loading Bonding Info From Flash</title><link>https://devzone.nordicsemi.com/thread/5047?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2013 14:44:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bb93af8-eebd-456e-8727-fc24102b9ee5</guid><dc:creator>Eric</dc:creator><description>&lt;p&gt;Attached is a screen shot with the stack at HardFault, also a stack just before the memcpy that causes the HardFault.&lt;/p&gt;
&lt;p&gt;I get this fault with all the ble projects at the moment. Those screen shots are from an unmodifed copy of ble_app_proximity (well I changed the optimisation so the stack trace has more info for the second screen shot).&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/HardFault.png" alt="HardFault.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/About_5F00_to_5F00_HardFault.png" alt="About_to_HardFault.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_proximity.7z"&gt;ble_app_proximity.7z&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem Loading Bonding Info From Flash</title><link>https://devzone.nordicsemi.com/thread/5046?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2013 11:47:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5d4d30d-d00b-4110-9931-48510d0fc2cd</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;A HardFault can be caused by a number of different reasons, but one of them is unaligned access. Even though the line above the one you quote is supposed to catch this, can you please check what the pointer values are at the point where you suspect it fails?&lt;/p&gt;
&lt;p&gt;Also, even when you get a HardFault, you should be able to see a backtrace to the point that caused it with version 6.0.0 of the softdevice. What do you see in the call stack window when you put a breakpoint in the HardFault handler?&lt;/p&gt;
&lt;p&gt;A HardFault is also what will happen if you try to do an operation that the MPU forbids, or try to access flash/RAM outside the valid areas. This does however seem unlikely in this case, unless you have very strange values for the flash pages used for bonds and system attributes, but it could be worth checking.&lt;/p&gt;
&lt;p&gt;If you still have trouble, could you please share your complete project? As normal, if you need confidentiality, please create a support case on our regular web site.&lt;/p&gt;
&lt;p&gt;Edit: Rephrased somewhat in first and third paragraph.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>