<?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>Infinite loop in app_timer causes nRF to hang and triggers watchdog reset</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70717/infinite-loop-in-app_timer-causes-nrf-to-hang-and-triggers-watchdog-reset</link><description>Hi, 
 I have an nRF 52832 running the SDK 15.2 as peripheral. I&amp;#39;ve found that, occasionally, the nRF will lock up and the watchdog will reset it. I&amp;#39;ve narrowed it down to the timer_list_insert routine or timer_list_remove. 
 
 I&amp;#39;ve also found this post</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Apr 2023 13:21:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70717/infinite-loop-in-app_timer-causes-nrf-to-hang-and-triggers-watchdog-reset" /><item><title>RE: Infinite loop in app_timer causes nRF to hang and triggers watchdog reset</title><link>https://devzone.nordicsemi.com/thread/419729?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2023 13:21:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9acce50-3c5d-481e-82f1-3c1a76380021</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We do not have an official recommendation on how to fix this, but the fix suggested in the thread you link to seems sensible. Regarding if this will be fixed you need to ask your&amp;nbsp;Nordic sales representative about that. However, generally, you should not expect many updates to the nRF5 SDK going forward.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Infinite loop in app_timer causes nRF to hang and triggers watchdog reset</title><link>https://devzone.nordicsemi.com/thread/418629?ContentTypeID=1</link><pubDate>Fri, 31 Mar 2023 13:37:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9beddfb-2222-400f-b10f-d169a8649923</guid><dc:creator>Federico</dc:creator><description>&lt;p&gt;Hi Einar,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We&amp;#39;ve been living with a custom fix on the SDK 15.2 for a while now, but this error started appearing again under different circumstances. So I tried backporting the app_timer2 from SDK 17.1.0 and also migrating the whole SDK, but we f&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/87917/bug-in-nrf_sortlist"&gt;ound the same bug, again, on app_timer2&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Is this a known issue? Is Nordic planning on releasing a fix for this? What&amp;#39;s the recommended workaround here?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Infinite loop in app_timer causes nRF to hang and triggers watchdog reset</title><link>https://devzone.nordicsemi.com/thread/290502?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 12:21:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e06b6d5-9524-4cf7-b027-e7e6ee2875b5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Yes, that is correct.&amp;nbsp;There are several issues with the original app_timer implementation and it is no longer being maintained. I recommend using app_timer2 which has an identical API. This also exists in SDK 15.2 but I suggest either migrating to a newer SDK or backport app_timer2 from SDK 16 or newer, as app_timer2 in SDK 15.x was still experimental.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Infinite loop in app_timer causes nRF to hang and triggers watchdog reset</title><link>https://devzone.nordicsemi.com/thread/290394?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 06:37:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de8f3e15-b24f-4ac7-8ccb-b56d1886a695</guid><dc:creator>mrono</dc:creator><description>[quote userid="93427" url="~/f/nordic-q-a/70717/infinite-loop-in-app_timer-causes-nrf-to-hang-and-triggers-watchdog-reset"]What is Nordic&amp;#39;s take on this?[/quote]
&lt;p&gt;They rewrote the whole thing. It is called app_timer_v2 in the newer SDKs.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think they will fix the old ones anymore, but&amp;nbsp;more likely&amp;nbsp;suggest you migrate to the newest SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>