<?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: MCUXpresso, Segger Debug, and Select RTOS Plugin in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-Segger-Debug-and-Select-RTOS-Plugin/m-p/1170958#M6246</link>
    <description>&lt;P&gt;Hi Keith,&lt;/P&gt;&lt;P&gt;thanks for sharing the details.&lt;/P&gt;&lt;P&gt;I tried to reproduce the same on my side. I have this:&lt;/P&gt;&lt;P&gt;MCUXpresso IDE 10.2.1 with SEGGER J-Link GDB Server V6.46k&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two different J-Link (EDU mini) with different USB IDs, on different USB ports (if this matters)&lt;/P&gt;&lt;P&gt;Two boards (same firmware, hardware). Debugging one board with one board with one J-Link. Commit .launch file. Then debugging the other board with the different J-Link. Here is what gets changed on my side:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ErichS_0-1603277564089.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/127941i4DEA849C5D162CB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ErichS_0-1603277564089.png" alt="ErichS_0-1603277564089.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So the USB ID gets changed for me in three places. But the RTOS plugin setting does not get touched for me. As a reference I have attached my .launch.&lt;/P&gt;&lt;P&gt;This is how it looks in the UI:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ErichS_1-1603277794307.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/127942iB8681C59D9080FCA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ErichS_1-1603277794307.png" alt="ErichS_1-1603277794307.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2020 10:57:00 GMT</pubDate>
    <dc:creator>ErichStyger</dc:creator>
    <dc:date>2020-10-21T10:57:00Z</dc:date>
    <item>
      <title>MCUXpresso, Segger Debug, and Select RTOS Plugin</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-Segger-Debug-and-Select-RTOS-Plugin/m-p/1166189#M6209</link>
      <description>&lt;P&gt;I am using MCUXpresso 11.2 with Segger J-Link 6.80d.&lt;/P&gt;&lt;P&gt;In the Debug dialogue/J-Link Debugger, there is a check box 'Select RTOS Plugin'. This enables the GDB FreeRTOS plugin.&lt;/P&gt;&lt;P&gt;The problem is that this check box does not stay 'checked'.&lt;/P&gt;&lt;P&gt;After one debug session, the next debug session the check box is 'unchecked'. One has to constantly check this box with each debug session.&lt;/P&gt;&lt;P&gt;Even a close workspace and reopen does not save the checked box setting.&lt;/P&gt;&lt;P&gt;Other members of my team are having the same issue.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 15:42:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-Segger-Debug-and-Select-RTOS-Plugin/m-p/1166189#M6209</guid>
      <dc:creator>Keith4DSmith</dc:creator>
      <dc:date>2020-10-12T15:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso, Segger Debug, and Select RTOS Plugin</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-Segger-Debug-and-Select-RTOS-Plugin/m-p/1166233#M6210</link>
      <description>&lt;P&gt;That's strange: can you compare the .launch files (before, after) if this really gets removed somehow?&lt;/P&gt;&lt;P&gt;I don't think it is related by the J-Link 6.80d version (I'm using the IDE 10.2.0 with J-Link V6.86 on Windows 10 64bit) and do not see this?&lt;/P&gt;&lt;P&gt;The setting is controlled by following entry in the launch file:&lt;/P&gt;&lt;P&gt;&amp;lt;stringAttribute key="com.nxp.mcuxpresso.segger.rtos" value="true;GDBServer/RTOSPlugin_FreeRTOS"/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ErichS_0-1602523323506.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/127264i9418F07176891322/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ErichS_0-1602523323506.png" alt="ErichS_0-1602523323506.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 17:22:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-Segger-Debug-and-Select-RTOS-Plugin/m-p/1166233#M6210</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2020-10-12T17:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso, Segger Debug, and Select RTOS Plugin</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-Segger-Debug-and-Select-RTOS-Plugin/m-p/1170450#M6244</link>
      <description>&lt;P&gt;I have figured out the problem and a possible solution.&lt;/P&gt;&lt;P&gt;My development environment consists of two J-Link devices connected to two MCUs&lt;/P&gt;&lt;P&gt;The code running on each MCU is the same. I debug one MCU at a time using the MCUxpresso 'Debug your project' Debug icon.&lt;/P&gt;&lt;P&gt;Below is the RTOS setting before starting the debug session&lt;/P&gt;&lt;P&gt;&amp;lt;stringAttribute key="com.nxp.mcuxpresso.segger.rtos" value="true;GDBServer/RTOSPlugin_FreeRTOS"/&amp;gt;&lt;BR /&gt;&amp;lt;stringAttribute key="com.nxp.mcuxpresso.segger.select" value="USB=174506020"/&amp;gt;&lt;/P&gt;&lt;P&gt;After the debug session is over the RTOS setting is&lt;/P&gt;&lt;P&gt;&amp;lt;stringAttribute key="com.nxp.mcuxpresso.segger.rtos" value="false;GDBServer/RTOSPlugin_FreeRTOS"/&amp;gt;&lt;BR /&gt;&amp;lt;stringAttribute key="com.nxp.mcuxpresso.segger.select" value="USB=174506019"/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Note that the USB ID has changed.&lt;/P&gt;&lt;P&gt;Thus the USB ID for the J-Link and the RTOS plugin setting are paired.&lt;/P&gt;&lt;P&gt;I only had one debug session for both J-Link devices.&lt;/P&gt;&lt;P&gt;My 'fix' is the following:&lt;/P&gt;&lt;P&gt;I create two different Debug configurations, DebugA and DebugB, each specifying a different USB ID&lt;BR /&gt;and checking the RTOS plugin setting.&lt;/P&gt;&lt;P&gt;I can then select the specific debug session. I use the Eclipse 'debug' icon to select the debug session,&lt;BR /&gt;not using the MCUxpresso 'Debug your project' Debug icon.&lt;/P&gt;&lt;P&gt;The confusion was the 'Debug your project' Debug icon provides a select J-Link dialogue, but does not&lt;BR /&gt;maintain the RTOS plugin.&lt;/P&gt;&lt;P&gt;So...The solution to the original problem is to create two separate debug sessions and select&lt;BR /&gt;the appropriate one.&lt;/P&gt;&lt;P&gt;I should also change the port addresses as per &lt;A href="https://mcuoneclipse.com/2016/04/12/debugging-multiple-nxp-boards-with-gdb-and-pe/" target="_blank"&gt;https://mcuoneclipse.com/2016/04/12/debugging-multiple-nxp-boards-with-gdb-and-pe/&lt;/A&gt;&lt;BR /&gt;and &lt;A href="https://mcuoneclipse.com/2014/01/07/debugging-the-same-project-multiple-times-in-parallel-with-eclipse/" target="_blank"&gt;https://mcuoneclipse.com/2014/01/07/debugging-the-same-project-multiple-times-in-parallel-with-eclipse/&lt;/A&gt;&lt;BR /&gt;so I could have two GDB sessions.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 16:13:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-Segger-Debug-and-Select-RTOS-Plugin/m-p/1170450#M6244</guid>
      <dc:creator>Keith4DSmith</dc:creator>
      <dc:date>2020-10-20T16:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso, Segger Debug, and Select RTOS Plugin</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-Segger-Debug-and-Select-RTOS-Plugin/m-p/1170958#M6246</link>
      <description>&lt;P&gt;Hi Keith,&lt;/P&gt;&lt;P&gt;thanks for sharing the details.&lt;/P&gt;&lt;P&gt;I tried to reproduce the same on my side. I have this:&lt;/P&gt;&lt;P&gt;MCUXpresso IDE 10.2.1 with SEGGER J-Link GDB Server V6.46k&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two different J-Link (EDU mini) with different USB IDs, on different USB ports (if this matters)&lt;/P&gt;&lt;P&gt;Two boards (same firmware, hardware). Debugging one board with one board with one J-Link. Commit .launch file. Then debugging the other board with the different J-Link. Here is what gets changed on my side:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ErichS_0-1603277564089.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/127941i4DEA849C5D162CB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ErichS_0-1603277564089.png" alt="ErichS_0-1603277564089.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So the USB ID gets changed for me in three places. But the RTOS plugin setting does not get touched for me. As a reference I have attached my .launch.&lt;/P&gt;&lt;P&gt;This is how it looks in the UI:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ErichS_1-1603277794307.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/127942iB8681C59D9080FCA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ErichS_1-1603277794307.png" alt="ErichS_1-1603277794307.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 10:57:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-Segger-Debug-and-Select-RTOS-Plugin/m-p/1170958#M6246</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2020-10-21T10:57:00Z</dc:date>
    </item>
  </channel>
</rss>

