<?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のトピックFreeRTOS stucks at prvPortStartFirstTask in s32k3xx</title>
    <link>https://community.nxp.com/t5/S32K/FreeRTOS-stucks-at-prvPortStartFirstTask-in-s32k3xx/m-p/2177560#M53150</link>
    <description>&lt;P&gt;Hi Everyone ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am trying to run FreeRTOS run in S32k328, i created a single task and try to run it , at first time runs properly , but after that&amp;nbsp; code stuck at one&lt;/P&gt;&lt;P&gt;Hi Everyone ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am trying to run FreeRTOS run in S32k328, i created a single task and try to run it , at first time runs properly , but after that&amp;nbsp; code stuck at one&amp;nbsp;&lt;SPAN&gt;prvPortStartFirstTask(),&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_0-1759158821831.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358923iF120B1470D6FCD3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_0-1759158821831.png" alt="AntoZ_0-1759158821831.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_3-1759158949207.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358927i2ABFF69A6F65056D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_3-1759158949207.png" alt="AntoZ_3-1759158949207.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i changed the svc handler name in vector table , we got this error, posted the images for your reference,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-09-29 203137.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358924i65A3187E47109B86/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-09-29 203137.png" alt="Screenshot 2025-09-29 203137.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_1-1759158884509.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358925i35AB7C8EF3567939/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_1-1759158884509.png" alt="AntoZ_1-1759158884509.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_2-1759158900388.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358926iA8BCBF647080FC5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_2-1759158900388.png" alt="AntoZ_2-1759158900388.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;do anything needs to change?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(),&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_0-1759158821831.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358923iF120B1470D6FCD3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_0-1759158821831.png" alt="AntoZ_0-1759158821831.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_3-1759158949207.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358927i2ABFF69A6F65056D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_3-1759158949207.png" alt="AntoZ_3-1759158949207.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i changed the svc handler name in vector table , we got this error, posted the images for your reference,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-09-29 203137.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358924i65A3187E47109B86/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-09-29 203137.png" alt="Screenshot 2025-09-29 203137.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_1-1759158884509.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358925i35AB7C8EF3567939/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_1-1759158884509.png" alt="AntoZ_1-1759158884509.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_2-1759158900388.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358926iA8BCBF647080FC5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_2-1759158900388.png" alt="AntoZ_2-1759158900388.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;do anything needs to change?&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="S32K3" id="S32K3"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Sep 2025 15:29:55 GMT</pubDate>
    <dc:creator>leo_Z</dc:creator>
    <dc:date>2025-09-29T15:29:55Z</dc:date>
    <item>
      <title>FreeRTOS stucks at prvPortStartFirstTask in s32k3xx</title>
      <link>https://community.nxp.com/t5/S32K/FreeRTOS-stucks-at-prvPortStartFirstTask-in-s32k3xx/m-p/2177560#M53150</link>
      <description>&lt;P&gt;Hi Everyone ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am trying to run FreeRTOS run in S32k328, i created a single task and try to run it , at first time runs properly , but after that&amp;nbsp; code stuck at one&lt;/P&gt;&lt;P&gt;Hi Everyone ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am trying to run FreeRTOS run in S32k328, i created a single task and try to run it , at first time runs properly , but after that&amp;nbsp; code stuck at one&amp;nbsp;&lt;SPAN&gt;prvPortStartFirstTask(),&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_0-1759158821831.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358923iF120B1470D6FCD3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_0-1759158821831.png" alt="AntoZ_0-1759158821831.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_3-1759158949207.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358927i2ABFF69A6F65056D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_3-1759158949207.png" alt="AntoZ_3-1759158949207.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i changed the svc handler name in vector table , we got this error, posted the images for your reference,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-09-29 203137.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358924i65A3187E47109B86/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-09-29 203137.png" alt="Screenshot 2025-09-29 203137.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_1-1759158884509.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358925i35AB7C8EF3567939/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_1-1759158884509.png" alt="AntoZ_1-1759158884509.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_2-1759158900388.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358926iA8BCBF647080FC5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_2-1759158900388.png" alt="AntoZ_2-1759158900388.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;do anything needs to change?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(),&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_0-1759158821831.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358923iF120B1470D6FCD3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_0-1759158821831.png" alt="AntoZ_0-1759158821831.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_3-1759158949207.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358927i2ABFF69A6F65056D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_3-1759158949207.png" alt="AntoZ_3-1759158949207.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i changed the svc handler name in vector table , we got this error, posted the images for your reference,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-09-29 203137.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358924i65A3187E47109B86/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-09-29 203137.png" alt="Screenshot 2025-09-29 203137.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_1-1759158884509.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358925i35AB7C8EF3567939/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_1-1759158884509.png" alt="AntoZ_1-1759158884509.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_2-1759158900388.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358926iA8BCBF647080FC5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_2-1759158900388.png" alt="AntoZ_2-1759158900388.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;do anything needs to change?&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="S32K3" id="S32K3"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 15:29:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FreeRTOS-stucks-at-prvPortStartFirstTask-in-s32k3xx/m-p/2177560#M53150</guid>
      <dc:creator>leo_Z</dc:creator>
      <dc:date>2025-09-29T15:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS stucks at prvPortStartFirstTask in s32k3xx</title>
      <link>https://community.nxp.com/t5/S32K/FreeRTOS-stucks-at-prvPortStartFirstTask-in-s32k3xx/m-p/2178697#M53195</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/252204"&gt;@leo_Z&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for the additional information and screenshots.&lt;/P&gt;
&lt;P&gt;From the register view, I can see that the VTOR (Vector Table Offset Register) is set to 0x20000000, which means the vector table is relocated to RAM. This is a valid configuration, but it requires that the vector table in RAM is correctly initialized, including the entry for the SVC_Handler.&lt;/P&gt;
&lt;P&gt;Since you mentioned that you renamed the SVC_Handler, please ensure the following:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;The vector table in RAM at 0x20000000 must contain the correct address of your renamed SVC_Handler.&lt;BR /&gt;If the table was copied from flash, make sure it reflects the updated symbol name.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;If you are using C++, ensure the handler is declared with extern "C" to avoid name mangling:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV tabindex="0" role="group" aria-label="Code Preview"&gt;
&lt;DIV dir="ltr" data-testid="ComponentFluentProviderId"&gt;
&lt;DIV tabindex="-1"&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;!--ScriptorStartFragment--&gt;extern "C" void My_SVC_Handler(void)&lt;!--ScriptorEndFragment--&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Verify that the vector table is correctly copied to RAM before setting VTOR.&lt;BR /&gt;This is typically done early in SystemInit() or main().&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Double-check that the renamed handler is correctly linked and not discarded by the linker.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;If the issue persists, could you please share a minimal version of your project that reproduces the problem? This would help us analyze the vector table setup and handler linkage in more detail.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 09:52:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FreeRTOS-stucks-at-prvPortStartFirstTask-in-s32k3xx/m-p/2178697#M53195</guid>
      <dc:creator>PavelL</dc:creator>
      <dc:date>2025-10-01T09:52:21Z</dc:date>
    </item>
  </channel>
</rss>

