<?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>Bus fault detected when entering function</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69906/bus-fault-detected-when-entering-function</link><description>Hi, 
 We have been working with a Zigbee coordinator based on nRF52840 with nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b, Softdevice and FreeRTOS. 
 Zigbee task defines a stack of (64+2048)+4 = 8448 bytes. It is placed in RAM from 0x2000a3ac to 0x200082ac</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Dec 2020 09:20:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69906/bus-fault-detected-when-entering-function" /><item><title>RE: Bus fault detected when entering function</title><link>https://devzone.nordicsemi.com/thread/286799?ContentTypeID=1</link><pubDate>Tue, 29 Dec 2020 09:20:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d405ba0-3509-4664-a577-cdc92c4cb1de</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thank you for the update. I&amp;#39;m glad to hear that you found the problem &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bus fault detected when entering function</title><link>https://devzone.nordicsemi.com/thread/286759?ContentTypeID=1</link><pubDate>Mon, 28 Dec 2020 15:44:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cedbf8cb-4a5f-4987-983b-c7ad06200d2e</guid><dc:creator>sjf</dc:creator><description>&lt;p&gt;Thanks so much. We could identify that there was an uninitialized pointer quite close to where the pc was pointing to.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bus fault detected when entering function</title><link>https://devzone.nordicsemi.com/thread/286748?ContentTypeID=1</link><pubDate>Mon, 28 Dec 2020 14:54:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35013bff-461f-427e-8368-6048d0c01be2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you please try to follow instructions provided here in the blog post to see if you can find the exact instruction that lead to the hardfault:&amp;nbsp;&lt;a href="https://interrupt.memfault.com/blog/cortex-m-fault-debug#imprecise-error-code-example"&gt;https://interrupt.memfault.com/blog/cortex-m-fault-debug#imprecise-error-code-example?&lt;/a&gt;&amp;nbsp; Also, maybe you have tried it already, but would it make sense to increase the stack sizes in your application, or have you already profiled the stack usage?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bus fault detected when entering function</title><link>https://devzone.nordicsemi.com/thread/286689?ContentTypeID=1</link><pubDate>Mon, 28 Dec 2020 11:46:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a46adda8-a26c-4e3e-9fcd-56ea9833026f</guid><dc:creator>sjf</dc:creator><description>&lt;p&gt;Hi, find below some extra info when Bus Fault is detected:&lt;/p&gt;
&lt;p&gt;BFSR = 0x00000004 (IMPRECISERR = 1)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>