<?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>nRF 52840 infinite loop in mesh bootloader after restart</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84146/nrf-52840-infinite-loop-in-mesh-bootloader-after-restart</link><description>hi, 
 when I call &amp;#39;mesh_stack_device_reset()&amp;#39; function from the application, then the bootloader goes into infinite loop. 
 exactly at the point int the main() -&amp;gt; init_clock() function 
 I read the errata_36, the workaround is in the SDK already, but</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Feb 2022 16:03:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84146/nrf-52840-infinite-loop-in-mesh-bootloader-after-restart" /><item><title>RE: nRF 52840 infinite loop in mesh bootloader after restart</title><link>https://devzone.nordicsemi.com/thread/351384?ContentTypeID=1</link><pubDate>Fri, 04 Feb 2022 16:03:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e141235d-a186-4c5e-9536-9688e247e82c</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the clarification.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It seems strange that only one of your board sees this issue, it might be a unique case like you said. The issue might be related to calibration of the RC oscillator, but I would recommend you do some debugging and go through the code step by step and see what is happening. Do you get any return code on the device?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF 52840 infinite loop in mesh bootloader after restart</title><link>https://devzone.nordicsemi.com/thread/350952?ContentTypeID=1</link><pubDate>Wed, 02 Feb 2022 17:23:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:015a2628-b363-452c-a193-8a8cb6977f4f</guid><dc:creator>attila-v</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;Sorry I was not clear!&lt;br /&gt;the original problem is that there is a board which goes into infinite loop after calling the &amp;#39;mesh_stack_device_reset()&amp;#39; function from the fw.&lt;br /&gt;another ten boards are working fine.&lt;/p&gt;
&lt;p&gt;all the eleven boards are the totally same construction (custom hw, custom bootloader, custom fw).&lt;br /&gt;if I remove this code snippet from bootloader:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;while (!NRF_CLOCK-&amp;gt;EVENTS_DONE);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;then the problematic board will be fine too&lt;br /&gt;but it is a workaround only&amp;nbsp; - that&amp;#39;s why I said that the problem is solved, but the error is still exists.&lt;/p&gt;
&lt;p&gt;best regards,&lt;/p&gt;
&lt;p&gt;Attila&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF 52840 infinite loop in mesh bootloader after restart</title><link>https://devzone.nordicsemi.com/thread/350949?ContentTypeID=1</link><pubDate>Wed, 02 Feb 2022 16:55:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df1b4287-1671-4671-a65f-838838e0ec1e</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Since the board is custom and the bootloader is modified it is hard to say what the issue is.&amp;nbsp;&lt;/p&gt;
[quote user="attila-v"]&lt;p&gt;when I removed this snippet of code then the problem is solved, but the error is still exists...&lt;/p&gt;
&lt;p&gt;another 10 boards are working fine without this modofocation, is it possible that this is a unique problem?&lt;/p&gt;[/quote]
&lt;p&gt;Confused by this. What do you mean by &amp;quot;problem is solved, but the error stil exists&amp;quot;? Seems like it isnt solved. And by snippet do you mean the modifications made to the bootloader?&lt;/p&gt;
[quote user="attila-v"]another 10 boards are working fine without this modofocation, is it possible that this is a unique problem?[/quote]
&lt;p&gt;By modiifcations, I assume you mean the ones you made ot the bootloader? The 10 other board, were they all custom boards or DKs?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF 52840 infinite loop in mesh bootloader after restart</title><link>https://devzone.nordicsemi.com/thread/350440?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 13:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2c98edc-44c0-4310-b435-154f10ce8c57</guid><dc:creator>attila-v</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;thank you!&lt;/p&gt;
&lt;p&gt;nRF5SDK - BLE Mesh v3.1.0&lt;/p&gt;
&lt;p&gt;the board is custom and the bootloader is modified by me (&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/63840/application-update-with-mesh-sdk"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/63840/application-update-with-mesh-sdk&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;when I removed this snippet of code then the problem is solved, but the error is still exists...&lt;/p&gt;
&lt;p&gt;another 10 boards are working fine without this modofocation, is it possible that this is a unique problem?&lt;/p&gt;
&lt;p&gt;that&amp;#39;s why my original question was, has anyone encountered this situation?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF 52840 infinite loop in mesh bootloader after restart</title><link>https://devzone.nordicsemi.com/thread/350416?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 12:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d73661d-4f81-48b9-b3cd-2020a2667718</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you give me more details about your setup? Which Mesh SDK are you using?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you using an unmodified example from the SDK?&lt;/p&gt;
&lt;p&gt;What board are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>