Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Cannot connect GDB to serial port on Windows
icon4.gif  Cannot connect GDB to serial port on Windows [message #1696169] Fri, 22 May 2015 14:07 Go to next message
nicolas gagnon is currently offline nicolas gagnonFriend
Messages: 1
Registered: May 2015
Junior Member
Hi,

I am trying to debug a remote application in c/c++ with GDB from Eclipse Luna.

My device is on the serial port named COM11 in the device manager in Windows. I also can connect to this port with a serial terminal like Termite.

I created a debug configurations with all the right settings but when I put COM11 in Debbuger->Connection->Device and I hit Debug I have the following error :

Error in final launch sequence
Failed to execute MI command:
-target-select remote COM11
Error message from debugger back end:
COM11: No such file or directory.
COM11: No such file or directory.

I also tried with com11 and the Linux serial port name style (/dev/ttyS11) with no success!

Thanks in advance,

Nicolas Gagnon
Re: Cannot connect GDB to serial port on Windows [message #1696349 is a reply to message #1696169] Tue, 26 May 2015 00:46 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 05/22/2015 08:57 AM, nicolas gagnon wrote:
> Hi,
>
> I am trying to debug a remote application in c/c++ with GDB from Eclipse
> Luna.
>
> My device is on the serial port named COM11 in the device manager in
> Windows. I also can connect to this port with a serial terminal like
> Termite.
>
> I created a debug configurations with all the right settings but when I
> put COM11 in Debbuger->Connection->Device and I hit Debug I have the
> following error :
>
> Error in final launch sequence
> Failed to execute MI command:
> -target-select remote COM11
> Error message from debugger back end:
> COM11: No such file or directory.
> COM11: No such file or directory.
>
> I also tried with com11 and the Linux serial port name style
> (/dev/ttyS11) with no success!
>
> Thanks in advance,
>
> Nicolas Gagnon

You'll probably get more mileage out of posting this question to the
Eclipse CDT forum.
Previous Topic:Disabling eclipse shortcuts while colde is running
Next Topic:Getting "PyDev" perspective in Open Perspective Panel
Goto Forum:
  


Current Time: Tue Nov 12 18:43:07 GMT 2019

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

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

Back to the top