<?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: S32K144 RAM test failed in startup phase</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-RAM-test-failed-in-startup-phase/m-p/2143302#M51460</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209239"&gt;@LijieDu&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you still identify the reset source?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jul 2025 07:23:54 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2025-07-30T07:23:54Z</dc:date>
    <item>
      <title>S32K144 RAM test failed in startup phase</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-RAM-test-failed-in-startup-phase/m-p/2142092#M51398</link>
      <description>&lt;P&gt;when I am doing the ram test below in startup phase, it always resets in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;step3&lt;/STRONG&gt;, I can't find the reason,&lt;/P&gt;&lt;P&gt;pls help me/(ㄒoㄒ)/~~&lt;/P&gt;&lt;P&gt;-----------------------↓----------------↓-----------------------------------&lt;/P&gt;&lt;P&gt;;;&lt;STRONG&gt;RAM TEST (__RAM_START=0x1FFF9000 /__RAM_END&lt;/STRONG&gt;=&lt;STRONG&gt;0x20006FFF)&lt;/STRONG&gt;&lt;BR /&gt;;;STEP 1 - Write background 00 with addresses increasing&lt;BR /&gt;LDR R1, =__RAM_START&lt;BR /&gt;LDR R2, =__RAM_END&lt;/P&gt;&lt;P&gt;SUBS R2, R2, R1&lt;BR /&gt;SUBS R2, #1&lt;BR /&gt;BLE .TS1_2&lt;/P&gt;&lt;P&gt;MOVS R0, #0&lt;BR /&gt;MOVS R3, #4&lt;BR /&gt;.TS1_1: ;TEST STEP 1.1&lt;BR /&gt;STR R0, [R1]&lt;BR /&gt;ADD R1, R1, R3&lt;BR /&gt;SUBS R2, #4&lt;BR /&gt;BGE .TS1_1&lt;BR /&gt;.TS1_2: ;TEST STEP 1.1&lt;/P&gt;&lt;P&gt;;;STEP 2 - Verify background and write inverted background 0xFF with addresses increasing&lt;BR /&gt;LDR R1, =__RAM_START&lt;BR /&gt;LDR R2, =__RAM_END&lt;/P&gt;&lt;P&gt;SUBS R2, R2, R1&lt;BR /&gt;SUBS R2, #1&lt;BR /&gt;BLE .TS2_2&lt;/P&gt;&lt;P&gt;LDR R3, =0xFFFFFFFF&lt;BR /&gt;.TS2_1: ;TEST STEP 2.1&lt;BR /&gt;LDR R0, [R1]&lt;BR /&gt;CMP R0, #0&lt;BR /&gt;BNE Fst_RAMTSTFAIL&lt;/P&gt;&lt;P&gt;STR R3, [R1]&lt;BR /&gt;ADDS R1, R1, #4&lt;BR /&gt;SUBS R2, #4&lt;BR /&gt;BGE .TS2_1&lt;BR /&gt;.TS2_2: ;TEST STEP 2.2&lt;/P&gt;&lt;P&gt;;;STEP 3 - Verify inverted background 0xFF and write background 0x00 with addresses&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;increasing&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;LDR R1, =__RAM_START&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;LDR R2, =__RAM_END&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;SUBS R2, R2, R1&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;SUBS R2, #1&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;BLE .TS3_2&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;MOVS R4, #0&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;.TS3_1: ;TEST STEP 3.1&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;LDR R0, [R1]&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;LDR R3, =0xFFFFFFFF&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;CMP R0, R3&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;BNE Fst_RAMTSTFAIL&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;STR R4, [R1]&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;ADDS R1, R1, #4&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;SUBS R2, #4&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;BGE .TS3_1&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;.TS3_2: ;TEST STEP 3.2&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;;;STEP 4 - Verify background 0x00 and write inverted background 0xFF with addresses&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;;;STEP 5 - Verify inverted background and write background with addresses decreasing&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 00:00:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-RAM-test-failed-in-startup-phase/m-p/2142092#M51398</guid>
      <dc:creator>LijieDu</dc:creator>
      <dc:date>2025-07-29T00:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 RAM test failed in startup phase</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-RAM-test-failed-in-startup-phase/m-p/2142530#M51421</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209239"&gt;@LijieDu&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Do you know the address where the MCU resets?&lt;/P&gt;
&lt;P&gt;If the MCU is resetting unexpectedly, it’s likely due to a core lockup, which sets the RCM_SRS[LOCKUP] flag. This typically happens when a fault (such as a HardFault) occurs and there is no valid HardFault_Handler implemented in your project.&lt;/P&gt;
&lt;P&gt;To improve debugging and catch these exceptions more effectively, I recommend implementing a custom HardFault_Handler.&amp;nbsp;&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>Tue, 29 Jul 2025 08:45:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-RAM-test-failed-in-startup-phase/m-p/2142530#M51421</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-07-29T08:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 RAM test failed in startup phase</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-RAM-test-failed-in-startup-phase/m-p/2143020#M51443</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer, I have implemented a HardFault handler and it didn't run to it.&lt;/P&gt;&lt;P&gt;The code is used on s32k118 and I reuse it on s32k144,&amp;nbsp; the difference is RAM_START and RAM_END definition.&lt;/P&gt;&lt;P&gt;Is there something wrong with the code or I just ignore something else with s32k144?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 00:12:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-RAM-test-failed-in-startup-phase/m-p/2143020#M51443</guid>
      <dc:creator>LijieDu</dc:creator>
      <dc:date>2025-07-30T00:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 RAM test failed in startup phase</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-RAM-test-failed-in-startup-phase/m-p/2143302#M51460</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209239"&gt;@LijieDu&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you still identify the reset source?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 07:23:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-RAM-test-failed-in-startup-phase/m-p/2143302#M51460</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-07-30T07:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 RAM test failed in startup phase</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-RAM-test-failed-in-startup-phase/m-p/2144048#M51495</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is so hard to find the reset cause! That is why I am seeking help here&lt;LI-EMOJI id="lia_loudly-crying-face" title=":loudly_crying_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;When executing the reset handler (reset vector table), the MCU is blank, and then it initializes registers R1-R12 and starts the RAM test. Nothing else is done.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 02:36:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-RAM-test-failed-in-startup-phase/m-p/2144048#M51495</guid>
      <dc:creator>LijieDu</dc:creator>
      <dc:date>2025-07-31T02:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 RAM test failed in startup phase</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-RAM-test-failed-in-startup-phase/m-p/2144084#M51496</link>
      <description>&lt;P&gt;I find the reset cause, but still confused about it, I even didn't config the wdog.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LijieDu_0-1753931796098.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/350364i1FBCE6E4FC9EB3DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LijieDu_0-1753931796098.png" alt="LijieDu_0-1753931796098.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 03:18:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-RAM-test-failed-in-startup-phase/m-p/2144084#M51496</guid>
      <dc:creator>LijieDu</dc:creator>
      <dc:date>2025-07-31T03:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 RAM test failed in startup phase</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-RAM-test-failed-in-startup-phase/m-p/2144275#M51510</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209239"&gt;@LijieDu&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The WDOG is enabled by default out of reset:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1753946893835.png" style="width: 598px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/350410i4E3FB452B82E86FA/image-dimensions/598x136?v=v2" width="598" height="136" role="button" title="danielmartynek_0-1753946893835.png" alt="danielmartynek_0-1753946893835.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It is disabled in the Startup:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1753946992275.png" style="width: 600px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/350412i4C14D2FDF5DC4814/image-dimensions/600x361?v=v2" width="600" height="361" role="button" title="danielmartynek_1-1753946992275.png" alt="danielmartynek_1-1753946992275.png" /&gt;&lt;/span&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 07:30:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-RAM-test-failed-in-startup-phase/m-p/2144275#M51510</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-07-31T07:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 RAM test failed in startup phase</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-RAM-test-failed-in-startup-phase/m-p/2144305#M51511</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do the ram test before disable the wdog, so it resets!&lt;/P&gt;&lt;P&gt;It didn't happen on s32k118(ram size is 23k), because the ram to be tested is less than 32k144(ram size is 64k).&lt;/P&gt;&lt;P&gt;I disable the wdog before ram test, and it run normally&lt;LI-EMOJI id="lia_beaming-face-with-smiling-eyes" title=":beaming_face_with_smiling_eyes:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;thanks bro&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 07:44:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-RAM-test-failed-in-startup-phase/m-p/2144305#M51511</guid>
      <dc:creator>LijieDu</dc:creator>
      <dc:date>2025-07-31T07:44:01Z</dc:date>
    </item>
  </channel>
</rss>

