<?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>i.MX RT Crossover MCUsのトピックRe: FreeRTOS Debugging in VS Code on RT1180-EVK</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Debugging-in-VS-Code-on-RT1180-EVK/m-p/2386772#M36765</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can successfully start a debug session on the secondary core, and everything works as expected before the FreeRTOS scheduler starts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, as soon as FreeRTOS starts scheduling tasks (after vTaskStartScheduler() is called), the debugger immediately disconnects and the debug session exits.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you please help me identify the possible cause of this issue? If there are any recommended debugger settings or FreeRTOS configurations that I should check, please let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;yanyan&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jun 2026 08:19:40 GMT</pubDate>
    <dc:creator>yanyanwang</dc:creator>
    <dc:date>2026-06-26T08:19:40Z</dc:date>
    <item>
      <title>FreeRTOS Debugging in VS Code on RT1180-EVK</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Debugging-in-VS-Code-on-RT1180-EVK/m-p/2383339#M36737</link>
      <description>&lt;P&gt;In the evkmimxrt1180_freertos_message_buffers_secondary_core example project, the FreeRTOS configuration is as follows:&lt;/P&gt;&lt;P&gt;#define configMAX_PRIORITIES 56&lt;BR /&gt;#define configUSE_PORT_OPTIMISED_TASK_SELECTION 0&lt;BR /&gt;The application can be debugged normally in the IDE (MCUXpresso IDE). However, when debugging with VS Code, the debugger exits after FreeRTOS starts the scheduler.&lt;/P&gt;&lt;P&gt;The debug session terminates when execution reaches the following code in vTaskStartScheduler():&lt;/P&gt;&lt;P&gt;xNextTaskUnblockTime = portMAX_DELAY;&lt;BR /&gt;xSchedulerRunning = pdTRUE;&lt;BR /&gt;xTickCount = ( TickType_t ) configINITIAL_TICK_COUNT;&lt;BR /&gt;After these variables are initialized and before the first task is scheduled, the debugger disconnects and the debug session ends.&lt;/P&gt;&lt;P&gt;Could you help me test this in the IDE and VS Code and find a solution?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2026 03:49:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Debugging-in-VS-Code-on-RT1180-EVK/m-p/2383339#M36737</guid>
      <dc:creator>yanyanwang</dc:creator>
      <dc:date>2026-06-19T03:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS Debugging in VS Code on RT1180-EVK</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Debugging-in-VS-Code-on-RT1180-EVK/m-p/2386022#M36759</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/258318"&gt;@yanyanwang&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;After building the project in the Domains folder, you should find both the primary core and secondary core applications in this folder.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pablo_Ramos_0-1782344180522.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/390058iF72EAD2957A45F73/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pablo_Ramos_0-1782344180522.png" alt="Pablo_Ramos_0-1782344180522.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you click the play button for both .elf files, does a debug session start for each of them?&lt;/P&gt;
&lt;P&gt;If you run the primary core until it passes the MCMGR_StartCore function, are you able to pause the secondary core debug session?&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Pablo&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2026 23:36:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Debugging-in-VS-Code-on-RT1180-EVK/m-p/2386022#M36759</guid>
      <dc:creator>Pablo_Ramos</dc:creator>
      <dc:date>2026-06-24T23:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS Debugging in VS Code on RT1180-EVK</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Debugging-in-VS-Code-on-RT1180-EVK/m-p/2386772#M36765</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can successfully start a debug session on the secondary core, and everything works as expected before the FreeRTOS scheduler starts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, as soon as FreeRTOS starts scheduling tasks (after vTaskStartScheduler() is called), the debugger immediately disconnects and the debug session exits.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you please help me identify the possible cause of this issue? If there are any recommended debugger settings or FreeRTOS configurations that I should check, please let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;yanyan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2026 08:19:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Debugging-in-VS-Code-on-RT1180-EVK/m-p/2386772#M36765</guid>
      <dc:creator>yanyanwang</dc:creator>
      <dc:date>2026-06-26T08:19:40Z</dc:date>
    </item>
  </channel>
</rss>

