<?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: gdb issue when debug a freeRTOS &amp; C++ project in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/gdb-issue-when-debug-a-freeRTOS-C-project/m-p/662447#M32795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that no matter if the code is written in C or C++. I'm working with last link plugin (4.1.2.201701141320) and jlink driver (v6.14). The issue seems to be related to the number of opened projects. If I just imported the PSU (lpc_xxx projects are necessary to build) everything goes well.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14797i309D0E0D676880C0/image-size/large?v=v2&amp;amp;px=999" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However in the next scenario I'm not able to debug the PSU project, as shown in the previous post.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14833i84B69EE2C8A3069A/image-size/large?v=v2&amp;amp;px=999" title="Untitled2.png" alt="Untitled2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also used another debug probe (P&amp;amp;E Multilink Universal with its latest eclipse plugin &amp;amp; driver) with the same (bad) results. So It seems the issue does not related to the jlink tool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lack of memory problem maybe? (I'm running on W7 Professional 32-bit and 3GB RAM)&lt;/P&gt;&lt;P&gt;I will continue investigating anyway...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;BR /&gt;gaston&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2017 16:16:58 GMT</pubDate>
    <dc:creator>gschelotto</dc:creator>
    <dc:date>2017-02-27T16:16:58Z</dc:date>
    <item>
      <title>gdb issue when debug a freeRTOS &amp; C++ project</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gdb-issue-when-debug-a-freeRTOS-C-project/m-p/662445#M32793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working with LPCxpresso IDE 8.2.2 and JLink debugger with no problem on a LPC1788. I can compile &amp;amp; debug the LPCOpen projects as expected and also migrate C applications to C++. The problem is when I try to debug a basic (1 task) freeRTOS in C++. The compilation ends successfully but here's the error dialog when gdb starts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15057iAA3C4A835250F304/image-size/large?v=v2&amp;amp;px=999" title="Untitled.9.png" alt="Untitled.9.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then, when I press the Debug button...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15098i93F2DF6E99C10C62/image-size/large?v=v2&amp;amp;px=999" title="Untitled2.4.png" alt="Untitled2.4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and finally... no debug sesion is started&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15148iE42CACA0FE61D1AD/image-size/large?v=v2&amp;amp;px=999" title="Untitled3.2.png" alt="Untitled3.2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any hints? How can avoid this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;gaston&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 10:31:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gdb-issue-when-debug-a-freeRTOS-C-project/m-p/662445#M32793</guid>
      <dc:creator>gschelotto</dc:creator>
      <dc:date>2017-02-23T10:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: gdb issue when debug a freeRTOS &amp; C++ project</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gdb-issue-when-debug-a-freeRTOS-C-project/m-p/662446#M32794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like an issue between GDB and the J-Link server, or maybe in the GNU ARM Eclipse plugin for J-Link - if that is what you are using. I'm afraid that there isn't much advice we can provide on these. Good starting point might be&amp;nbsp;&lt;A class="link-titled" href="http://gnuarmeclipse.github.io/debug/jlink/" title="http://gnuarmeclipse.github.io/debug/jlink/"&gt;The J-Link debugging Eclipse plug-in&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;LPCXpresso Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 10:00:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gdb-issue-when-debug-a-freeRTOS-C-project/m-p/662446#M32794</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2017-02-24T10:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: gdb issue when debug a freeRTOS &amp; C++ project</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gdb-issue-when-debug-a-freeRTOS-C-project/m-p/662447#M32795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that no matter if the code is written in C or C++. I'm working with last link plugin (4.1.2.201701141320) and jlink driver (v6.14). The issue seems to be related to the number of opened projects. If I just imported the PSU (lpc_xxx projects are necessary to build) everything goes well.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14797i309D0E0D676880C0/image-size/large?v=v2&amp;amp;px=999" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However in the next scenario I'm not able to debug the PSU project, as shown in the previous post.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14833i84B69EE2C8A3069A/image-size/large?v=v2&amp;amp;px=999" title="Untitled2.png" alt="Untitled2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also used another debug probe (P&amp;amp;E Multilink Universal with its latest eclipse plugin &amp;amp; driver) with the same (bad) results. So It seems the issue does not related to the jlink tool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lack of memory problem maybe? (I'm running on W7 Professional 32-bit and 3GB RAM)&lt;/P&gt;&lt;P&gt;I will continue investigating anyway...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;BR /&gt;gaston&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 16:16:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gdb-issue-when-debug-a-freeRTOS-C-project/m-p/662447#M32795</guid>
      <dc:creator>gschelotto</dc:creator>
      <dc:date>2017-02-27T16:16:58Z</dc:date>
    </item>
  </channel>
</rss>

