<?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>topic Re: Error Debug FreeRTOS Example On S32K344 S32 Design Studio@3.6.1 in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Error-Debug-FreeRTOS-Example-On-S32K344-S32-Design-Studio-3-6-1/m-p/2084091#M13341</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249585"&gt;@Qiurui&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;To be able to help you, please share the following information:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;RTD version you are using, so I may try to reproduce the issue locally.&lt;/LI&gt;
&lt;LI&gt;Are you using one of our boards or a custom one? If you are using an NXP board, please share the model.&lt;/LI&gt;
&lt;LI&gt;Have you done any modifications to the FreeRTOS example you mentioned you are using?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Apr 2025 00:19:53 GMT</pubDate>
    <dc:creator>alejandro_e</dc:creator>
    <dc:date>2025-04-22T00:19:53Z</dc:date>
    <item>
      <title>Error Debug FreeRTOS Example On S32K344 S32 Design Studio@3.6.1</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Error-Debug-FreeRTOS-Example-On-S32K344-S32-Design-Studio-3-6-1/m-p/2083895#M13338</link>
      <description>&lt;P class=""&gt;Hi everyone,&lt;/P&gt;&lt;P class=""&gt;I'm currently developing an application for &lt;FONT color="#FF0000"&gt;S32K344&lt;/FONT&gt; using FreeRTOS and encountered a rather strange issue. When I try to step-through debug my program, it consistently gets stuck at&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;static&lt;EM&gt; &lt;FONT color="#FF0000"&gt;void prvPortStartFirstTask(void)&lt;/FONT&gt;&lt;/EM&gt;, specifically at the assembly instruction&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;svc 255&lt;/FONT&gt;&lt;/EM&gt;.&lt;/P&gt;&lt;P class=""&gt;The odd part is that the program runs perfectly fine when I simply download and reset it - the issue only occurs during step-by-step debugging.&lt;/P&gt;&lt;P class=""&gt;Has anyone experienced something similar or could offer some guidance? I've attached my debugger configuration page for reference.&lt;/P&gt;&lt;P class=""&gt;Thanks in advance for any help!&lt;/P&gt;&lt;P class=""&gt;#S32K344&amp;nbsp; #jlink&lt;/P&gt;&lt;P class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="c8544584-5c2f-45e8-ac3d-e62dcceb47b2.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/334084i1E4AD44957E95CE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="c8544584-5c2f-45e8-ac3d-e62dcceb47b2.png" alt="c8544584-5c2f-45e8-ac3d-e62dcceb47b2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snipaste_2025-04-21_20-35-59.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/334082i85952F46679E54DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snipaste_2025-04-21_20-35-59.png" alt="Snipaste_2025-04-21_20-35-59.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 12:40:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Error-Debug-FreeRTOS-Example-On-S32K344-S32-Design-Studio-3-6-1/m-p/2083895#M13338</guid>
      <dc:creator>Qiurui</dc:creator>
      <dc:date>2025-04-21T12:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error Debug FreeRTOS Example On S32K344 S32 Design Studio@3.6.1</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Error-Debug-FreeRTOS-Example-On-S32K344-S32-Design-Studio-3-6-1/m-p/2084091#M13341</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249585"&gt;@Qiurui&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;To be able to help you, please share the following information:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;RTD version you are using, so I may try to reproduce the issue locally.&lt;/LI&gt;
&lt;LI&gt;Are you using one of our boards or a custom one? If you are using an NXP board, please share the model.&lt;/LI&gt;
&lt;LI&gt;Have you done any modifications to the FreeRTOS example you mentioned you are using?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 00:19:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Error-Debug-FreeRTOS-Example-On-S32K344-S32-Design-Studio-3-6-1/m-p/2084091#M13341</guid>
      <dc:creator>alejandro_e</dc:creator>
      <dc:date>2025-04-22T00:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error Debug FreeRTOS Example On S32K344 S32 Design Studio@3.6.1</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Error-Debug-FreeRTOS-Example-On-S32K344-S32-Design-Studio-3-6-1/m-p/2084116#M13343</link>
      <description>&lt;P&gt;Thanks for your reply.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;I'm using RTD 5.0.0&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The board is a custom design (not an NXP development board)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;None modifications&amp;nbsp;on the&amp;nbsp;FreeRTOS example project&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set up the build environment by installing the offline packages listed below.&lt;/P&gt;&lt;P&gt;.&lt;BR /&gt;├── S32DS_3.6.1_RFP_win32.x86_64.exe&lt;BR /&gt;├── SW32K3_FreeRTOS_11.1.0_5.0.0_CD1_D2409_DesignStudio_updatesite.zip&lt;BR /&gt;├── SW32K3_HAL_examples_2025.03_DesignStudio_updatesite.zip&lt;BR /&gt;└── SW32K3_S32M27x_RTD_R21-11_5.0.0_D2410_DesignStudio_updatesite.zip&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 01:43:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Error-Debug-FreeRTOS-Example-On-S32K344-S32-Design-Studio-3-6-1/m-p/2084116#M13343</guid>
      <dc:creator>Qiurui</dc:creator>
      <dc:date>2025-04-22T01:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error Debug FreeRTOS Example On S32K344 S32 Design Studio@3.6.1</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Error-Debug-FreeRTOS-Example-On-S32K344-S32-Design-Studio-3-6-1/m-p/2084920#M13347</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249585"&gt;@Qiurui&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for the detailed description of your setup. I have tested with the same packages and I successfully debugged the&amp;nbsp;FreeRTOS_Toggle_Led_Example_S32K344 program, I was able to perform step-by-step debugging with no problem. I a&amp;nbsp;&lt;A href="https://www.nxp.com/design/design-center/development-boards-and-designs/S32K3X4EVB-T172" target="_blank" rel="noopener"&gt;S32K3X4EVB-T172&lt;/A&gt;, which has a build-in debugger using the PEmicro configuration in S32DS.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alejandro_e_0-1745361614536.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/334364i4DB43E886823D35F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alejandro_e_0-1745361614536.png" alt="alejandro_e_0-1745361614536.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From my perspective your issue is related to the Segger-Jlink plugin, I would recommend to contact them directly to know if their debugger features FreeRTOS debugging.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if I can help you with anything else relate to this problem.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 22:40:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Error-Debug-FreeRTOS-Example-On-S32K344-S32-Design-Studio-3-6-1/m-p/2084920#M13347</guid>
      <dc:creator>alejandro_e</dc:creator>
      <dc:date>2025-04-22T22:40:21Z</dc:date>
    </item>
  </channel>
</rss>

