<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>S32K中的主题 Re: MemManage and HardFault come up when debugging, so it doesn't work</title>
    <link>https://community.nxp.com/t5/S32K/MemManage-and-HardFault-come-up-when-debugging-so-it-doesn-t/m-p/2043392#M45874</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Thank you for your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RTD is using 3.0.0 version. I will attach the picture.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bohee2_0-1739444517454.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/323843iB8AE0A4A0DEC9D1E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bohee2_0-1739444517454.png" alt="bohee2_0-1739444517454.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this an error caused by the RTD version? I am asking because such an error does not occur when it is 5.0.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2025 11:02:18 GMT</pubDate>
    <dc:creator>bohee2</dc:creator>
    <dc:date>2025-02-13T11:02:18Z</dc:date>
    <item>
      <title>MemManage and HardFault come up when debugging, so it doesn't work</title>
      <link>https://community.nxp.com/t5/S32K/MemManage-and-HardFault-come-up-when-debugging-so-it-doesn-t/m-p/2043310#M45870</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently using the s32k324 board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running a simple example code, but I get the following two errors while debugging&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;MemManage: The processor attempted an instruction fetch from a location that does not permit execution.&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;HardFault: A fault has been escalated to a hard fault.&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you tell me the solution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 09:38:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MemManage-and-HardFault-come-up-when-debugging-so-it-doesn-t/m-p/2043310#M45870</guid>
      <dc:creator>bohee2</dc:creator>
      <dc:date>2025-02-13T09:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: MemManage and HardFault come up when debugging, so it doesn't work</title>
      <link>https://community.nxp.com/t5/S32K/MemManage-and-HardFault-come-up-when-debugging-so-it-doesn-t/m-p/2043387#M45872</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/244576"&gt;@bohee2&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Which revision of the RTD do you use?&lt;/P&gt;
&lt;P&gt;There have been some issues with the MPU configuration in system.c for some S32K3xx derivatives.&lt;/P&gt;
&lt;P&gt;In general, MemManage faults are caused by MPU access violation.&lt;/P&gt;
&lt;P&gt;You can disable the MPU in system.c&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 10:57:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MemManage-and-HardFault-come-up-when-debugging-so-it-doesn-t/m-p/2043387#M45872</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-02-13T10:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: MemManage and HardFault come up when debugging, so it doesn't work</title>
      <link>https://community.nxp.com/t5/S32K/MemManage-and-HardFault-come-up-when-debugging-so-it-doesn-t/m-p/2043392#M45874</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RTD is using 3.0.0 version. I will attach the picture.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bohee2_0-1739444517454.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/323843iB8AE0A4A0DEC9D1E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bohee2_0-1739444517454.png" alt="bohee2_0-1739444517454.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this an error caused by the RTD version? I am asking because such an error does not occur when it is 5.0.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 11:02:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MemManage-and-HardFault-come-up-when-debugging-so-it-doesn-t/m-p/2043392#M45874</guid>
      <dc:creator>bohee2</dc:creator>
      <dc:date>2025-02-13T11:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: MemManage and HardFault come up when debugging, so it doesn't work</title>
      <link>https://community.nxp.com/t5/S32K/MemManage-and-HardFault-come-up-when-debugging-so-it-doesn-t/m-p/2044435#M45907</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/244576"&gt;@bohee2&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;In system.c of the RTD version, the MPU region 2 is not configured on S32K324.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1739523808523.png" style="width: 717px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/324006i7912D48477733000/image-dimensions/717x95?v=v2" width="717" height="95" role="button" title="danielmartynek_0-1739523808523.png" alt="danielmartynek_0-1739523808523.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see above, S32K324 macro is missing.&lt;/P&gt;
&lt;P&gt;Solution is to add S32K324 there so that RASR[2] is configured&amp;nbsp;&lt;/P&gt;
&lt;P&gt;rasr[2]=0x070B0027UL;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 09:05:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MemManage-and-HardFault-come-up-when-debugging-so-it-doesn-t/m-p/2044435#M45907</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-02-14T09:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: MemManage and HardFault come up when debugging, so it doesn't work</title>
      <link>https://community.nxp.com/t5/S32K/MemManage-and-HardFault-come-up-when-debugging-so-it-doesn-t/m-p/2046795#M46021</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks to you, I solved it&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 02:26:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MemManage-and-HardFault-come-up-when-debugging-so-it-doesn-t/m-p/2046795#M46021</guid>
      <dc:creator>bohee2</dc:creator>
      <dc:date>2025-02-19T02:26:15Z</dc:date>
    </item>
  </channel>
</rss>

