<?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 回复： FreeRTOS Task Debugging - Same Backtrace for all Threads in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Task-Debugging-Same-Backtrace-for-all-Threads/m-p/1821864#M29166</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/230286"&gt;@lemk34&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I'm not able to reproduce this issue. As you can see on the following screenshot, I am able to see the proper backtrace for each one of the tasks from the hello_world_freertos example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EdwinHz_0-1709669610419.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/266662i2861AA370790138D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EdwinHz_0-1709669610419.png" alt="EdwinHz_0-1709669610419.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It is worth noting that I am using an RT1020EVK with the onboard debugger, but this goes to show that there is no limitation about the backtraces not displaying properly. I am also using MCUXpresso IDE version&amp;nbsp;11.9.0. Please try with the newest version of the IDE, as bugfixes and improvements are constantly being applied to newer versions of our IDE.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2024 20:16:59 GMT</pubDate>
    <dc:creator>EdwinHz</dc:creator>
    <dc:date>2024-03-05T20:16:59Z</dc:date>
    <item>
      <title>FreeRTOS Task Debugging - Same Backtrace for all Threads</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Task-Debugging-Same-Backtrace-for-all-Threads/m-p/1818988#M29109</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm debugging a FreeRTOS sample project on i.MX1024EVK using MCUXpresso version 11.7.1. Using JLink SWD, the 'Select RTOS plugin' is set to 'GDBServer/RTOSPlugin_FreeRTOS'. Optimization is set to none (-O0). When debugger is stopped, the 'Debug' view in MCUXpresso is populated with the correct number of tasks, but they all have the same backtrace. This seems like it would be a frequently reported issue, since I have a fairly default setup, using the EVK with a sample project, but I can't find a similar reported issue anywhere. The GDB command line in 'Debugger Console' reports the same results. This issue is observed with multiple sample and custom projects.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="freertos_task_bt_issue.png" style="width: 1359px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265891iF6B404724A3C7C9E/image-dimensions/1359x263?v=v2" width="1359" height="263" role="button" title="freertos_task_bt_issue.png" alt="freertos_task_bt_issue.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;&lt;P&gt;lemk&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 20:06:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Task-Debugging-Same-Backtrace-for-all-Threads/m-p/1818988#M29109</guid>
      <dc:creator>lemk34</dc:creator>
      <dc:date>2024-02-29T20:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS Task Debugging - Same Backtrace for all Threads</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Task-Debugging-Same-Backtrace-for-all-Threads/m-p/1820852#M29144</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/230286"&gt;@lemk34&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Quick question. Are you certain you are debugging on&amp;nbsp;All-Stop mode (rather than the default Non-Stop mode)?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EdwinHz_0-1709583445062.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/266366iB5489F9E4EFD12EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EdwinHz_0-1709583445062.png" alt="EdwinHz_0-1709583445062.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is one of the steps needed to do thread-aware debugging for FreeRTOS applications, for example. I got this from the&amp;nbsp;MCUXpresso IDE FreeRTOS Debug Guide, which if you haven't read, I highly recommend you do so. You can find this guide on your MCUXpresso IDE installation path, by default it should look like this: &amp;lt;C:\nxp\MCUXpressoIDE_11.9.0_2144&amp;gt;.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 20:19:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Task-Debugging-Same-Backtrace-for-all-Threads/m-p/1820852#M29144</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2024-03-04T20:19:47Z</dc:date>
    </item>
    <item>
      <title>回复： FreeRTOS Task Debugging - Same Backtrace for all Threads</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Task-Debugging-Same-Backtrace-for-all-Threads/m-p/1820891#M29145</link>
      <description>&lt;P&gt;Hi Edwin,&lt;/P&gt;&lt;P&gt;Thanks for your reply. I'm using JLink, not LinkServer. The all-stop/non-stop option is not available from what I can tell. Per the 'IDE FreeRTOS Debug Guide', the only configuration I've changed in the 'JLink Debugger' configuration is selecting&amp;nbsp;'GDBServer/RTOSPlugin_FreeRTOS' for 'Select RTOS Plugin'&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;lemk&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 22:14:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Task-Debugging-Same-Backtrace-for-all-Threads/m-p/1820891#M29145</guid>
      <dc:creator>lemk34</dc:creator>
      <dc:date>2024-03-04T22:14:02Z</dc:date>
    </item>
    <item>
      <title>回复： FreeRTOS Task Debugging - Same Backtrace for all Threads</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Task-Debugging-Same-Backtrace-for-all-Threads/m-p/1821864#M29166</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/230286"&gt;@lemk34&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I'm not able to reproduce this issue. As you can see on the following screenshot, I am able to see the proper backtrace for each one of the tasks from the hello_world_freertos example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EdwinHz_0-1709669610419.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/266662i2861AA370790138D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EdwinHz_0-1709669610419.png" alt="EdwinHz_0-1709669610419.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It is worth noting that I am using an RT1020EVK with the onboard debugger, but this goes to show that there is no limitation about the backtraces not displaying properly. I am also using MCUXpresso IDE version&amp;nbsp;11.9.0. Please try with the newest version of the IDE, as bugfixes and improvements are constantly being applied to newer versions of our IDE.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 20:16:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Task-Debugging-Same-Backtrace-for-all-Threads/m-p/1821864#M29166</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2024-03-05T20:16:59Z</dc:date>
    </item>
    <item>
      <title>回复： FreeRTOS Task Debugging - Same Backtrace for all Threads</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Task-Debugging-Same-Backtrace-for-all-Threads/m-p/1821876#M29168</link>
      <description>&lt;P&gt;Hi Edwin,&lt;/P&gt;&lt;P&gt;Because of your last email, I switched to the onboard debugger and was able to view each task's backtrace successfully. Unfortunately that isn't an option for our custom board. But I shifted focus to the&amp;nbsp; JLink RTOS plugin, and upgraded the JLink software and am now successful. A couple of recent comments in the &lt;A href="https://www.segger.com/downloads/jlink/ReleaseNotes_JLink.html" target="_self"&gt;release notes&lt;/A&gt;&amp;nbsp;might have resolved the issue (&lt;EM&gt;RTOSPlugin for FreeRTOS did not report correct task registers. Fixed.&lt;/EM&gt;).&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;¯\_(ツ)_/¯&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for your responses.&lt;/P&gt;&lt;P&gt;lemk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 20:50:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Task-Debugging-Same-Backtrace-for-all-Threads/m-p/1821876#M29168</guid>
      <dc:creator>lemk34</dc:creator>
      <dc:date>2024-03-05T20:50:19Z</dc:date>
    </item>
    <item>
      <title>回复： FreeRTOS Task Debugging - Same Backtrace for all Threads</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Task-Debugging-Same-Backtrace-for-all-Threads/m-p/1821919#M29173</link>
      <description>&lt;P&gt;Hi again&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/230286"&gt;@lemk34&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I'm glad to hear that you were able to solve this problem! Interesting that the issue was present because of the JLink drivers. Anyhow, thanks for reporting this, as I am sure it can prove useful for other clients in the future that might get similar issues with the backtrace on Jlink RTOS Plugin.&lt;/P&gt;
&lt;P&gt;Have a nice day. c:&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 23:43:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-Task-Debugging-Same-Backtrace-for-all-Threads/m-p/1821919#M29173</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2024-03-05T23:43:25Z</dc:date>
    </item>
  </channel>
</rss>

