<?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: problems debugging elf file in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618560#M32417</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I did read the users guide.&amp;nbsp;&amp;nbsp; Problem is that the debug option in the quick start is ghosted, so cannot be selected.&amp;nbsp;&amp;nbsp; I clicked on the green creepy-crawly on the top of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any documentation how this probe "booting" works and what it does?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to use lpcsrypt first but I could not figure out what firmware I need.&amp;nbsp;&amp;nbsp; All I found was "use the GUI to get the correct command line options".&amp;nbsp;&amp;nbsp;&amp;nbsp; So where do I find the documentation that tells me what firmware to use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Mar 2017 12:32:24 GMT</pubDate>
    <dc:creator>hugohabicht</dc:creator>
    <dc:date>2017-03-03T12:32:24Z</dc:date>
    <item>
      <title>problems debugging elf file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618555#M32412</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;we would like to use LPCxpresso for debugging an ELF file. The ELF file is created using a system build outside LPCxpresso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IWe installed the IDE with no problems and we imported the ELF file. But when starting debug I get the following error message:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;RedlinkServerException&lt;/P&gt;&lt;P&gt;Reason:&lt;/P&gt;&lt;P&gt;Cannot write to server: not open&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 09:11:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618555#M32412</guid>
      <dc:creator>hugohabicht</dc:creator>
      <dc:date>2017-03-03T09:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: problems debugging elf file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618556#M32413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Under "Debugger configuration"&amp;nbsp; "Emulator Selection" I only see&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;LPC-Link v1.1&lt;/P&gt;&lt;P&gt;RDB-Link&lt;/P&gt;&lt;P&gt;Red Probe Family&lt;/P&gt;&lt;P&gt;LinkServer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LPC-Link2 is not listed.&amp;nbsp;&amp;nbsp; Is therre a problem with my installation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 10:20:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618556#M32413</guid>
      <dc:creator>hugohabicht</dc:creator>
      <dc:date>2017-03-03T10:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: problems debugging elf file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618557#M32414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Linkserver is the generic name for any lp-link2 or other cmsis-dap probe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe you&amp;nbsp;are hitting this problem?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/389044"&gt;LPC-Link2 fails to enumerate with CMSIS-DAP firmware&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 10:50:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618557#M32414</guid>
      <dc:creator>thefallguy</dc:creator>
      <dc:date>2017-03-03T10:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: problems debugging elf file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618558#M32415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fall Guy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your reply.&amp;nbsp;&amp;nbsp; So linkserver is the name I have to select for the LPC-LINK2.&amp;nbsp;&amp;nbsp; Not very intuitive if LPC-LinkV1.1 is offered as well....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the link but we are not using anything remotely microsoft related.&amp;nbsp;&amp;nbsp; OS used here is CentOS6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I got a bit further but I am still getting error messages.&amp;nbsp;&amp;nbsp; There seems to be a program dfu-util running; as far as I can see it ran successfully but LPCxpresso is treating the output as error (see below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The product ID of the lpclink2 changes from 000c to 0090 while LPCxpresso is trying to connect to the debugger.&amp;nbsp;&amp;nbsp; This is also included in the .rules file but may that is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are hundreds of options in this IDE; some of them seem redundant; I know why I never liked IDEs...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&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/14718i29692EB946D6FB36/image-size/large?v=v2&amp;amp;px=999" title="linkserver.png" alt="linkserver.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 12:02:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618558#M32415</guid>
      <dc:creator>hugohabicht</dc:creator>
      <dc:date>2017-03-03T12:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: problems debugging elf file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618559#M32416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You did read the User Guide, right?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/assets/documents/data/en/user-guides/LPCXpresso_IDE_User_Guide.pdf" title="http://www.nxp.com/assets/documents/data/en/user-guides/LPCXpresso_IDE_User_Guide.pdf"&gt;http://www.nxp.com/assets/documents/data/en/user-guides/LPCXpresso_IDE_User_Guide.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Especially section 3.4 on debugging?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 99% of cases, you do not need to select anything, the IDE will detect what is connected, and use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you think booting the probe is the issue, you could either&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;boot manually, using the boot_link2 script in the bin directory of LPCXpresso, or&lt;/LI&gt;&lt;LI&gt;use lpc_scrypt to load the firmware into the flash, so you do not need to soft-boot it each time.&amp;nbsp;&lt;A class="link-titled" href="http://www.nxp.com/products/software-and-tools/software-development-tools/software-tools/lpc-microcontroller-utilities/lpcscrypt-v1.8.0:LPCSCRYPT" title="http://www.nxp.com/products/software-and-tools/software-development-tools/software-tools/lpc-microcontroller-utilities/lpcscrypt-v1.8.0:LPCSCRYPT"&gt;LPCScrypt v1.8.0|NXP&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 12:22:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618559#M32416</guid>
      <dc:creator>thefallguy</dc:creator>
      <dc:date>2017-03-03T12:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: problems debugging elf file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618560#M32417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I did read the users guide.&amp;nbsp;&amp;nbsp; Problem is that the debug option in the quick start is ghosted, so cannot be selected.&amp;nbsp;&amp;nbsp; I clicked on the green creepy-crawly on the top of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any documentation how this probe "booting" works and what it does?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to use lpcsrypt first but I could not figure out what firmware I need.&amp;nbsp;&amp;nbsp; All I found was "use the GUI to get the correct command line options".&amp;nbsp;&amp;nbsp;&amp;nbsp; So where do I find the documentation that tells me what firmware to use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 12:32:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618560#M32417</guid>
      <dc:creator>hugohabicht</dc:creator>
      <dc:date>2017-03-03T12:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: problems debugging elf file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618561#M32418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you are trying to go straight to 'advanced' use without understanding how it works in the first place. Why not start with a simple project (completely in the IDE) to get used to what it does, and how, before moving on to your more esoteric requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFAIK, the latest version of LPCScrypt includes the latest version of the firmware that you need. just use the "program_CMSIS" script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 12:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618561#M32418</guid>
      <dc:creator>thefallguy</dc:creator>
      <dc:date>2017-03-03T12:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: problems debugging elf file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618562#M32419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Debugging an ELF file is "advanced"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the IDE for building our software is definitely a no-go area; too inefficient and not fit for our purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I did as you suggested, simple loop everything created by LPCxpresso.&amp;nbsp;&amp;nbsp; Same result.&amp;nbsp;&amp;nbsp; So why is LPCxpresso is not finding the LPC-LINK2?&amp;nbsp;&amp;nbsp; It certainly does something initially. (LED starts blinking).&amp;nbsp;&amp;nbsp; Are there any log files written somewhere where I can follow what is going on hidden by this IDE?&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/15181i41F1CE592E093167/image-size/large?v=v2&amp;amp;px=999" title="Screenshot-3.png" alt="Screenshot-3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 13:13:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618562#M32419</guid>
      <dc:creator>hugohabicht</dc:creator>
      <dc:date>2017-03-03T13:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: problems debugging elf file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618563#M32420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Log file is in &amp;lt;workspace&amp;gt;/.metadata/.log&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would guess that linkerver is probably crashing. From the command line, try running&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;/usr/local/lpcxpressso(version)/lpcxpresso/bin/redlinkserv -commandline&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;and then typing&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;probelist&lt;/LI&gt;&lt;LI&gt;exit&lt;/LI&gt;&lt;LI&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 13:32:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618563#M32420</guid>
      <dc:creator>thefallguy</dc:creator>
      <dc:date>2017-03-03T13:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: problems debugging elf file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618564#M32421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did a bit more research....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. lpcscrypt_CMSIS just hangs.&amp;nbsp;&amp;nbsp; After 15 minutes and half a screen of dots I gave up.&amp;nbsp;&amp;nbsp; The script uses an undocumented 'print' parameter for lpcscrypt which seems to want to write to a USB serial port which is not there (may work fine under the imho obsolete windows operating system).&amp;nbsp;&amp;nbsp; The VID/PID of the LPCLink2 changes to 1fc9:0083 which isn't even included in the udev rules.&amp;nbsp;&amp;nbsp; Adding it did not make any difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I tried your 'redlinkserv -commandline' which was the key to the solution (see below).&amp;nbsp; I got the error message version "GLIBC_2.15 not found".&amp;nbsp;&amp;nbsp; So it seems the whole software is compiled with a newer shared library than included in our operating system distribution.&amp;nbsp;&amp;nbsp;&amp;nbsp; I really like to know what was included in 2.15 that was required for the software.&amp;nbsp; Unfortunately software developers assume that everybody always has the latest and greatest version of all the software they are using available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course all of this is hidden by the "IDE" (Integrated Deception Environment).&amp;nbsp;&amp;nbsp; I know why I never liked them...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SOLUTION: LPCXpresso DOES NOT RUN under RHEL6 / CentOS6.&amp;nbsp;&amp;nbsp; We will now look into SGS Thompson (ST) ARM CPUs for our designs now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Fall Guy: Thank you very much for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 14:48:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/problems-debugging-elf-file/m-p/618564#M32421</guid>
      <dc:creator>hugohabicht</dc:creator>
      <dc:date>2017-03-03T14:48:24Z</dc:date>
    </item>
  </channel>
</rss>

