<?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>MCUXpresso IDEのトピックRe: Connection closed by the GDB server issue, Default MCUXpresso IDE Debug</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087056#M5937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you let MCUXpresso create the debug configuration for you, all of the settings will be correct. Suggest you delete your existing configurations and let MCUXpresso recreate them for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2020 08:05:52 GMT</pubDate>
    <dc:creator>converse</dc:creator>
    <dc:date>2020-05-07T08:05:52Z</dc:date>
    <item>
      <title>Connection closed by the GDB server issue, Default MCUXpresso IDE Debug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087046#M5927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon all, I have been using the MCUXpresso IDE with no issue on a Windows 10 system however, I recently installed this IDE on a Linux computer (Ubuntu 18.04.3 LTS) and found an interesting issue! At first, I thought it was a simple debug configuration issue, verified debug configuration against the Windows machine nothing too obvious was found. Here is my summary so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ok - Installed&amp;nbsp;MCUXpresso IDE v11.1.1 [Build 3241] [2020-03-02] on Elementary OS&lt;/LI&gt;&lt;LI&gt;ok - Installed CMake&lt;/LI&gt;&lt;LI&gt;ok - Installed&amp;nbsp;gcc-arm-none-eabi-9-2019-q4-major (to troubleshoot)&lt;/LI&gt;&lt;LI&gt;ok - Installed SDK_2.x_FRDM-KE06Z (2.7.0 Mcuxpresso 303 2019-12-19)&lt;/LI&gt;&lt;LI&gt;ok - Installed PEMicro&amp;nbsp;linux driver for FRDM board (linux_drivers_64bit_58_b181128)&lt;/LI&gt;&lt;LI&gt;ok - added read/write rights to serial connection (ttyACM0 and ttyACM1)&lt;/LI&gt;&lt;LI&gt;Open blinky example from SDK&lt;BR /&gt;&lt;BR /&gt;Issues --&amp;gt;&lt;/LI&gt;&lt;LI&gt;built project &lt;P&gt;19:09:29 **** Incremental Build of configuration Debug for project frdmke06z_led_blinky_1 ****&lt;BR /&gt;make -r -j8 all&lt;BR /&gt;make: Nothing to be done for 'all'.&lt;/P&gt;&lt;P&gt;19:09:29 Build Finished. 0 errors, 0 warnings. (took 621ms)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;failed debug using&amp;nbsp;&lt;STRONG&gt;default&lt;/STRONG&gt; PEMicro launch setting&lt;BR /&gt;&lt;STRONG&gt;P&amp;amp;E Semihosting Console. Connection closed by the GDB server.&lt;/STRONG&gt; &lt;UL&gt;&lt;LI&gt;debugger console reads "monitor setexceptioncatching 2033&lt;/LI&gt;&lt;LI&gt;monitor selectcore 0&lt;/LI&gt;&lt;LI&gt;Ignoring packet error, continuing...&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;modifying GDB settings with &lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;${cross_prefix}gdb${cross_suffix}&lt;/BLOCKQUOTE&gt;gets a little farther but still fails to initiate the breakpoint and step throug debug mode&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_15.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/106067i060455443246CF4B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_15.png" alt="pastedImage_15.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read through&amp;nbsp;&lt;A href="https://community.nxp.com/thread/340872"&gt;Connection closed by the GDB server&lt;/A&gt;&amp;nbsp;and Eric's awesome &lt;A href="https://mcuoneclipse.com/2019/04/14/tutorial-mcuxpresso-sdk-with-linux-part-1-installation-and-build/"&gt;mcuoneclipse&amp;nbsp;tutorials&lt;/A&gt;&amp;nbsp;and not having&amp;nbsp;success! I am suspecting a serious GDB configuration issue I am missing here!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate anyone's help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/BlackNight"&gt;BlackNight&lt;/A&gt;‌&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2020 20:08:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087046#M5927</guid>
      <dc:creator>michaeljwilson</dc:creator>
      <dc:date>2020-04-27T20:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server issue, Default MCUXpresso IDE Debug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087047#M5928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some questions about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the board working on another PC? It could be the board firmware the one causing the problem.&lt;/P&gt;&lt;P&gt;I'm not familiarized with Elementary but have you tried using other Linux distributions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2020 22:06:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087047#M5928</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-04-30T22:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server issue, Default MCUXpresso IDE Debug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087048#M5929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for responding. To answer the&amp;nbsp;linux question, I have tried this on Elementary OS, Zorin OS, and also Manjaro Linux versions. In all linux versions, the GDB server is closed and refuses to start the debug session. Using the same board on a Windows 10 computer, the GDB session works normally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the firmware for the two FRDM-KE06 boards I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;Board Name is: FRDM-KE06Z&lt;BR /&gt; MicroBoot Kernel Version is: 1.05&lt;BR /&gt; &lt;STRONG&gt;Bootloader Version is: 1.11&lt;/STRONG&gt;&lt;BR /&gt; Installed Application: PEMicro FRDM-KE06Z Mass Storage/Debug App&lt;BR /&gt; Application Version is: 1.18&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; "&gt;Board Name is: FRDM-KE06Z&lt;BR /&gt; MicroBoot Kernel Version is: 1.05&lt;BR /&gt; &lt;STRONG&gt;Bootloader Version is: 1.10&lt;/STRONG&gt;&lt;BR /&gt; Installed Application: PEMicro FRDM-KE06Z Mass Storage/Debug App&lt;BR /&gt; Application Version is: 1.18&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2020 16:11:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087048#M5929</guid>
      <dc:creator>michaeljwilson</dc:creator>
      <dc:date>2020-05-01T16:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server issue, Default MCUXpresso IDE Debug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087049#M5930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only as a test could you try using the segger firmware?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 23:35:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087049#M5930</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-05-04T23:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server issue, Default MCUXpresso IDE Debug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087050#M5931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you try making a change to the "executable" option in you the "GDB Client Settings" section? The executable you will want is the "arm-non-eabi-gdb.exe". It should be located in your MCUXpresso folder with the following path /ide/tools/bin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this resolves any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2020 14:13:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087050#M5931</guid>
      <dc:creator>steven_mcgrath</dc:creator>
      <dc:date>2020-05-05T14:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server issue, Default MCUXpresso IDE Debug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087051#M5932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the suggestion, I tried this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/107798i367180C62AF053FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;changed it to path in /ide/tools/bin and that did not work either. See errors below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could not determine GDB version after sending: /home/michael/Downloads/mcuxpresso-ide/pkg/mcuxpresso-ide/usr/local/mcuxpresso-ide/ide/tools/bin/arm-none-eabi-gdb --version, response:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2020 14:43:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087051#M5932</guid>
      <dc:creator>michaeljwilson</dc:creator>
      <dc:date>2020-05-06T14:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server issue, Default MCUXpresso IDE Debug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087052#M5933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you should be in the "Debugger" tab rather than the "GDB Debugger Tab" like how you had in your first screenshot. Revert the changes you made within this tab and refer to my first response and try this again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2020 15:08:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087052#M5933</guid>
      <dc:creator>steven_mcgrath</dc:creator>
      <dc:date>2020-05-06T15:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server issue, Default MCUXpresso IDE Debug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087053#M5934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alexis, I'm not familiar with this firmware, do you have a link to share?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2020 15:20:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087053#M5934</guid>
      <dc:creator>michaeljwilson</dc:creator>
      <dc:date>2020-05-06T15:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server issue, Default MCUXpresso IDE Debug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087054#M5935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for that note. I went back and changed it only in the debugger tab, the error is the same now.&lt;/P&gt;&lt;P&gt;Initially, this was the same error I got when I first installed the IDE. After installing arm-none-eabi-gdb manually in linux path /usr/bin/ then the GDB version was found. From the looks of this, there are two problems on using IDE on linux, 1) installing the IDE does not link the arm-none-eabi-gdb path properly and 2) the GDB configuration produces a "connection closed due to timeout" error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/108254i4F06587B7862CF21/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2020 18:25:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087054#M5935</guid>
      <dc:creator>michaeljwilson</dc:creator>
      <dc:date>2020-05-06T18:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server issue, Default MCUXpresso IDE Debug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087055#M5936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the following link, you can find the different firmware that supports the FRDM:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/design/microcontrollers-developer-resources/ides-for-kinetis-mcus/opensda-serial-and-debug-adapter:OPENSDA" title="https://www.nxp.com/design/microcontrollers-developer-resources/ides-for-kinetis-mcus/opensda-serial-and-debug-adapter:OPENSDA"&gt;OpenSDA Serial and Debug Adapter | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you try using the Segger JLink?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2020 23:01:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087055#M5936</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-05-06T23:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server issue, Default MCUXpresso IDE Debug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087056#M5937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you let MCUXpresso create the debug configuration for you, all of the settings will be correct. Suggest you delete your existing configurations and let MCUXpresso recreate them for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2020 08:05:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087056#M5937</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-05-07T08:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server issue, Default MCUXpresso IDE Debug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087057#M5938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great Idea Alexis! I have &lt;STRONG&gt;success&lt;/STRONG&gt; with debugger using Segger JLink firmware. One caveat though, I still had to manually install GDB in linux path because during IDE install, I think it wasn't linked correctly. See below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/106480i239B4DAB11B85544/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I'm still scratching my head on PEMicro issues. I would say, I can close this post as answered but there is surely another user out there wondering why it doesn't work with default firmware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2020 12:28:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Connection-closed-by-the-GDB-server-issue-Default-MCUXpresso-IDE/m-p/1087057#M5938</guid>
      <dc:creator>michaeljwilson</dc:creator>
      <dc:date>2020-05-08T12:28:43Z</dc:date>
    </item>
  </channel>
</rss>

