<?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: how to run gdb outside of the IDE?</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/how-to-run-gdb-outside-of-the-IDE/m-p/1080863#M5891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Con Verse - that's a helpful link! I'll investigate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't require a gdbserver--I just want to debug the board via gdb outside the IDE, which is clearly feasible because the IDE itself does it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2020 17:27:33 GMT</pubDate>
    <dc:creator>rob4</dc:creator>
    <dc:date>2020-06-01T17:27:33Z</dc:date>
    <item>
      <title>how to run gdb outside of the IDE?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/how-to-run-gdb-outside-of-the-IDE/m-p/1080858#M5886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using MCUxpresso 11.1 with a stock MIMXRT1060-EVK board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody provide guidance on how to manually start gdb outside the IDE and attach to the board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've found the gdb executable (/arm-none-eabi-gdb), but haven't had any success in connecting to the target. I would like to be able to load the executable image via MCUxpresso, then start up&amp;nbsp;&lt;SPAN&gt;arm-none-eabi-gdb outside the IDE. I expect to tell gdb "target remote localhost:&amp;lt;port&amp;gt;" but nothing I've tried seems to work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2020 18:11:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/how-to-run-gdb-outside-of-the-IDE/m-p/1080858#M5886</guid>
      <dc:creator>rob4</dc:creator>
      <dc:date>2020-05-27T18:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to run gdb outside of the IDE?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/how-to-run-gdb-outside-of-the-IDE/m-p/1080859#M5887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand the motivation behind this. But if you want to run gdb manually (commandline, scripting), you might have a look at &lt;A class="link-titled" href="https://mcuoneclipse.com/2019/04/20/tutorial-mcuxpresso-sdk-with-linux-part-2-commandline-debugging-with-gdb/" title="https://mcuoneclipse.com/2019/04/20/tutorial-mcuxpresso-sdk-with-linux-part-2-commandline-debugging-with-gdb/"&gt;Tutorial: MCUXpresso SDK with Linux, Part 2: Commandline Debugging with GDB | MCU on Eclipse&lt;/A&gt;&amp;nbsp; (is for Linux, but the same applies to Windows).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2020 18:22:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/how-to-run-gdb-outside-of-the-IDE/m-p/1080859#M5887</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2020-05-27T18:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to run gdb outside of the IDE?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/how-to-run-gdb-outside-of-the-IDE/m-p/1080860#M5888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Erich,&lt;/P&gt;&lt;P&gt;The tutorial you referenced (I see you wrote it) discusses the SEGGER J-LINK&amp;nbsp; and the P&amp;amp;E Multilink, but I'm using the Redlink server&amp;nbsp; (or Link Server, or whatever it's called--it's the debugger connection via the Debug USB port).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can restart the Redlink server via the IDE.&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;redlink&amp;gt; quit&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;[Closed]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;[Started server]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;[Connected on port 3025]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P&gt;and it says [Connected on port 3025].&amp;nbsp; I can check port 3025:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;$ lsof -i :3025&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;COMMAND &amp;nbsp; &amp;nbsp; PID USER &amp;nbsp; FD &amp;nbsp; TYPE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DEVICE SIZE/OFF NODE NAME&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;mcuxpress 55346&amp;nbsp; ryu &amp;nbsp; 43u&amp;nbsp; IPv6 0x6b3235d17ccf19ad&amp;nbsp; &amp;nbsp; &amp;nbsp; 0t0&amp;nbsp; TCP localhost:52087-&amp;gt;localhost:arepa-raft (ESTABLISHED)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;redlinkse 77224&amp;nbsp; ryu &amp;nbsp; 15u&amp;nbsp; IPv6 0x6b3235d17ccf252d&amp;nbsp; &amp;nbsp; &amp;nbsp; 0t0&amp;nbsp; TCP localhost:arepa-raft-&amp;gt;localhost:52087 (ESTABLISHED)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P&gt;but then I start up&amp;nbsp;arm-none-eabi-gdb from the command line and try&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;target remote localhost:3025&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and gdb eventually times out without connecting.&amp;nbsp; Any ideas on how to proceed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2020 17:11:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/how-to-run-gdb-outside-of-the-IDE/m-p/1080860#M5888</guid>
      <dc:creator>rob4</dc:creator>
      <dc:date>2020-05-28T17:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to run gdb outside of the IDE?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/how-to-run-gdb-outside-of-the-IDE/m-p/1080861#M5889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;I only have used it with P&amp;amp;E and J-Link, have not tried RedLink for this.&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2020 04:50:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/how-to-run-gdb-outside-of-the-IDE/m-p/1080861#M5889</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2020-05-29T04:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to run gdb outside of the IDE?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/how-to-run-gdb-outside-of-the-IDE/m-p/1080862#M5890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/447866"&gt;How to use the command line with redlinkserv to enable gdb?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that its states:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;redlinkserv is &lt;/SPAN&gt;&lt;STRONG style="color: #51626f; border: 0px; font-weight: bold;"&gt;NOT&lt;/STRONG&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt; a gdbserver and it cannot be used as one.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2020 07:58:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/how-to-run-gdb-outside-of-the-IDE/m-p/1080862#M5890</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-05-29T07:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to run gdb outside of the IDE?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/how-to-run-gdb-outside-of-the-IDE/m-p/1080863#M5891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Con Verse - that's a helpful link! I'll investigate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't require a gdbserver--I just want to debug the board via gdb outside the IDE, which is clearly feasible because the IDE itself does it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2020 17:27:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/how-to-run-gdb-outside-of-the-IDE/m-p/1080863#M5891</guid>
      <dc:creator>rob4</dc:creator>
      <dc:date>2020-06-01T17:27:33Z</dc:date>
    </item>
  </channel>
</rss>

