<?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>MPU FAULT when connect to central</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110689/mpu-fault-when-connect-to-central</link><description>I am getting MPU FAULT when connecting central device. In while(1) loop I am reading sensor data because of that MPU FAULT coming can you please help how to resolve this issue [00:00:55.284,942] &amp;lt;err&amp;gt; os: ***** MPU FAULT ***** [00:00:55.284,942] &amp;lt;err</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Apr 2024 16:28:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110689/mpu-fault-when-connect-to-central" /><item><title>RE: MPU FAULT when connect to central</title><link>https://devzone.nordicsemi.com/thread/481162?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2024 16:28:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6e71b48-fc52-4ce7-b6e4-496e07facc2a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;If you convert the decimal numbers to hex, specifically the contents of&amp;nbsp;LR and PC, you should be able to do a lookup of the addresses using arm-none-eabi-addr2line.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Please check the debug tips&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-2-debugging/topic/build-errors-and-fatal-errors/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-2-debugging/topic/build-errors-and-fatal-errors/&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/kernel/services/other/fatal.html"&gt;https://docs.zephyrproject.org/latest/kernel/services/other/fatal.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MPU FAULT when connect to central</title><link>https://devzone.nordicsemi.com/thread/481154?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2024 15:58:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd3279b4-383d-45e4-860e-f31ebc16c113</guid><dc:creator>Madhu Mohan Reddy</dc:creator><description>&lt;p&gt;again this issue came&amp;nbsp;&lt;span&gt;(send_data_thread_id) is a id of thread function please help on reolving this&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[00:00:41.072,998] &amp;lt;err&amp;gt; os: ***** BUS FAULT *****&lt;br /&gt;[00:00:41.073,028] &amp;lt;err&amp;gt; os: Precise data bus error&lt;br /&gt;[00:00:41.073,059] &amp;lt;err&amp;gt; os: BFAR Address: 0x20040000&lt;br /&gt;[00:00:41.073,059] &amp;lt;err&amp;gt; os: r0/a1: 0x2000481a r1/a2: 0x20040000 r2/a3: 0x2004001e&lt;br /&gt;[00:00:41.073,089] &amp;lt;err&amp;gt; os: r3/a4: 0x200048ec r12/ip: 0x00000001 r14/lr: 0x00010fb7&lt;br /&gt;[00:00:41.073,089] &amp;lt;err&amp;gt; os: xpsr: 0x81000000&lt;br /&gt;[00:00:41.073,120] &amp;lt;err&amp;gt; os: s[ 0]: 0x2003ff2d s[ 1]: 0x00010fb7 s[ 2]: 0x20008334 s[ 3]: 0x00010f9d&lt;br /&gt;[00:00:41.073,120] &amp;lt;err&amp;gt; os: s[ 4]: 0x00000000 s[ 5]: 0x00011c83 s[ 6]: 0x00000000 s[ 7]: 0x00011c8f&lt;br /&gt;[00:00:41.073,150] &amp;lt;err&amp;gt; os: s[ 8]: 0xc821f81e s[ 9]: 0x99bc8e20 s[10]: 0xc383b44f s[11]: 0x200017c8&lt;br /&gt;[00:00:41.073,150] &amp;lt;err&amp;gt; os: s[12]: 0x43bb8c10 s[13]: 0x74890b80 s[14]: 0x246f4feb s[15]: 0xc359a24a&lt;br /&gt;[00:00:41.073,181] &amp;lt;err&amp;gt; os: fpscr: 0xc98cb4cc&lt;br /&gt;[00:00:41.073,181] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0x00027adc&lt;br /&gt;[00:00:41.073,211] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 25: Unknown error on CPU 0&lt;br /&gt;[00:00:41.073,272] &amp;lt;err&amp;gt; os: Current thread: 0x200017c8 (send_data_thread_id)&lt;br /&gt;[00:00:41.243,591] &amp;lt;err&amp;gt; os: Halting system&lt;br /&gt;&lt;br /&gt;thank ypou in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MPU FAULT when connect to central</title><link>https://devzone.nordicsemi.com/thread/481123?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2024 14:02:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdc38b25-42a4-44d1-a2a1-569f2f87f517</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The log indicated that the logging thread causing the fault.&lt;/p&gt;
&lt;p&gt;Generally, you can use arm-none-eabi-addr2line -e build-folder/zephyr/zephyr.elf 0xFAULTINGADDR to resolve the address to a source file and line number. In this case, I suspect the logging thread is running out of memory.&lt;/p&gt;
&lt;p&gt;Could you try adjusting the logging thread stack via this config&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_LOG_PROCESS_THREAD_STACK_SIZE"&gt;CONFIG_LOG_PROCESS_THREAD_STACK_SIZE&lt;/a&gt;?&amp;nbsp;&lt;span&gt;Could you try to check the value in the .config under build/&lt;/span&gt;&lt;span&gt;zephyr and then increase this and see if this removes the error?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>