<?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>topic Re: S32K324 Can't debug in FLASH mode in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1774661#M29621</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, I have also modified Core 1 SystemInit function in the same way.&lt;BR /&gt;No, I have not tested the RTD 4.0.0 because the project on which I'm working require the version 3.0.0 of RTD.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 14 Dec 2023 09:28:11 GMT</pubDate>
    <dc:creator>Simone9</dc:creator>
    <dc:date>2023-12-14T09:28:11Z</dc:date>
    <item>
      <title>S32K324 Can't debug in FLASH mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1773177#M29559</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have created a project for the S32K324 microcontroller and started development.&lt;BR /&gt;Debugging in RAM gives me no problems and I can work normally.&lt;BR /&gt;However, when I try to debug in FLASH I get a hard fault.&lt;BR /&gt;In particular, the console log shows the following message:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"MemManage: The processor attempted an instruction fetch from a location that does not permit execution. &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;HardFault: A fault has been escalated to a hard fault."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Instead, in the call graph, the calls are as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simone9_0-1702390655853.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/254005i1ABBB55D77E2A270/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Simone9_0-1702390655853.png" alt="Simone9_0-1702390655853.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Simone9_0-1702390655853.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it seems to get stuck at cache initialisation.&lt;BR /&gt;Among the design variables is the define D_CACHE_ENABLE so it should enable it.&lt;/P&gt;&lt;P&gt;How can I solve this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IDE version 3.5 update 6&lt;BR /&gt;RTD v3.0.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the support&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 14:20:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1773177#M29559</guid>
      <dc:creator>Simone9</dc:creator>
      <dc:date>2023-12-12T14:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32K324 Can't debug in FLASH mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1773451#M29563</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;DIV&gt;HardFault may caused by:&lt;SPAN&gt;&amp;nbsp;Missing define S32K324/S32K314 in SystemInit() so MPU region for ROM hasn’t enabled:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="For RTD 3.0.0 Missing define S32K314 in SystemInit() so MPU region for ROM hasn’t enabled.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/254062i923B899CF12A2F06/image-size/large?v=v2&amp;amp;px=999" role="button" title="For RTD 3.0.0 Missing define S32K314 in SystemInit() so MPU region for ROM hasn’t enabled.png" alt="For RTD 3.0.0 Missing define S32K314 in SystemInit() so MPU region for ROM hasn’t enabled.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;For RTD 3.0.0 Missing define S32K314 in SystemInit() so MPU region for ROM hasn’t enabled.png&lt;/span&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;
&lt;P&gt;This issue has been fixed in S32K3 RTD 4.0.0.&lt;BR /&gt;Sorry for the inconvenience we bring you!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Dec 2023 01:09:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1773451#M29563</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-12-13T01:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32K324 Can't debug in FLASH mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1774102#M29587</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;BR /&gt;I added in SystemInit() the define of the S32K324 in the section you indicated directly by hand.&lt;BR /&gt;This way I am able to debug in FLASH and it works.&lt;/P&gt;&lt;P&gt;But it only works for Core0 in both single mode and "Launch Group" mode.&lt;BR /&gt;On the other hand, for Core1 with the same change in debug mode in "Launch Group" mode, the situation in the pictures below happens.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simone9_0-1702486192325.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/254248iA30C620D39B6E63B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Simone9_0-1702486192325.png" alt="Simone9_0-1702486192325.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Simone9_0-1702486192325.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the consol log what I can see is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simone9_1-1702486226514.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/254249i438118FCA638F7E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Simone9_1-1702486226514.png" alt="Simone9_1-1702486226514.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Simone9_1-1702486226514.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, i'm able to debug only the Core0 but not the Core1. How can I resolve this issue?&lt;BR /&gt;&lt;BR /&gt;Thanks for the support.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 16:51:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1774102#M29587</guid>
      <dc:creator>Simone9</dc:creator>
      <dc:date>2023-12-13T16:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: S32K324 Can't debug in FLASH mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1774648#M29619</link>
      <description>&lt;P&gt;Have you also modified SystemInit in S32K324_M7_1/Project_Settings/Startup_Code/system.c? Have you tested S32K3 RTD 4.0.0 to see if this problem also exists?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 09:17:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1774648#M29619</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-12-14T09:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32K324 Can't debug in FLASH mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1774661#M29621</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, I have also modified Core 1 SystemInit function in the same way.&lt;BR /&gt;No, I have not tested the RTD 4.0.0 because the project on which I'm working require the version 3.0.0 of RTD.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 09:28:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1774661#M29621</guid>
      <dc:creator>Simone9</dc:creator>
      <dc:date>2023-12-14T09:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: S32K324 Can't debug in FLASH mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1777485#M29793</link>
      <description>&lt;P&gt;I don't have S32K324 chip on hand, only S32K344EVB.&lt;BR /&gt;Is it convenient for you to install another S32DS v3.5+S32K3 RTD 4.0.0 for testing?&amp;nbsp;&amp;nbsp;If S32K3 RTD 4.0.0 works, then we can compare the differences and fix it.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 01:43:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1777485#M29793</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-12-20T01:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: S32K324 Can't debug in FLASH mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1777791#M29811</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I solved the problem by recreating the project from scratch.&lt;BR /&gt;Probably, something went wrong with the creation of the project than adding the missing definition that I can debug in flash in both cores.&lt;/P&gt;&lt;P&gt;Thanks for the support.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 08:23:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1777791#M29811</guid>
      <dc:creator>Simone9</dc:creator>
      <dc:date>2023-12-20T08:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: S32K324 Can't debug in FLASH mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1977107#M42274</link>
      <description>Where do I find S32K3 RTD 4.0.0 ? I installed S32 Design Studio and then when I go to Help -&amp;gt; S32DS Extensions and Updates, I only find S32K3 Real-Time Drivers AUTOSAR R21-11 Version 3.0.0.</description>
      <pubDate>Fri, 18 Oct 2024 12:59:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1977107#M42274</guid>
      <dc:creator>ASN7</dc:creator>
      <dc:date>2024-10-18T12:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32K324 Can't debug in FLASH mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1977613#M42288</link>
      <description>&lt;P&gt;Please offline install it by refer to&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/RTD-4-0-with-Design-Studio-3-5/m-p/1846501#M34160" target="_self"&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;RTD 4.0 with Design Studio 3.5&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 01:18:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K324-Can-t-debug-in-FLASH-mode/m-p/1977613#M42288</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2024-10-21T01:18:06Z</dc:date>
    </item>
  </channel>
</rss>

