Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » EclipseCDT + Zylin plug-in(Error startint the debugger)
EclipseCDT + Zylin plug-in [message #649156] Mon, 17 January 2011 22:50 Go to next message
Marco Trapanese is currently offline Marco TrapaneseFriend
Messages: 10
Registered: July 2009
Junior Member
Hello,

I'm setting up Eclipse Helios CDT + Zylin plug-in to develop application for ARM Cortex-M3 with CodeSourcery C++ Lite (latest version). I'm running Windows 7 64 bit.
I'm using OpenOCD 0.4.0 as interface to JTAG programmer.
The GDB is arm-none-eabi-gdb.exe.

From command line I can connect through OpenOCD with the following command:

target remote localhost:3333


If I call the GDB within Eclipse, using a debug configuration (zylin embedded debug - native) I get the following error:

target remote localhost:3333
localhost: unknown host
localhost:3333: No such file or directory.


Any hint?
How to find the cause of the problem?

Thank
Marco

Re: EclipseCDT + Zylin plug-in [message #649241 is a reply to message #649156] Tue, 18 January 2011 10:27 Go to previous messageGo to next message
John McCabe is currently offline John McCabeFriend
Messages: 228
Registered: July 2009
Senior Member
On Mon, 17 Jan 2011 17:50:15 -0500, Marco Trapanese
<marcotrapanese@gmail.com> wrote:

>Hello,
>
>I'm setting up Eclipse Helios CDT + Zylin plug-in to develop application for ARM Cortex-M3 with CodeSourcery C++ Lite (latest version). I'm running Windows 7 64 bit.
>I'm using OpenOCD 0.4.0 as interface to JTAG programmer.
>The GDB is arm-none-eabi-gdb.exe.
>
>From command line I can connect through OpenOCD with the following command:
>
>target remote localhost:3333
>
>If I call the GDB within Eclipse, using a debug configuration (zylin embedded debug - native) I get the following error:
>
>
>target remote localhost:3333
>localhost: unknown host
>localhost:3333: No such file or directory.
>
>
>Any hint?
>How to find the cause of the problem?

Does it work if you use 127.0.0.1:3333?
Re: EclipseCDT + Zylin plug-in [message #649250 is a reply to message #649241] Tue, 18 January 2011 11:50 Go to previous messageGo to next message
Marco Trapanese is currently offline Marco TrapaneseFriend
Messages: 10
Registered: July 2009
Junior Member
Yes, I've already tried but it returns the same error. I forgot to say it before.
Re: EclipseCDT + Zylin plug-in [message #649275 is a reply to message #649250] Tue, 18 January 2011 14:28 Go to previous messageGo to next message
John McCabe is currently offline John McCabeFriend
Messages: 228
Registered: July 2009
Senior Member
On Tue, 18 Jan 2011 06:50:59 -0500, Marco Trapanese
<marcotrapanese@gmail.com> wrote:

>Yes, I've already tried but it returns the same error. I forgot to say it before.

Ah well, never mind - I was about to ask if you'd tried asking on the
Zylin-discuss list but, when I went off to check the details on the
email I got earlier I saw it was from you :-)

Unfortunately that IP address was the only thing I could think of as I
don't use the Zylin plugin :-(

Good luck.
Re: EclipseCDT + Zylin plug-in [message #649338 is a reply to message #649275] Tue, 18 January 2011 19:27 Go to previous messageGo to next message
Marco Trapanese is currently offline Marco TrapaneseFriend
Messages: 10
Registered: July 2009
Junior Member
I have no more ideas Confused
Anyway, I wrote to Zylin asking if anybody else reported the same issue. They answer me (very quickly indeed) saying they can't answer because there is no free support for the Eclipse plug-in...

If I can't get it working in few days I must buy the IDE from TI.

Thank you for your answer!
Re: EclipseCDT + Zylin plug-in [message #664112 is a reply to message #649156] Thu, 07 April 2011 14:01 Go to previous messageGo to next message
camilo  is currently offline camilo Friend
Messages: 6
Registered: April 2011
Junior Member

Just in case you have not done this:

You have to run openOCD first, using the command line, like this in my case:

openocd -f /interface/openocd-usb.cfg -f /target/lpc1768.cfg

then, openOCD is up and waiting for your telnet connection. the GDB default port is 3333.

Try this command in cmd: telnet localhost 3333, gdb should answer.
Re: EclipseCDT + Zylin plug-in [message #665420 is a reply to message #664112] Thu, 14 April 2011 15:05 Go to previous messageGo to next message
Antonio  is currently offline Antonio Friend
Messages: 3
Registered: April 2011
Junior Member
Has anyone solved this issue?

I have the same problem running Eclipse Helios CDT + Zylin + openOCD 0.4.0.

I am running openOCD first. Without modification, the same project works/debugs successfully using Eclipse Galileo. It seems to be a Helios issue. Maybe there's a new setting somewhere?
Re: EclipseCDT + Zylin plug-in [message #665430 is a reply to message #665420] Thu, 14 April 2011 15:21 Go to previous messageGo to next message
Marco Trapanese is currently offline Marco TrapaneseFriend
Messages: 10
Registered: July 2009
Junior Member
@camilo

Yes, I know the procedure. But within Eclipse there is no way to communicate to gdb using the Zylin plug-in.

@Antonio
Your report is very interesting. I'm going to try with Galileo.


Anyway, it seems that no developing environment for ARM out there is simple and reliable. I tried several softwares, freeware and demo but no one is ok for intense use.
Re: EclipseCDT + Zylin plug-in [message #665448 is a reply to message #665430] Thu, 14 April 2011 16:18 Go to previous messageGo to next message
Antonio  is currently offline Antonio Friend
Messages: 3
Registered: April 2011
Junior Member
@ Marco,

I've been using Galileo with Yagarto/Tools (latest) for almost a week now without problems. Working with the STM32-H107 board and Olimex ARM-USB-OCD debugger.

Hopefully it works out for you until the Helios/Zylin problem is fixed. I contacted Zylin and got the same quick response you did. It's gotta be a simple bug in the plugin.
Re: EclipseCDT + Zylin plug-in [message #665888 is a reply to message #665448] Mon, 18 April 2011 02:23 Go to previous messageGo to next message
Antonio  is currently offline Antonio Friend
Messages: 3
Registered: April 2011
Junior Member
Update: Zylin plugin works with Helios 32-bit version, just not the 64-bit one.
Re: EclipseCDT + Zylin plug-in [message #665999 is a reply to message #665888] Mon, 18 April 2011 14:36 Go to previous messageGo to next message
Marco Trapanese is currently offline Marco TrapaneseFriend
Messages: 10
Registered: July 2009
Junior Member
Thank you Antonio for solving the mistery.
Anyway, I know Zylin doesn't provide any support for the plug-in but it is not so difficult to say "it works only with eclipse 32-bit".
Re: EclipseCDT + Zylin plug-in [message #666134 is a reply to message #649156] Tue, 19 April 2011 09:09 Go to previous message
camilo  is currently offline camilo Friend
Messages: 6
Registered: April 2011
Junior Member
Hi.. again, just in case it helps someone..

I could not use zylin, so I used the basic Eclipse debugger, following yagarto instructions (yagarto.de), installing Eclipse and C/C++, then with these GDB commands that I found in a polish website:
http://www.freddiechopin.info/index.php ... y/35-arm/5 9-arm-toolchain-tutorial?start=4

monitor reset
Monitor soft_reset_halt
MWW monitor 0xE01FC040 0x0002
load


I also put in the run commands:

monitor reg r13 = (0x10000000)
monitor reg pc = (0x10000004)
continue


That was all, but it was so difficult to find. Now i can debug on chip with my LPC1768!
Previous Topic:Default extension of C++ files
Next Topic:Strange "Run" behavior
Goto Forum:
  


Current Time: Fri Oct 04 12:26:02 GMT 2024

Powered by FUDForum. Page generated in 0.05065 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top