<?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>LPCXpresso IDEのトピックRe: &amp;quot;Connection refused&amp;quot; when trying to debug</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552676#M12418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Thu Mar 06 12:17:47 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The folders are not important, I don't have them either. It just searches there but later finds the shared libraries elsewhere.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Important are the libxxx.so.y files, you should probably install the appropriate Debian i386 packages. To figure out which use&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
apt-cache search libxxx
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems you need to install the udev library (I have it installed, probably from before installing LPCXpresso):&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
apt-get install libudev1:i386
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:43:07 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:43:07Z</dc:date>
    <item>
      <title>"Connection refused" when trying to debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552663#M12405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jorav on Tue Dec 17 06:31:13 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just freshly installed LPCXpresso_6.1.2_177_Linux-x86 on a Debian 7 (64 bit) machine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The IDE runs fins, however, when I try to debug a compiled project, I get the "connection refused" error mentioned in the FAQ:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fconnection-refused-linux" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/connection-refused-linux&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I have libusb0 installed and the link present.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at other posts with the same problem, I tried to start redlinkserv manually:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/lpcxpresso_6.1.2_177/lpcxpresso/bin/redlinkserv &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/lpcxpresso_6.1.2_177/lpcxpresso/bin/redlinkserv: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.15' not found (required by /opt/lpcxpresso_6.1.2_177/lpcxpresso/bin/redlinkserv)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so this looks like a problem with the compiled binaries shipped with LPCXpresso. Is there a solution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there some other (open source?) software that I can use with the LPC Link?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a sidenote, the documentation and error messages are not really helpful when confronted with this problem. Also, the package "ia32-libs" mentioned in the documentation is "deprecated" on Debian due to multiarch support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:42:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552663#M12405</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: "Connection refused" when trying to debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552664#M12406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Dec 17 07:24:40 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, Debian 7 is not one of the supported Linux distros. As stated in the User Guide, supported distributions are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ubuntu 11 and greater&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fedora 17 and greater&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have also had reports of LPCXpresso working well with OpenSuse 13.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you have discovered, not all distros offer the same functionality, and it is frankly impossible for us to keep track of all of the different requirements across all the different distros. This is why we state only the distros that we have tested ourselves.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Searching for "debian 7 glibc 2.15" provides some results that may be helpful for you - but if you follow any of the instructions for installing glibc 2.15, you do so at your own risk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:43:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552664#M12406</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: "Connection refused" when trying to debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552665#M12407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jorav on Tue Dec 17 08:50:42 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was afraid so. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;glibc is a crucial system component, so upgrading that possibly breaks lots of other stuff - this is no solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since the rest of LPCXpresso works fine with an older libc version, you might consider re-building or statically linking those parts. As it is, I would be forced to install a different operating system to use the software.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am just playing around with the LPC812 board to get a hang for the tools, because I have one of those around - the final system will need ethernet, so I was thinking about the LPC1768.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I'll have a look at the STM32 board I have next - the STLink is supported by OpenOCD, which runs fine on Debian.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any alternative solution to use the LPC-Link debugger with a bare gdb, just like OpenOCD? I am happy to use my own IDE instead of LPCXpresso if the basic download/debug functionality works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:43:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552665#M12407</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: "Connection refused" when trying to debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552666#M12408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Dec 17 09:05:04 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You should be able to use the LPC-Link2 CMSIS-DAP image:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Flpclink2-config-tool" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/lpclink2-config-tool&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I understand that OpenOCD supports CMSIS-DAP.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:43:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552666#M12408</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: "Connection refused" when trying to debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552667#M12409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jorav on Tue Dec 17 11:27:01 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that might work - however, the tool does not see my board. I guess the LPC-Link on the LPCXpresso-LPC812 board is not supported.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:43:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552667#M12409</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: "Connection refused" when trying to debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552668#M12410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Tue Mar 04 12:37:46 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You can download the Ubuntu libc6 package:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
wget h_t_t_p://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.15-0ubuntu20_i386.deb
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that the link will change when Ubuntu updates the package.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Don't install it&lt;/STRONG&gt;&lt;SPAN&gt;, instead unpack it somewhere else.&amp;nbsp; Use LD_LIBRARY_PATH with the subdirectory containing the libraries and the bin-directory of the LPCXpresso installation when executing redlinkserv.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I moved redlinkserv to redlinkserv.real and replaced it by the following script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
LPCXPRESSO_ROOT_DIR=/usr/local/lpcxpresso_7.0.0_92
LPCXPRESSO_BIN_DIR="${LPCXPRESSO_ROOT_DIR}/lpcxpresso/bin"
GLIBC_DIR="${LPCXPRESSO_ROOT_DIR}/debian/libc6_2.15-0ubuntu20_i386/lib/i386-linux-gnu"

export LD_LIBRARY_PATH="${LPCXPRESSO_BIN_DIR}:${GLIBC_DIR}:${LD_LIBRARY_PATH}"

exec "${LPCXPRESSO_BIN_DIR}"/redlinkserv.real
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now debugging works under Debian 7.4 on amd64.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(There were some other issues too: I needed to install some i386 libraries, and udev didn't set the permissions for other to rw, so I changed the rules in /etc/udev/rules.d/85-lpcxpresso.rules to use group plugdev.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Damn spam filter.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:43:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552668#M12410</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: "Connection refused" when trying to debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552669#M12411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Atheros on Tue Mar 04 18:12:07 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;hello starblue,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;would you be able to post the i386 libraries you installed. I am running into the same issue, and can't get the debugger to work on debian wheezy 7.4&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i have updated udev to use group plugdev, and using the libc6 package you posted with the script to launch redlinkserv&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also i notice when i try to launch redlinkserv bash script from the commandline it says...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Could not load redlink shared object&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but when i run the original redlinkserv.real binary i get this error&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;./redlinkserv.real: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.15' not found (required by ./redlinkserv.real)&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;btw i attached a screenshot of the error in LPCXpresso,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a million!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:43:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552669#M12411</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: "Connection refused" when trying to debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552670#M12412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Wed Mar 05 01:45:15 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;For the i386 libs see this comment: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Fnotes-installing-lpcxpresso-6-ubuntu-1310-64-bit%23comment-1135624" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.lpcware.com/content/forum/notes-installing-lpcxpresso-6-ubuntu-1310-64-bit#comment-1135624&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
sudo apt-get install libgtk2.0-0:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libidn11:i386 libglu1-mesa:i386 libxtst6:i386
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the script to work you need to unpack the Ubuntu package in /usr/local/lpcxpresso_7.0.0_92/debian/libc6_2.15-0ubuntu20_i386, like this (untested):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
dpkg-deb -x libc6_2.15-0ubuntu20_i386.deb /usr/local/lpcxpresso_7.0.0_92/debian/libc6_2.15-0ubuntu20_i386
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The LPCXpresso exception means that the server is not running, therefore it can't connect to it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:43:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552670#M12412</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: "Connection refused" when trying to debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552671#M12413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Atheros on Wed Mar 05 10:25:48 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;starblue,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;looks like i have all those 32bit packages installed, and yep i unpacked the deb and moved into the same location as you mentioned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;still getting that "Could not load redlink shared object" error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i'll keep digging, thanks for the quick reply!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:43:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552671#M12413</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: "Connection refused" when trying to debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552672#M12414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Wed Mar 05 10:48:35 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Try starting it under strace to find out what is missing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:43:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552672#M12414</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: "Connection refused" when trying to debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552673#M12415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Atheros on Wed Mar 05 17:09:13 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have no idea what this returned, but it doesn't look good. Maybe because redlinkserv is the shell script?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
execve("./redlinkserv", ["./redlinkserv"], [/* 21 vars */]) = -1 ENOEXEC (Exec format error)
dup(2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 3
fcntl(3, F_GETFL)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f44740ab000
lseek(3, 0, SEEK_CUR)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: Exec format error\n", 32strace: exec: Exec format error
) = 32
close(3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0
munmap(0x7f44740ab000, 4096)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0
exit_group(1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ?
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:43:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552673#M12415</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: "Connection refused" when trying to debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552674#M12416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Thu Mar 06 00:54:58 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I just tried it, it seems strace doesn't execute shell scripts. The following works for me:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
strace sh redlinkserv
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt;This will produce a lot of output (all system calls and replies).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Near the end you will probably see it searching for a shared library that is missing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:43:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552674#M12416</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: "Connection refused" when trying to debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552675#M12417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Atheros on Thu Mar 06 11:37:14 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I see the missing libraries, it looks like a folder called "tls" and "i868" are not in the debian folder.&amp;nbsp; Can't find any of the udev libs too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've attached the strace output. I'll make sure I extracted that deb package correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the current location of the debian folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca" style="border:1px solid black;background-color:#cacaca;"&gt; &lt;PRE&gt;
/usr/local/lpcxpresso_7.0.0_92/debian
/usr/local/lpcxpresso_7.0.0_92/debian/libc6_2.15-0ubuntu20_i386
drwxr-xr-x 2 root root 4.0K Mar&amp;nbsp; 4 16:44 DEBIAN
drwxr-xr-x 3 root root 4.0K Mar&amp;nbsp; 4 16:44 etc
drwxr-xr-x 3 root root 4.0K Mar&amp;nbsp; 4 16:44 lib
drwxr-xr-x 4 root root 4.0K Mar&amp;nbsp; 4 16:44 usr
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:43:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552675#M12417</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: "Connection refused" when trying to debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552676#M12418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Thu Mar 06 12:17:47 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The folders are not important, I don't have them either. It just searches there but later finds the shared libraries elsewhere.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Important are the libxxx.so.y files, you should probably install the appropriate Debian i386 packages. To figure out which use&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
apt-cache search libxxx
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems you need to install the udev library (I have it installed, probably from before installing LPCXpresso):&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
apt-get install libudev1:i386
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:43:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552676#M12418</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: "Connection refused" when trying to debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552677#M12419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Atheros on Thu Mar 06 12:41:30 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;That did it, thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;sudo apt-get install libudev0 libudev0:i386&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:43:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552677#M12419</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: "Connection refused" when trying to debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552678#M12420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MicroPoint on Fri Apr 25 22:31:05 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have xubuntu 14.04 amd64 and had numerous problems getting LPCXpresso 7.1.1 to work with LPCXpresso boards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is how I got it to work, I hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) First I installed the basic meta package for the i386 libraries and these mentioned in here: &lt;/SPAN&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.lpcware.com/content/forum/notes-installing-lpcxpresso-6-ubuntu-1310-64-bit&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Then I installed LPCXpresso 7.1.1. The installer will not work unless it finds its i386 libraries, although it does its own installing of libraries, but obviously not all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At this stage the LPCXpresso IDE did work but when trying to connect to&amp;nbsp; LPCXpresso boards I got a 'Connection refused' error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) After some research I created this link mentioned in another post:&lt;/SPAN&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
uuu@hhhhh:cd /lib/i386-linux-gnu
uuu@hhhhh:sudo ln -sf libudev.so.1 libudev.so.0
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4) Test negative with dfu-util:&lt;/SPAN&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
uuu@hhhhh:/usr/local/lpcxpresso_7.1.1_125/lpcxpresso/bin$ ./dfu-util --help
./dfu-util: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5) Fix by installing libusb-0.1-4:i386:&lt;/SPAN&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
uuu@hhhh:/usr/local/lpcxpresso_7.1.1_125/lpcxpresso/bin$ sudo apt-get install libusb-0.1-4:i386
Reading package lists... Done
Building dependency tree&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
Reading state information... Done
The following NEW packages will be installed:
&amp;nbsp; libusb-0.1-4:i386
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;6) Test again with dfu-util, this time successful :&lt;/SPAN&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
uuu@hhhhh:/usr/local/lpcxpresso_7.1.1_125/lpcxpresso/bin$ ./dfu-util -l
dfu-util - (C) 2007-2008 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

Found Runtime: [0x0471:0xdf55] devnum=24, cfg=0, intf=0, alt=0, name="UNDEFINED"
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After restarting LPCXpresso 7.1.1 the LPCXpresso board worked as usual. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:43:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552678#M12420</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: "Connection refused" when trying to debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552679#M12421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Sat Apr 26 01:19:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The alternative is to READ THE DOCS. Where it clearly states:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;For Ubuntu 13.10 or later:&lt;BR /&gt;Ubuntu 13.10 no longer provides a convenient method to install all 32-bit compatible&lt;BR /&gt;libraries, so they must all be installed individually. Those that are required for LPCXpresso&lt;BR /&gt;7 are as follows:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; sudo apt-get install libgtk2.0-0:i386 libxtst6:i386 libpangox-1.0-0:i386 \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libpangoxft-1.0-0:i386 libidn11:i386 libglu1-mesa:i386 \ &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libncurses5:i386 libudev1:i386 libusb-1.0:i386 libusb-0.1:i386 \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gtk2-engines-murrine:i38&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:43:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Connection-refused-quot-when-trying-to-debug/m-p/552679#M12421</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:43:09Z</dc:date>
    </item>
  </channel>
</rss>

