<?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中的主题 The program is stuck in the prvPortStartFirstTask function in FreeRTOS</title>
    <link>https://community.nxp.com/t5/S32K/The-program-is-stuck-in-the-prvPortStartFirstTask-function-in/m-p/2159465#M52201</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I recently encountered an issue while debugging the freertos program of S32K322: the program gets stuck in the prvPortStartFirstTask function during runtime.&lt;BR /&gt;(Development Platform: S32DS. 3.6.2&amp;nbsp; &amp;nbsp; &amp;nbsp; Chip model: S32K322&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;RTD:SW32K3_S32M27x_RTD_R21-11_6.0.0_D2506_DesignStudio_updatesite&lt;/P&gt;&lt;P&gt;FreeRTOS:SW32K3_FreeRTOS_10.6.0_CD_4.0.0_DS_updatesite_D2312&lt;/P&gt;&lt;P&gt;Debugging tools:SEGGER J-Link)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user01_0-1756343741760.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354459iEE919CD71167F4D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_0-1756343741760.png" alt="user01_0-1756343741760.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The freertos configuration is as follows：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user01_3-1756342965095.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354452i814AD8DC566321C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_3-1756342965095.png" alt="user01_3-1756342965095.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="user01_4-1756342981197.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354453i6302B9EDC99B715D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_4-1756342981197.png" alt="user01_4-1756342981197.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user01_5-1756342998367.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354454i091F132E3533657A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_5-1756342998367.png" alt="user01_5-1756342998367.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="user01_6-1756343016724.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354455i493A9815C066382F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_6-1756343016724.png" alt="user01_6-1756343016724.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have also looked at solutions to similar problems, mainly in two ways: ① updating the FreeRTOS version; ② Replace the debugging tool with a PE burner.&lt;/P&gt;&lt;P&gt;Since I don't have a PE burner, I tried the first option and the situation is as follows:&lt;BR /&gt;Firstly, I uninstalled SW32K3_SreeRTOS_10.6.0_CD_4.0_Supdatesite_S2312, and then installed SW32K3_SreeRTOS_11.1.0_6.0.0_CD1_S2506-DesightStudio_uupdatesite (as this version of freertos is compatible with my RTD6.0 and S32DS 3.6.2 versions), and it shows in help -&amp;gt;S32DS Extensions and Updates -&amp;gt;Installed that the installation has indeed been successful，&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user01_7-1756343326366.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354457iC2458CC6AA0683BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_7-1756343326366.png" alt="user01_7-1756343326366.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but two issues arose:&lt;/P&gt;&lt;P&gt;① There is no OS layer, let alone freertos option&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user01_1-1756342702225.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354449i1A8CFB2EF2D25C3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_1-1756342702225.png" alt="user01_1-1756342702225.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;②There are no routines for freertos&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user01_2-1756342709693.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354450iA15BBBAF26949B0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_2-1756342709693.png" alt="user01_2-1756342709693.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It seems that the first method has failed，so I would like to ask if there are any other methods that can solve my problem. Thank you&lt;/P&gt;</description>
    <pubDate>Thu, 28 Aug 2025 01:16:08 GMT</pubDate>
    <dc:creator>user01</dc:creator>
    <dc:date>2025-08-28T01:16:08Z</dc:date>
    <item>
      <title>The program is stuck in the prvPortStartFirstTask function in FreeRTOS</title>
      <link>https://community.nxp.com/t5/S32K/The-program-is-stuck-in-the-prvPortStartFirstTask-function-in/m-p/2159465#M52201</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I recently encountered an issue while debugging the freertos program of S32K322: the program gets stuck in the prvPortStartFirstTask function during runtime.&lt;BR /&gt;(Development Platform: S32DS. 3.6.2&amp;nbsp; &amp;nbsp; &amp;nbsp; Chip model: S32K322&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;RTD:SW32K3_S32M27x_RTD_R21-11_6.0.0_D2506_DesignStudio_updatesite&lt;/P&gt;&lt;P&gt;FreeRTOS:SW32K3_FreeRTOS_10.6.0_CD_4.0.0_DS_updatesite_D2312&lt;/P&gt;&lt;P&gt;Debugging tools:SEGGER J-Link)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user01_0-1756343741760.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354459iEE919CD71167F4D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_0-1756343741760.png" alt="user01_0-1756343741760.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The freertos configuration is as follows：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user01_3-1756342965095.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354452i814AD8DC566321C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_3-1756342965095.png" alt="user01_3-1756342965095.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="user01_4-1756342981197.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354453i6302B9EDC99B715D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_4-1756342981197.png" alt="user01_4-1756342981197.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user01_5-1756342998367.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354454i091F132E3533657A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_5-1756342998367.png" alt="user01_5-1756342998367.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="user01_6-1756343016724.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354455i493A9815C066382F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_6-1756343016724.png" alt="user01_6-1756343016724.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have also looked at solutions to similar problems, mainly in two ways: ① updating the FreeRTOS version; ② Replace the debugging tool with a PE burner.&lt;/P&gt;&lt;P&gt;Since I don't have a PE burner, I tried the first option and the situation is as follows:&lt;BR /&gt;Firstly, I uninstalled SW32K3_SreeRTOS_10.6.0_CD_4.0_Supdatesite_S2312, and then installed SW32K3_SreeRTOS_11.1.0_6.0.0_CD1_S2506-DesightStudio_uupdatesite (as this version of freertos is compatible with my RTD6.0 and S32DS 3.6.2 versions), and it shows in help -&amp;gt;S32DS Extensions and Updates -&amp;gt;Installed that the installation has indeed been successful，&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user01_7-1756343326366.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354457iC2458CC6AA0683BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_7-1756343326366.png" alt="user01_7-1756343326366.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but two issues arose:&lt;/P&gt;&lt;P&gt;① There is no OS layer, let alone freertos option&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user01_1-1756342702225.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354449i1A8CFB2EF2D25C3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_1-1756342702225.png" alt="user01_1-1756342702225.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;②There are no routines for freertos&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user01_2-1756342709693.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354450iA15BBBAF26949B0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_2-1756342709693.png" alt="user01_2-1756342709693.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It seems that the first method has failed，so I would like to ask if there are any other methods that can solve my problem. Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 01:16:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-program-is-stuck-in-the-prvPortStartFirstTask-function-in/m-p/2159465#M52201</guid>
      <dc:creator>user01</dc:creator>
      <dc:date>2025-08-28T01:16:08Z</dc:date>
    </item>
  </channel>
</rss>

