<?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>LPC MicrocontrollersのトピックRe: How to launch a gdb server to connect to a LPC55S16 board ?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-launch-a-gdb-server-to-connect-to-a-LPC55S16-board/m-p/1288476#M45335</link>
    <description>&lt;P&gt;Mcuxpresso uses a gdb ‘serial’ &amp;nbsp;connection, instead of a gdb remote connection. Look in the Gdb console during a debug session. This will show you the commands used. Beware that some of the commands are gdb-mi commands, so you may need to look for the gdb script equivalents.&lt;/P&gt;&lt;P&gt;gdb-mi is the machine interface to gdb, where the results are returned in a machine parsable format.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jun 2021 17:30:52 GMT</pubDate>
    <dc:creator>converse</dc:creator>
    <dc:date>2021-06-07T17:30:52Z</dc:date>
    <item>
      <title>How to launch a gdb server to connect to a LPC55S16 board ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-launch-a-gdb-server-to-connect-to-a-LPC55S16-board/m-p/1288370#M45331</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;To be able to automate some test suite, I need to launch the gdb server to be able to connect to gdb, using a script.&lt;/P&gt;&lt;P&gt;I dug into nxp tools, and could not find any documented way to doing this. Most probably the crt_emu_cm_redlink tool. I've searched into the documentation I have but could not manage to make it work.&lt;/P&gt;&lt;P&gt;Is there any way of extracting this information from MCUEpressoIDE ?&lt;/P&gt;&lt;P&gt;Is there a documentation about this ?&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Vincent.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 14:34:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-launch-a-gdb-server-to-connect-to-a-LPC55S16-board/m-p/1288370#M45331</guid>
      <dc:creator>vdupaquis</dc:creator>
      <dc:date>2021-06-07T14:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch a gdb server to connect to a LPC55S16 board ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-launch-a-gdb-server-to-connect-to-a-LPC55S16-board/m-p/1288476#M45335</link>
      <description>&lt;P&gt;Mcuxpresso uses a gdb ‘serial’ &amp;nbsp;connection, instead of a gdb remote connection. Look in the Gdb console during a debug session. This will show you the commands used. Beware that some of the commands are gdb-mi commands, so you may need to look for the gdb script equivalents.&lt;/P&gt;&lt;P&gt;gdb-mi is the machine interface to gdb, where the results are returned in a machine parsable format.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 17:30:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-launch-a-gdb-server-to-connect-to-a-LPC55S16-board/m-p/1288476#M45335</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2021-06-07T17:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch a gdb server to connect to a LPC55S16 board ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-launch-a-gdb-server-to-connect-to-a-LPC55S16-board/m-p/1288762#M45339</link>
      <description>&lt;P&gt;Hello, thanks to have taken the time to reply.&lt;/P&gt;&lt;P&gt;I've just disconnected the board during connection to have access to the sent commands, else the console is cleared, and I cannot see the dialog. Isn't there a way of seeing the full dialog instead of having to hack this way ?&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Vincent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 06:15:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-launch-a-gdb-server-to-connect-to-a-LPC55S16-board/m-p/1288762#M45339</guid>
      <dc:creator>vdupaquis</dc:creator>
      <dc:date>2021-06-08T06:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch a gdb server to connect to a LPC55S16 board ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-launch-a-gdb-server-to-connect-to-a-LPC55S16-board/m-p/1288883#M45347</link>
      <description>&lt;P&gt;Sorry, you actually need to see the "gdb traces" console, which is a sub-view of the "Console" (See below). The contents of this window is retained after the termination of a debug session. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-06-08 at 09.04.24.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146532iF0881B5F613C6CF2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-06-08 at 09.04.24.png" alt="Screenshot 2021-06-08 at 09.04.24.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot 2021-06-08 at 09.04.24.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 08:05:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-launch-a-gdb-server-to-connect-to-a-LPC55S16-board/m-p/1288883#M45347</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2021-06-08T08:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch a gdb server to connect to a LPC55S16 board ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-launch-a-gdb-server-to-connect-to-a-LPC55S16-board/m-p/1288946#M45349</link>
      <description>&lt;P&gt;Thanks to your help, I think I succeeded &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;I translated the MI commands to GDB ones, and ended-up with :&lt;/P&gt;&lt;P&gt;set breakpoint pending on&lt;BR /&gt;set detach-on-fork on&lt;BR /&gt;set python print-stack none&lt;BR /&gt;set print object on&lt;BR /&gt;set print sevenbit-strings on&lt;BR /&gt;set host-charset UTF-8&lt;BR /&gt;set target-charset UTF-8&lt;BR /&gt;set target-wide-charset UTF-32&lt;BR /&gt;set dprintf-style call&lt;BR /&gt;set target-async on&lt;BR /&gt;set record full stop-at-limit off&lt;BR /&gt;set non-stop on&lt;BR /&gt;set auto-solib-add on&lt;BR /&gt;target extended-remote | /path-to-redlink/crt_emu_cm_redlink -g -mi -2 -pLPC55S16 -vendor=NXP --bootromstall 0x50000040 --reset= -ProbeHandle=1 -CoreIndex=0 -cache=disable --flash-hashing --flash-driver= -x /path-to-project/Debug --flash-dir /usr/local/mcuxpressoide-11.3.0_5222/ide/plugins/com.nxp.mcuxpresso.tools.bin.linux_11.3.0.202101111545/binaries/Flash --flash-dir /mnt/Data2/Documents/MCUXpresso_11.3.0_5222/workspace/.mcuxpressoide_packages_support/LPC55S16_support/Flash&lt;/P&gt;&lt;P&gt;The last hurdle I met was the "-msg-port" and the "--telnet" I had top remove (the port is somehow communicating with mcuexpresso).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Vincent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 08:58:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-launch-a-gdb-server-to-connect-to-a-LPC55S16-board/m-p/1288946#M45349</guid>
      <dc:creator>vdupaquis</dc:creator>
      <dc:date>2021-06-08T08:58:44Z</dc:date>
    </item>
  </channel>
</rss>

