<?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>S32GのトピックRe: Hit HardFault when Debugging with Lauterbach on S32G</title>
    <link>https://community.nxp.com/t5/S32G/Hit-HardFault-when-Debugging-with-Lauterbach-on-S32G/m-p/2164400#M14778</link>
    <description>&lt;P&gt;Hi, NXP support.&lt;/P&gt;&lt;P&gt;GoldVIP version:&amp;nbsp;GoldVIP-S32G2-1.14.0&lt;/P&gt;&lt;P&gt;I would like to test the FBL demo code into RDB2 board. (What I have changed is that, I build with GHS compiler, and use a personal build framework, so all the components were coming from the GoldVIP).&lt;/P&gt;&lt;P&gt;I could make sure the memory have been mapped correctly and loaded to SRAM correctly(by IVT QSPI flash).&lt;/P&gt;&lt;P&gt;I just don't understand why the exception was triggered after only one step of debugging?&lt;/P&gt;</description>
    <pubDate>Fri, 05 Sep 2025 12:29:55 GMT</pubDate>
    <dc:creator>chaoping</dc:creator>
    <dc:date>2025-09-05T12:29:55Z</dc:date>
    <item>
      <title>Hit HardFault when Debugging with Lauterbach on S32G</title>
      <link>https://community.nxp.com/t5/S32G/Hit-HardFault-when-Debugging-with-Lauterbach-on-S32G/m-p/2164115#M14767</link>
      <description>&lt;P&gt;Hello, NXP support.&lt;/P&gt;&lt;P&gt;I setup a FLB image according to the guidelines in GoldenVIP folder.&lt;/P&gt;&lt;P&gt;Then I use IVT to generate the blob image and flash it into the RDB2 board.&lt;/P&gt;&lt;P&gt;When I debug with Lauterbach and click the reset button, the PC will reach the startup code expectedly.&lt;/P&gt;&lt;P&gt;But when I try to debug with "Step" or "Over" button, it will jump to "HardFault_Handler" directly.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chaoping_0-1757053768242.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/355676i77DFACCC6075BB5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaoping_0-1757053768242.png" alt="chaoping_0-1757053768242.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chaoping_1-1757053790464.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/355677iD0E9B74530930609/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaoping_1-1757053790464.png" alt="chaoping_1-1757053790464.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you know why, it there anything I'm missing to config?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chaoping_2-1757053888930.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/355678i36B9B47EA15AD4FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaoping_2-1757053888930.png" alt="chaoping_2-1757053888930.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you, looking forward to your feedback.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 06:33:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Hit-HardFault-when-Debugging-with-Lauterbach-on-S32G/m-p/2164115#M14767</guid>
      <dc:creator>chaoping</dc:creator>
      <dc:date>2025-09-05T06:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hit HardFault when Debugging with Lauterbach on S32G</title>
      <link>https://community.nxp.com/t5/S32G/Hit-HardFault-when-Debugging-with-Lauterbach-on-S32G/m-p/2164358#M14776</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/231410"&gt;@chaoping&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your post, would you mind calibrating on the following:&lt;/P&gt;
&lt;P&gt;1. Which version GoldVIP you used?&lt;/P&gt;
&lt;P&gt;2. Which project/samples used in your test?&lt;/P&gt;
&lt;P&gt;3. Have you ever tried other simpler samples on RDB2, if yes, any similar faults met?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;BR /&gt;Chenyin&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 10:27:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Hit-HardFault-when-Debugging-with-Lauterbach-on-S32G/m-p/2164358#M14776</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2025-09-05T10:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Hit HardFault when Debugging with Lauterbach on S32G</title>
      <link>https://community.nxp.com/t5/S32G/Hit-HardFault-when-Debugging-with-Lauterbach-on-S32G/m-p/2164400#M14778</link>
      <description>&lt;P&gt;Hi, NXP support.&lt;/P&gt;&lt;P&gt;GoldVIP version:&amp;nbsp;GoldVIP-S32G2-1.14.0&lt;/P&gt;&lt;P&gt;I would like to test the FBL demo code into RDB2 board. (What I have changed is that, I build with GHS compiler, and use a personal build framework, so all the components were coming from the GoldVIP).&lt;/P&gt;&lt;P&gt;I could make sure the memory have been mapped correctly and loaded to SRAM correctly(by IVT QSPI flash).&lt;/P&gt;&lt;P&gt;I just don't understand why the exception was triggered after only one step of debugging?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 12:29:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Hit-HardFault-when-Debugging-with-Lauterbach-on-S32G/m-p/2164400#M14778</guid>
      <dc:creator>chaoping</dc:creator>
      <dc:date>2025-09-05T12:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hit HardFault when Debugging with Lauterbach on S32G</title>
      <link>https://community.nxp.com/t5/S32G/Hit-HardFault-when-Debugging-with-Lauterbach-on-S32G/m-p/2164732#M14783</link>
      <description>&lt;P&gt;Hi, NXP support.&lt;/P&gt;&lt;P&gt;Looks like I have found the reason.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chaoping_0-1757259468702.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/355835iC08103221C23C442/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaoping_0-1757259468702.png" alt="chaoping_0-1757259468702.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I perform the "In Target Reset" in the Lauterbach. I could see the XPSR value reset to 0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chaoping_1-1757259542023.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/355836iB9AA3555E02232CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaoping_1-1757259542023.png" alt="chaoping_1-1757259542023.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The "Thumb" bit with 0 will make the processor enter "Lockup".&lt;/P&gt;&lt;P&gt;So I tried modify the XPSR to 0x01000000, then debugging becomes normally.&lt;/P&gt;&lt;P&gt;Could you tell me why would this XPSR to be cleared as "0" after reset by Lauterbach?&lt;/P&gt;&lt;P&gt;Is it mandatory to be set once after Power on the Chip?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Sep 2025 15:44:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Hit-HardFault-when-Debugging-with-Lauterbach-on-S32G/m-p/2164732#M14783</guid>
      <dc:creator>chaoping</dc:creator>
      <dc:date>2025-09-07T15:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Hit HardFault when Debugging with Lauterbach on S32G</title>
      <link>https://community.nxp.com/t5/S32G/Hit-HardFault-when-Debugging-with-Lauterbach-on-S32G/m-p/2164835#M14788</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/231410"&gt;@chaoping&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply&lt;/P&gt;
&lt;P&gt;Yes, the T bit should not be set to 0 for cortex-M cores, but I feel sorry that I did not reproduce your issue described on my end, by every "In target reset" triggering, the XPSR remains 0x010000xx, it may not be related with S32G directly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 04:14:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Hit-HardFault-when-Debugging-with-Lauterbach-on-S32G/m-p/2164835#M14788</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2025-09-08T04:14:28Z</dc:date>
    </item>
  </channel>
</rss>

