<?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>After DFU update, device fail to initialize mesh stack configuration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113833/after-dfu-update-device-fail-to-initialize-mesh-stack-configuration</link><description>Hi, I am using light lightness server example for the testing of DFU OTA over mesh. I have successfully transferred the DFU archive over serial with nRF Util tool and follow the steps as described in the nrf5 SDK for mesh. After DFU update device restart</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Aug 2024 12:31:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113833/after-dfu-update-device-fail-to-initialize-mesh-stack-configuration" /><item><title>RE: After DFU update, device fail to initialize mesh stack configuration</title><link>https://devzone.nordicsemi.com/thread/499051?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2024 12:31:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff49dfee-2114-4b03-8223-22f09eb31105</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This error indicates that a Flash page used by Flash manager is corrupted. This may happen in a few different situations:&lt;/p&gt;
&lt;p&gt;It may happen if the flash configuration differs between the old and the new application. This could be that the flash area locations differ between the two versions of the application, or that the defragmentation recovery page is located at a different flash page.&lt;/p&gt;
&lt;p&gt;It may happen if the new application is larger than the old one, and the new application overwrites parts of flash pages previously used by flash manager. Those pages could have been outside of the application flash before, but now are inside the application flash space and therefore now holds part of the applicaiton instead.&lt;/p&gt;
&lt;p&gt;It may happen if during the firmware transfer, the bank for receiving the new applicaiton overlaps with pages used by the flash manager.&lt;/p&gt;
&lt;p&gt;If I recall correctly it could also happen if the bootloader itslef is updated, but for some reason the new bootloader is larger than the previous one. However this should not normally happen and so this is less likely to be the cause of the error that you see.&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><item><title>RE: After DFU update, device fail to initialize mesh stack configuration</title><link>https://devzone.nordicsemi.com/thread/498341?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 16:37:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b515c4a0-aaf5-45ff-a2dd-6088bc060673</guid><dc:creator>Danish_Riaz</dc:creator><description>&lt;p&gt;Hi Terje&amp;nbsp;&lt;/p&gt;
&lt;p&gt;addr2line shows assertion is trigger from file flash_manager.c&amp;nbsp; line number 255.&lt;/p&gt;
&lt;p&gt;Please find attached image:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/debug_5F00_essertion.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Danish Riaz&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After DFU update, device fail to initialize mesh stack configuration</title><link>https://devzone.nordicsemi.com/thread/498299?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 13:27:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:549c31ea-3916-4538-a220-8c276edc5f28</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In order for the files to contain proper debug information, you must build the project as Debug:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/debug_2D00_build.png" /&gt;&lt;/p&gt;
&lt;p&gt;Then you should be able to use addr2line to get the exact file and line of the assert, like this:&lt;/p&gt;
&lt;p&gt;addr2line.exe -e light_lightness_server_nrf52833_xxAA_s113_7.2.0.elf 0x2AC42&lt;/p&gt;
&lt;p&gt;With the current files, without proper debug info, you only get the file name, and a question mark indicating addr2line does not know what is the line number:&lt;/p&gt;
&lt;p&gt;flash_manager.c:?&lt;/p&gt;
&lt;p&gt;Please note that for a rebuild, the address of the assert will most likely differ, so you will have to do another test to see at what address the assert now happens, and use addr2line to figure out what file and line number correspond to that new address.&lt;/p&gt;
&lt;p&gt;If you have difficulties using addr2line, please make sure to do a DEBUG build of the project, and resend the files and provide the new assert address for me to have another look.&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><item><title>RE: After DFU update, device fail to initialize mesh stack configuration</title><link>https://devzone.nordicsemi.com/thread/498121?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2024 17:07:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3efb6a89-784a-49c8-ba6e-13daef3ae416</guid><dc:creator>Danish_Riaz</dc:creator><description>&lt;p&gt;Hi Terje&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please find attached files.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/debug_5F00_files.zip"&gt;devzone.nordicsemi.com/.../debug_5F00_files.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The code works fine without DFU update, mesh stack initialization fails only when we apply DFU update. And I am following steps as given nrf5SDK for mesh &amp;quot;&lt;span&gt;Configuring and performing DFU over Mesh&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards: Danish Riaz&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After DFU update, device fail to initialize mesh stack configuration</title><link>https://devzone.nordicsemi.com/thread/498104?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2024 15:09:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ccd9a15-c32c-494c-89da-e20031641d75</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You should see under &amp;quot;Output Files&amp;quot; in the side bar several files that are generated when you build the project. In particular the &lt;strong&gt;.map&lt;/strong&gt; file and the &lt;strong&gt;.elf&lt;/strong&gt; file are useful, for seeing where things are laid out in the binary. Can you share those two files?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/output-files.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t want to share those files in an open case, then please provide the files in a private case and refer to this case.&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><item><title>RE: After DFU update, device fail to initialize mesh stack configuration</title><link>https://devzone.nordicsemi.com/thread/497879?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 17:39:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d933c162-570c-49e8-81cf-8c46d6bc5e45</guid><dc:creator>Danish_Riaz</dc:creator><description>&lt;p&gt;Hi Terje&lt;/p&gt;
&lt;p&gt;I have debug and take logs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This image indicates that at this point device execution without essertion.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1723484268746v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;But after this it return following essersion:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1723484120008v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Let me know if there is any further necessary logs needed.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards: Danish Riaz&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After DFU update, device fail to initialize mesh stack configuration</title><link>https://devzone.nordicsemi.com/thread/497851?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 14:01:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bea6eb08-7568-40d5-b4bf-eda0fa87e331</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The assert happens on address 0x0002AC42. You will need to either use a tool such as addr2line, or to investigate the .map file (part of the output files of your build), in order to figure out what instructions (file and line of code) lead to the assert. This mapping will be different for different toolchains and for different modifications to the application. It would be best if you reproduce the issue with a debug build, with debug symbols available, and possibly also if you do a debug session in order to get the exact location and/or a full stack trace.&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>