<?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>Reset from CPU lock-up detected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104144/reset-from-cpu-lock-up-detected</link><description>We have been seeing resets with the &amp;#39;Reset from CPU lock-up detected&amp;#39; bit set in the Reset Reason register. This is the only bit that is set. 
 How can we go about determining what is causing this reset? 
 nRF52832 SDK 12.2.0 SoftDevice 3.0.0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Oct 2023 13:15:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104144/reset-from-cpu-lock-up-detected" /><item><title>RE: Reset from CPU lock-up detected</title><link>https://devzone.nordicsemi.com/thread/451320?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 13:15:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85f08a28-c329-4a48-9bfb-2c131a022422</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;I see you have created a &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/104823/softdevice-fault-at-pc-0x0001089e"&gt;new support case&lt;/a&gt; for the latest issue which is away form the original scope. Please use that case to continue.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset from CPU lock-up detected</title><link>https://devzone.nordicsemi.com/thread/451138?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2023 20:03:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76885131-1cec-4612-98a5-6ceed0dc7097</guid><dc:creator>kevin101</dc:creator><description>&lt;p&gt;I&amp;#39;m trying to understand the &amp;#39;timeslots&amp;#39;. This seems to have something do to with the radio. We are not using the radio calls explicitiy, but we are using bluetooth. Does bluetooth use these timeslots? Are you saying that our callbacks could be taking too long?&lt;br /&gt;Is there a way to see which timeslot is taking too long? Are there definitions of the size of the timeslots? Are they adjustable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset from CPU lock-up detected</title><link>https://devzone.nordicsemi.com/thread/451126?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2023 18:23:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68207d16-faf6-49c9-b072-179d4d774f5d</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The assertion&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;strong&gt;0x0001089E&lt;/strong&gt;&amp;nbsp;can occur if you have a timeslot that overstayed its duration, or that you are stepping through the code while debugging.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset from CPU lock-up detected</title><link>https://devzone.nordicsemi.com/thread/451102?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2023 14:42:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb31919a-ad99-460e-b1f5-fe3740d25ad0</guid><dc:creator>kevin101</dc:creator><description>&lt;p&gt;I think this may be related:&amp;nbsp; We often get a fault from the SoftDevice with ID=1 at PC=0x0001089e.&lt;/p&gt;
&lt;p&gt;Is there a way to determine what part of the SoftDevice is posting this fault?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset from CPU lock-up detected</title><link>https://devzone.nordicsemi.com/thread/450386?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 18:09:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d650d250-b57a-44a0-a4e2-eb2ae08f9dc5</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;The hardfault handler in the softdevice can lock up if the stack pointer is messed up (like not pointing into RAM etc).&lt;/p&gt;
&lt;p&gt;Its does more work than just calling the application handler, and this work assumes working stack.&lt;/p&gt;
&lt;p&gt;Look through your code for stack buffer overflows.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset from CPU lock-up detected</title><link>https://devzone.nordicsemi.com/thread/450385?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 17:55:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e744734c-3c0a-47a4-812a-62c423450cf9</guid><dc:creator>kevin101</dc:creator><description>&lt;p&gt;From the answer in the linked question:&lt;/p&gt;
&lt;p&gt;&amp;quot;Hi, you should possible check your hardfault handler, for instance a hardfault within the hardfault handler may cause reset by CPU lockup.&amp;quot;&lt;/p&gt;
&lt;p&gt;Are there other causes of the CPU lock-up?&lt;/p&gt;
&lt;p&gt;We did not have a HardFault Handler implemented so we were using the default from &amp;#39;gcc_startup_nrf52.S&amp;#39; which looks like it just sits in and endless loop.&lt;/p&gt;
&lt;p&gt;We ended up implementing a HardFault Handler that just saves some information to a section of RAM that does not get initialized at boot. This did not seem to make any difference, and it doesn&amp;#39;t look like the HardFault handler is called in the case of the CPU lock-up. (I am able to force a HardFault so I verified that our handler is working.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset from CPU lock-up detected</title><link>https://devzone.nordicsemi.com/thread/447738?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2023 13:24:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64aa7bbb-ea8f-49ee-82ef-748abbbeb3ac</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/32894/what-does-cpu-lock-up-mean-and-how-should-i-debug-this-issue/126706"&gt;this answer&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>