<?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/2159483#M52203</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_8-1756344655740.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354469iDE2022845EE36966/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_8-1756344655740.png" alt="user01_8-1756344655740.png" /&gt;&lt;/span&gt;&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_1-1756344533162.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354461iEC86EAA89F0D5C9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_1-1756344533162.png" alt="user01_1-1756344533162.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_2-1756344533186.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354463iD88FEA52628AD6AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_2-1756344533186.png" alt="user01_2-1756344533186.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_3-1756344533200.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354464iA908F694EBCE91C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_3-1756344533200.png" alt="user01_3-1756344533200.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-1756344533159.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354466i6337176EEDDA38D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_4-1756344533159.png" alt="user01_4-1756344533159.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_5-1756344533085.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354465i67B5FDC06B8CEE41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_5-1756344533085.png" alt="user01_5-1756344533085.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_6-1756344533085.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354468iDCE9496ACCFC3686/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_6-1756344533085.png" alt="user01_6-1756344533085.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_7-1756344533354.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354467i4E1D47CC2B71CA3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_7-1756344533354.png" alt="user01_7-1756344533354.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:32:13 GMT</pubDate>
    <dc:creator>user01</dc:creator>
    <dc:date>2025-08-28T01:32:13Z</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/2159483#M52203</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_8-1756344655740.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354469iDE2022845EE36966/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_8-1756344655740.png" alt="user01_8-1756344655740.png" /&gt;&lt;/span&gt;&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_1-1756344533162.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354461iEC86EAA89F0D5C9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_1-1756344533162.png" alt="user01_1-1756344533162.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_2-1756344533186.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354463iD88FEA52628AD6AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_2-1756344533186.png" alt="user01_2-1756344533186.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_3-1756344533200.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354464iA908F694EBCE91C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_3-1756344533200.png" alt="user01_3-1756344533200.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-1756344533159.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354466i6337176EEDDA38D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_4-1756344533159.png" alt="user01_4-1756344533159.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_5-1756344533085.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354465i67B5FDC06B8CEE41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_5-1756344533085.png" alt="user01_5-1756344533085.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_6-1756344533085.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354468iDCE9496ACCFC3686/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_6-1756344533085.png" alt="user01_6-1756344533085.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_7-1756344533354.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354467i4E1D47CC2B71CA3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_7-1756344533354.png" alt="user01_7-1756344533354.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:32:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-program-is-stuck-in-the-prvPortStartFirstTask-function-in/m-p/2159483#M52203</guid>
      <dc:creator>user01</dc:creator>
      <dc:date>2025-08-28T01:32:13Z</dc:date>
    </item>
  </channel>
</rss>

