94
Starting GDB Server on Windows
To start GDB Server CL on Windows, open the 'Run' prompt (Windows-R) or a com-
mand terminal (cmd) and enter <PathToJLinkSoftware>\JLinkGDBServerCL.exe
<CommandLineOptions>.
Starting GDB Server on Linux / Mac
To start GDB Server CL on Linux / Mac, open a terminal and call JLinkGDBServer
<CommandLineOptions>
Command Line Options
When using GDB Server CL, at least the mandatory command line options have to be
given. Additional command line options can be given to change the default behavior
of GDB Server.
For more information about the available command line options, please refer to Com-
mand line options on page 115.
3.3.2.3 GDB Server user interface
The J-Link GDB Server's user interface shows information about the debugging pro-
cess and the target and allows to configure some settings during execution.
It shows following information:
•
The IP address of host running debugger.
•
Connection status of J-Link.
•
Information about the target core.
•
Measured target voltage.
•
Bytes that have been downloaded.
•
Status of target.
•
Log output of the GDB Server (optional, if Show log window is checked).
•
Initial and current target interface speed.
•
Target endianess.
These configurations can be made from inside GDB Server:
•
Localhost only: If checked only connections from 127.0.0.1 are accepted.
•
Stay on top
•
Show log window.
•
Generate logfile: If checked, a log file with the GDB <-> GDB Server <-> J-Link
communication will be created.
•
Verify download: If checked, the memory on the target will be verified after
download.
•
Init regs on start: If checked, the register values of the target will be set to a
reasonable value before on start of GDB Server.
3.3.2.4 Running GDB from different programs
We assume that you already have a solid knowledge of the software
tools used for building your application (assembler, linker, C compiler) and
especially the debugger and the debugger frontend of your choice. We
do not answer questions about how to install and use the chosen toolchain.
J-Link / J-Trace (UM08001)
CHAPTER 3
J-Link software and documentation package
© 2004-2017 SEGGER Microcontroller GmbH & Co. KG
Need help?
Do you have a question about the J-Link and is the answer not in the manual?