<?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>Peer Manager fails to initialize</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54066/peer-manager-fails-to-initialize</link><description>I am getting errors when initializing the Peer Manager in my code. Here are the items that are unique to my setup: 
 1) I have a thread which uses fstorage to store a single page of values @ addresses 
 #define FLASH_STORAGE_START_ADDRESS 0x6F000 #define</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Nov 2019 11:13:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54066/peer-manager-fails-to-initialize" /><item><title>RE: Peer Manager fails to initialize</title><link>https://devzone.nordicsemi.com/thread/220275?ContentTypeID=1</link><pubDate>Fri, 15 Nov 2019 11:13:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e067249-274a-4b6d-9f38-8f9cbfec6cfc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry for the delay. Have you had&amp;nbsp;any progress on this?&amp;nbsp;If not, please check&amp;nbsp;what the value of the &amp;quot;info&amp;quot; argument is when you get the&amp;nbsp;NRF_FAULT_ID_APP_MEMACC assertion.&amp;nbsp;I suspect it&amp;#39;s a RAM access violation&amp;nbsp;if it fails on&amp;nbsp;&lt;span&gt;queue_buf_get(), but it would be nice to confirm.&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&amp;quot;The info parameter will contain 0x00000000,&lt;br /&gt; in case of SoftDevice RAM access violation. In case of SoftDevice peripheral&lt;br /&gt; register violation the info parameter will contain the sub-region number of&lt;br /&gt; PREGION[0], on whose address range the disallowed write access caused the&lt;br /&gt; memory access fault. */&amp;quot;&lt;/p&gt;
&lt;p&gt;What IDE/toolchain and SDK are you using? Maybe you could try to add your fstorage implementation to another SDK example such as ble_app_hrs and see if you get the same result?&amp;nbsp;If you do I can try to debug it here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer Manager fails to initialize</title><link>https://devzone.nordicsemi.com/thread/218910?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 17:39:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b81ec74d-f059-4ae3-bd91-3e5322e38114</guid><dc:creator>Dave_couling</dc:creator><description>&lt;p&gt;Yup I&amp;#39;d already done this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer Manager fails to initialize</title><link>https://devzone.nordicsemi.com/thread/218894?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 15:55:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcc3c7c2-e01e-472f-8b19-7b9c418dd5ac</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When using a SoftDevice, you need to choose the SoftDevice backend for fstorage for &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Fgroup__nrf__fstorage.html&amp;amp;anchor=gab79d5600c602c2aa0ac2ddd4e61ed449"&gt;nrf_fstorage_init()&lt;/a&gt;. See the fstorage &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Flib_fstorage.html&amp;amp;anchor=lib_fstorage_init"&gt;Initialization&lt;/a&gt; documentation.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>