<?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>NCS v1.6.1 with ENC28J60 crashes with MPU fault</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80576/ncs-v1-6-1-with-enc28j60-crashes-with-mpu-fault</link><description>Hi, 
 It seems that we are experiencing exactly the same as what is described in this topic by @kienasv. That topic seems closed for replies, and the solution has never been posted. For us, the problems started after updating from NCS v1.5.1 to NCS v1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Oct 2021 13:38:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80576/ncs-v1-6-1-with-enc28j60-crashes-with-mpu-fault" /><item><title>RE: NCS v1.6.1 with ENC28J60 crashes with MPU fault</title><link>https://devzone.nordicsemi.com/thread/335777?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2021 13:38:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fa4f2b8-462c-45af-b9e5-7b5f1d1961d9</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;If you got the same fail log as the customer in&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/73911/mpu-fault-when-running-central-coded-bluetooth-task-and-enc28j60-dhcpv4_client-task-simultaneously"&gt;MPU Fault when running central coded bl...&lt;/a&gt;, the issue occurs because you&amp;#39;re trying to write to the address 0x30a03 (&amp;quot;&lt;em&gt;MMFAR Address: 0x30a03&amp;quot;&lt;/em&gt;), which is below the RAM memory address 0x20000000. So&amp;nbsp;&lt;code&gt;&lt;span&gt;p_cb&lt;/span&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;&lt;span&gt;evt&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;xfer_desc&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&lt;code&gt;p_rx_buffer&lt;/code&gt;&amp;nbsp;points to&amp;nbsp;0x30a03 for some reason.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you try to set CONFIG_ASSERT=y in the prj.conf and see if you get any hints on what the issue may be.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS v1.6.1 with ENC28J60 crashes with MPU fault</title><link>https://devzone.nordicsemi.com/thread/334609?ContentTypeID=1</link><pubDate>Mon, 18 Oct 2021 12:36:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de34531c-aabc-443e-9fad-cc62a41d6300</guid><dc:creator>newUser</dc:creator><description>&lt;p&gt;No problem!&lt;/p&gt;
&lt;p&gt;Indeed, it&amp;#39;s the same as in the other topic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS v1.6.1 with ENC28J60 crashes with MPU fault</title><link>https://devzone.nordicsemi.com/thread/334606?ContentTypeID=1</link><pubDate>Mon, 18 Oct 2021 12:33:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e70fd3f-3a86-49d9-96bd-1658960a8e87</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Sorry, I was a little quick to ask, I don&amp;#39;t have an&amp;nbsp;&lt;span&gt;ENC28J60 at hand at the moment, so you don&amp;#39;t need to share the project. I&amp;#39;ll try to get a hold of one if needed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If you use addr2line, what line do you find? The same as in&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/73911/mpu-fault-when-running-central-coded-bluetooth-task-and-enc28j60-dhcpv4_client-task-simultaneously"&gt;MPU Fault when running central coded bl...&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Also could you share the Fail log? Set CONFIG_THREAD_NAME=y so we can see what thread caused the fault.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS v1.6.1 with ENC28J60 crashes with MPU fault</title><link>https://devzone.nordicsemi.com/thread/334038?ContentTypeID=1</link><pubDate>Thu, 14 Oct 2021 07:19:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91c922d3-efe9-4ee3-afc3-45aab2605c01</guid><dc:creator>newUser</dc:creator><description>&lt;p&gt;Our setup is one with a nRF52840 connected to an ENC28J60. When data is coming in on the ethernet chip, it crashes on the read_mem function using SPI.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, could we make the ticket private if we are to share code? Do you have nRF52840 hardware with the ENC28J60?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS v1.6.1 with ENC28J60 crashes with MPU fault</title><link>https://devzone.nordicsemi.com/thread/333973?ContentTypeID=1</link><pubDate>Wed, 13 Oct 2021 13:51:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36c2e1d2-8b3c-4f84-b70d-8249caf4fad0</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Could you describe how to reproduce this, or upload your project (or a simplified project that demonstrates the issue) as a zipped file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>