<?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>Mesh Assert in unknown file and line 0 (probably a flash related issue)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50774/mesh-assert-in-unknown-file-and-line-0-probably-a-flash-related-issue</link><description>Hello, 
 
 I am getting error - 
 t: 17532&amp;gt;, app_error_weak.c, 108, Mesh assert at 0x0002CF9E (:0) 
 I debugged it, it took me to the flash_manager.c - line 254 which is 
 NRF_MESH_ASSERT(p_manager-&amp;gt;config.p_area[i].metadata.page_index == i); 
 Any help</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Aug 2019 15:36:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50774/mesh-assert-in-unknown-file-and-line-0-probably-a-flash-related-issue" /><item><title>RE: Mesh Assert in unknown file and line 0 (probably a flash related issue)</title><link>https://devzone.nordicsemi.com/thread/205680?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2019 15:36:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cad2ce2b-87de-44c6-97dd-648687ddba7f</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Very sorry for the delayed response. How are you erasing flash &amp;amp; handling that? It is most likely related to this. The &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v3.2.0/md_doc_libraries_flash_manager.html?cp=5_2_2_0"&gt;flash manager documentation&lt;/a&gt; explains this quite well. Also take a look at the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v3.2.0/group__FLASH__MANAGER.html?cp=5_2_4_6_1_0"&gt;flash manager API doc&lt;/a&gt;. Did you set up similar to how the light switch example does it? Do you have any code snippets I could look at?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Assert in unknown file and line 0 (probably a flash related issue)</title><link>https://devzone.nordicsemi.com/thread/204467?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2019 11:05:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee97ad16-2669-4c99-8a8a-95ab0638b1dd</guid><dc:creator>shreyab</dc:creator><description>&lt;p&gt;okay, and what about the persistent storage issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Assert in unknown file and line 0 (probably a flash related issue)</title><link>https://devzone.nordicsemi.com/thread/204460?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2019 10:49:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5cfc122-0a00-4d41-a2e5-2dd0b7eb6717</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Yes, I believe that may be the case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Assert in unknown file and line 0 (probably a flash related issue)</title><link>https://devzone.nordicsemi.com/thread/204443?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2019 09:57:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bfa66f8-cbc3-4802-9244-d7dad5fb00e6</guid><dc:creator>shreyab</dc:creator><description>&lt;p&gt;are you saying i need generic on off along with lightness for lightness server to receive any messages? &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Assert in unknown file and line 0 (probably a flash related issue)</title><link>https://devzone.nordicsemi.com/thread/204404?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2019 07:44:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa361c6f-f6b9-4886-88c1-c3a1d9c53ca5</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Have you taken a look at &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v3.2.0/md_doc_libraries_how_to_models.html?cp=5_2_2_3_0"&gt;this documentation&lt;/a&gt;? It seems that the light lightness actual state is bound to an instance of the Generic OnOff state. See the mesh model specifications for more info regarding this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Assert in unknown file and line 0 (probably a flash related issue)</title><link>https://devzone.nordicsemi.com/thread/204402?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2019 07:35:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87326362-bb70-4329-a7da-b4a912d206ac</guid><dc:creator>shreyab</dc:creator><description>&lt;p&gt;1. No this doesnt happe with the light switch example, i have simply added my lightness model in place of the generic on off, (haven&amp;#39;t handled the bindings yet) but i just want the server to receive the client commands. &lt;/p&gt;
&lt;p&gt;2. is generic on off required for lightness to work?? (i haven&amp;#39;t implemented the bindings)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Assert in unknown file and line 0 (probably a flash related issue)</title><link>https://devzone.nordicsemi.com/thread/204399?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2019 07:24:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a81a28aa-7fc5-457e-8c57-5fe41fa1424c</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Have you noticed this issue with the standard light switch server example? What changes have you made to the code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Assert in unknown file and line 0 (probably a flash related issue)</title><link>https://devzone.nordicsemi.com/thread/204385?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2019 05:23:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c7ba06d-a283-4cfe-b88d-31cf2852be75</guid><dc:creator>shreyab</dc:creator><description>&lt;p&gt;No I haven&amp;#39;t tried with the new sdk, will test that. Ive made some changes in the light switch server example and testing it with lightness model that we wrote&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Assert in unknown file and line 0 (probably a flash related issue)</title><link>https://devzone.nordicsemi.com/thread/204297?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2019 12:17:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:643b3173-b8f9-45f3-bb68-4e7e9832d77b</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Do you see the same issue when you try with mesh sdk v3.2.0? Are you testing with your own example or one of our examples?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Assert in unknown file and line 0 (probably a flash related issue)</title><link>https://devzone.nordicsemi.com/thread/203882?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2019 14:33:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5d868f7-ddf4-4958-b23a-5702dd37f4ff</guid><dc:creator>shreyab</dc:creator><description>&lt;p&gt;yes, on multiple dev kits&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Assert in unknown file and line 0 (probably a flash related issue)</title><link>https://devzone.nordicsemi.com/thread/203839?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2019 13:22:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0e696e9-81d6-4b63-a2a9-35ec6757334b</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;&amp;amp; have you received the same error on the other dev kit? Or is it only on one DK that you see this error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Assert in unknown file and line 0 (probably a flash related issue)</title><link>https://devzone.nordicsemi.com/thread/203710?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2019 04:01:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:504cf35f-f83c-4172-8831-19ea91c9d90a</guid><dc:creator>shreyab</dc:creator><description>&lt;p&gt;I have done nothing different on the other dev kit (other than using a different JLink!)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Assert in unknown file and line 0 (probably a flash related issue)</title><link>https://devzone.nordicsemi.com/thread/203494?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2019 07:49:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fa58e23-8138-407b-afe7-fdfae57e4fe9</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Are you only receiving this error on one dev kit or multiple dev kits? On the DK where you do not receive this error, have you done anything differently there?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Assert in unknown file and line 0 (probably a flash related issue)</title><link>https://devzone.nordicsemi.com/thread/203193?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2019 04:53:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dac42fc-4838-40f3-adc4-875610609271</guid><dc:creator>shreyab</dc:creator><description>&lt;p&gt;yeah, the output matches&lt;/p&gt;
&lt;p&gt;nRF_SDK/nrf5SDKforMeshv310src/mesh/core/src/flash_manager.c:254 (discriminator 1)&lt;/p&gt;
&lt;p&gt;and it goes away if i set PERSISTENT STORAGE to 0 but we need to use flash.. is this a bug?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Assert in unknown file and line 0 (probably a flash related issue)</title><link>https://devzone.nordicsemi.com/thread/203091?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2019 13:21:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3cd888d-d3e6-4330-b64a-3599cb535189</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Could you please double check this by running addr2line with your mesh assert, &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/25886/70-mesh-assert-at-0x00023680"&gt;like shown here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>