Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse Debug Settings : GDB( I can able to build my program but while debugging I am struck with " Target connected .. Waiting for GDB connection .. )
Eclipse Debug Settings : GDB [message #1729498] Thu, 14 April 2016 18:16 Go to next message
Praveen Selvaraj is currently offline Praveen SelvarajFriend
Messages: 2
Registered: April 2016
Junior Member
Confused Hello,
I followed all instrucions provided in help. But cant able to debug..

My Program running Micium's uC-OSII on the Keil MCB2100 board (using the LPC2129 microcontroller).
Debuger: Jlink Seggar . S/N 268002449 Version : 8.0


I can able to build my program but while debugging I am struck with " Target connected .. Waiting for GDB connection .. "

I would like to know were to check wether GDB started or not and respective settings for this issue. (how to proceed with?) please find attachment to setting that I have done.

From Segger:

Sounds like GDBServer is started correctly and connects to the target
but GDB is not started or does not connect to GDBServer.
Not a J-Link issue but a setup issue in Eclipse.
We recommend to get in touch with the appropriate Eclipse community.




error:


SEGGER J-Link GDB Server V5.00c GUI Version

JLinkARM.dll V5.00c (DLL compiled Jun 11 2015 11:40:27)

-----GDB Server start settings-----
GDBInit file: none
GDB Server Listening port: 2331
SWO raw output listening port: 2332
Terminal I/O port: 2333
Accept remote connection: localhost only
Generate logfile: off
Verify download: on
Init regs on start: off
Silent mode: off
Single run mode: off
Target connection timeout: 5000 ms
------J-Link related settings------
J-Link Host interface: USB
J-Link script: none
J-Link settings file: none
------Target related settings------
Target device: LPC2129
Target interface: JTAG
Target interface speed: 0kHz
Target endian: little

Connecting to J-Link...
J-Link is connected.
Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
Hardware: V8.00
S/N: 268002449
OEM: SEGGER-EDU
Feature(s): FlashBP, GDB
Checking target voltage...
Target voltage: 3.30 V
Listening on TCP/IP port 2331
Connecting to target...
J-Link found 1 JTAG device, Total IRLen = 4
JTAG ID: 0x4F1F0F0F (ARM7)
Connected to target
Waiting for GDB connection...
Re: Eclipse Debug Settings : GDB [message #1729621 is a reply to message #1729498] Sat, 16 April 2016 07:57 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
It's best to ask about C/C++ on the CDT forum.

On 15.04.2016 14:30, Praveen Selvaraj wrote:
> :? Hello,
> I followed all instrucions provided in help. But cant able to debug..
>
> My Program running Micium's uC-OSII on the Keil MCB2100 board (using the LPC2129 microcontroller).
> Debuger: Jlink Seggar . S/N 268002449 Version : 8.0
>
>
> I can able to build my program but while debugging I am struck with " Target connected .. Waiting for GDB connection .. "
>
> I would like to know were to check wether GDB started or not and respective settings for this issue. (how to proceed with?) please find attachment to setting that I have done.
>
> From Segger:
> Sounds like GDBServer is started correctly and connects to the target
> but GDB is not started or does not connect to GDBServer.
> Not a J-Link issue but a setup issue in Eclipse.
> We recommend to get in touch with the appropriate Eclipse community.
>
>
>
> error:
>
> SEGGER J-Link GDB Server V5.00c GUI Version
>
> JLinkARM.dll V5.00c (DLL compiled Jun 11 2015 11:40:27)
>
> -----GDB Server start settings-----
> GDBInit file: none
> GDB Server Listening port: 2331
> SWO raw output listening port: 2332
> Terminal I/O port: 2333
> Accept remote connection: localhost only
> Generate logfile: off
> Verify download: on
> Init regs on start: off
> Silent mode: off
> Single run mode: off
> Target connection timeout: 5000 ms
> ------J-Link related settings------
> J-Link Host interface: USB
> J-Link script: none
> J-Link settings file: none
> ------Target related settings------
> Target device: LPC2129
> Target interface: JTAG
> Target interface speed: 0kHz
> Target endian: little
>
> Connecting to J-Link...
> J-Link is connected.
> Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
> Hardware: V8.00
> S/N: 268002449
> OEM: SEGGER-EDU
> Feature(s): FlashBP, GDB
> Checking target voltage...
> Target voltage: 3.30 V
> Listening on TCP/IP port 2331
> Connecting to target...
> J-Link found 1 JTAG device, Total IRLen = 4
> JTAG ID: 0x4F1F0F0F (ARM7)
> Connected to target
> Waiting for GDB connection...


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Weird debug perspective behaviour (buggy GDB console/variables view)
Next Topic:Function 'xyz' could not be resolved
Goto Forum:
  


Current Time: Fri Apr 19 18:55:32 GMT 2024

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

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

Back to the top