<?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 Use mcuxpresso/linkserver debug via command line in MCUXpresso General</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/Use-mcuxpresso-linkserver-debug-via-command-line/m-p/1449115#M4569</link>
    <description>&lt;P&gt;Is it possible to use the gdb debugging facilities from mcuxpresso via command line? I am having so much issues using mcuxpresso (on ubuntu) that I am looking for alternatives.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently have my own cmake setup where I can compile and link with arm toolchain. I also managed to make a task to upload my compiled .axf file to target.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only thing I am struggling with is to be able to debug. Is there anything that can get me on my way? Which executables do I need to setup debugger with the mcuxpresso linkserver from command line?&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2022 09:40:02 GMT</pubDate>
    <dc:creator>bp1979</dc:creator>
    <dc:date>2022-04-26T09:40:02Z</dc:date>
    <item>
      <title>Use mcuxpresso/linkserver debug via command line</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Use-mcuxpresso-linkserver-debug-via-command-line/m-p/1449115#M4569</link>
      <description>&lt;P&gt;Is it possible to use the gdb debugging facilities from mcuxpresso via command line? I am having so much issues using mcuxpresso (on ubuntu) that I am looking for alternatives.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently have my own cmake setup where I can compile and link with arm toolchain. I also managed to make a task to upload my compiled .axf file to target.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only thing I am struggling with is to be able to debug. Is there anything that can get me on my way? Which executables do I need to setup debugger with the mcuxpresso linkserver from command line?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 09:40:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Use-mcuxpresso-linkserver-debug-via-command-line/m-p/1449115#M4569</guid>
      <dc:creator>bp1979</dc:creator>
      <dc:date>2022-04-26T09:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Use mcuxpresso/linkserver debug via command line</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Use-mcuxpresso-linkserver-debug-via-command-line/m-p/1449431#M4570</link>
      <description>&lt;P&gt;Hi, you can check this incredible post &lt;A href="https://mcuoneclipse.com/2019/06/23/black-magic-open-source-debug-probe-for-arm-with-eclipse-and-gdb/" target="_blank"&gt;https://mcuoneclipse.com/2019/06/23/black-magic-open-source-debug-probe-for-arm-with-eclipse-and-gdb/&lt;/A&gt;&amp;nbsp; or &lt;A href="https://mcuoneclipse.com/2019/04/20/tutorial-mcuxpresso-sdk-with-linux-part-2-commandline-debugging-with-gdb/" target="_blank"&gt;https://mcuoneclipse.com/2019/04/20/tutorial-mcuxpresso-sdk-with-linux-part-2-commandline-debugging-with-gdb/&lt;/A&gt; maybe this is what you want to do.&lt;/P&gt;
&lt;P&gt;have a great day&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 22:40:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Use-mcuxpresso-linkserver-debug-via-command-line/m-p/1449431#M4570</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2022-04-26T22:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Use mcuxpresso/linkserver debug via command line</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Use-mcuxpresso-linkserver-debug-via-command-line/m-p/1449626#M4572</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195771"&gt;@CarlosGarabito&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This doesn;t tell me anything how to use your NXP linkserver from command line. Can you reveal anything there? How can I hook up the link server which ships with MCUXpresso from command line?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 05:53:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Use-mcuxpresso-linkserver-debug-via-command-line/m-p/1449626#M4572</guid>
      <dc:creator>bp1979</dc:creator>
      <dc:date>2022-04-27T05:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Use mcuxpresso/linkserver debug via command line</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Use-mcuxpresso-linkserver-debug-via-command-line/m-p/1449632#M4573</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/189239"&gt;@bp1979&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;You can easily do this with a SEGGER J-Link or a P&amp;amp;E Multilink, see &lt;A href="https://mcuoneclipse.com/2015/03/25/command-line-programming-and-debugging-with-gdb/" target="_blank" rel="noopener"&gt;https://mcuoneclipse.com/2015/03/25/command-line-programming-and-debugging-with-gdb/&lt;/A&gt; , because they both implement a gdb server.&lt;/P&gt;&lt;P&gt;If you are using a LinkServer, then the issue is that this does not implement a gdb server, so you cannot easily use it that way. I know that there was a post in this forum years ago (cannot find it currently), where it basically describes to intercept/copy the commands passed to the linkserver in the IDE and use that for starting the debugger in command line mode. But it was mentioned there that this way is not recommended.&lt;/P&gt;&lt;P&gt;Update: here are some links:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE/How-to-make-redlinkserv-work-in-the-command-line/m-p/714213" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-IDE/How-to-make-redlinkserv-work-in-the-command-line/m-p/714213&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Using-the-command-line-flash-programming-tool/m-p/474743" target="_blank"&gt;https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Using-the-command-line-flash-programming-tool/m-p/474743&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used both SEGGER and PEMICRO for this kind of things, so if you happen to have a probe from them, that would be for sure the easiest path.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 06:57:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Use-mcuxpresso-linkserver-debug-via-command-line/m-p/1449632#M4573</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-04-27T06:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Use mcuxpresso/linkserver debug via command line</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Use-mcuxpresso-linkserver-debug-via-command-line/m-p/1450071#M4574</link>
      <description>&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;"&gt;&lt;SPAN&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/189239"&gt;@bp1979&lt;/a&gt; Please refer &amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;A href="https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true" target="_blank"&gt;&lt;SPAN&gt;https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&amp;gt; document chapter 6 Run a demo using Arm GCC.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;"&gt;&lt;SPAN&gt;And, look this link too &lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Using-the-command-line-flash-programming-tool/m-p/474743" target="_blank"&gt;&lt;SPAN&gt;https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Using-the-command-line-flash-programming-tool/m-p/474743&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 17:19:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Use-mcuxpresso-linkserver-debug-via-command-line/m-p/1450071#M4574</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2022-04-27T17:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Use mcuxpresso/linkserver debug via command line</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Use-mcuxpresso-linkserver-debug-via-command-line/m-p/1675481#M5039</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/189239"&gt;@bp1979&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;This is an older thread, but: NXP has now released a command line version of the LinkServer debug connection: &lt;A href="https://mcuoneclipse.com/2023/05/14/linkserver-for-microcontrollers/" target="_blank"&gt;https://mcuoneclipse.com/2023/05/14/linkserver-for-microcontrollers/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jun 2023 11:22:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Use-mcuxpresso-linkserver-debug-via-command-line/m-p/1675481#M5039</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2023-06-25T11:22:10Z</dc:date>
    </item>
  </channel>
</rss>

