124 CHAPTER 3 J-Link software and documentation package
J-Link / J-Trace (UM08001) ©
2004-2017 SEGGER Microcontroller GmbH & Co. KG
Note: For the GUI version, this setting is persistent for following uses of GDB
Server until changed via command line option or the GUI.
Syntax
-silent
3.3.5.26 -singlerun
Description
Starts GDB Server in single run mode. When active, GDB Server will close when all
client connections are closed.
In normal run mode GDB Server will stay open and wait for new connections.
When started in single run mode GDB Server will close immediately when connecting
to the target fails. Make sure it is powered and connected to J-Link before starting
GDB Server.
Syntax
-s
-singlerun
3.3.5.27 -speed
Description
Starts GDB Server with a given initial speed.
Available parameters are “adaptive”, “auto” or a freely selectable integer value in
kHz. It is recommended to use either a fixed speed or, if it is available on the target,
adaptive speeds.
Note: Using GDB Server CL this option is mandatory to correctly connect to the
target, and should be given before connection via GDB.
Syntax
-speed <Speed_kHz>
Example
jlinkgdbserver -speed 2000
3.3.5.28 -stayontop
Description
Starts the GDB Server in topmost mode. It will be placed above all non-topmost win-
dows and maintains it position even when it is deactivated.
Note: For the CL version this setting has no effect.
Note: For the GUI version, this setting is persistent for following uses of GDB
Server until changed via command line option or the GUI.
Syntax
-stayontop
3.3.5.29 -timeout
Description
Set the timeout after which the target connection has to be established. If no con-
nection could be established GDB Server will close.
The default timeout is 5 seconds for the GUI version and 0 for the command line ver-
sion.