Debugging With J-Link Gdb Server - Segger J-Link User Manual

Hide thumbs Also See for J-Link:
Table of Contents

Advertisement

3.3.2

Debugging with J-Link GDB Server

With J-Link GDB Server programs can be debugged via GDB directly on the target
device like a normal application. The application can be loaded into RAM or flash of
the device.
Before starting GDB Server make sure a J-Link and the target device are connected.
3.3.2.1 Setting up GDB Server GUI version
The GUI version of GDB Server is part of the Windows J-Link Software Package
(JLinkGDBServer.exe).
When starting GDB Server a configuration dialog pops up letting you select the
needed configurations to connect to J-Link and the target.
All configurations can optionally be given in the command line options.
Note:
To make sure the connection to the target device can be established cor-
retly, the device, as well as the interface and interface speed have to be given on
start of GDB Server, either via command line options or the configuration dialog.
If the target device option (-device) is given, the configuration dialog will not pop
up.
3.3.2.2 Setting up GDB Server CL version
The command line version of GDB Server is part of the J-Link Software Package for
all supported platforms.
On Windows its name is JLinkGDBServerCL.exe, on Linux and Mac it is JLinkGDB-
Server.
J-Link / J-Trace (UM08001)
© 2004-2017 SEGGER Microcontroller GmbH & Co. KG
93

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the J-Link and is the answer not in the manual?

This manual is also suitable for:

J-trace

Table of Contents

Save PDF