Program Termination - Segger J-Link User Manual

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

Advertisement

126
Syntax
-TelnetPort <Port>
Example
jlinkgdbserver -TelnetPort 2554
3.3.5.33 -vd
Description
Verifys the data after downloading it.
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
-vd
3.3.5.34 -x
Description
Starts the GDB Server with a gdbinit (configuration) file. In contrast to the -xc com-
mand line option the GDB Server runs the commands in the gdbinit file once only
direct after the first connection of a client.
Syntax
-x <ConfigurationFilePath>
Example
jlinkgdbserver -x C:\MyProject\Sample.gdb
3.3.5.35 -xc
Description
Starts the GDB Server with a gdbinit (configuration) file. GDB Server executes the
commands specified in the gdbinit file with every connection of a client / start of a
debugging session.
Syntax
-xc <ConfigurationFilePath>
Example
jlinkgdbserver -xc C:\MyProject\Sample.gdb
3.3.6

Program termination

J-Link GDB Server is normally terminated by a close or Ctrl-C event. When the single
run mode is active it will also close when an error occurred during start or after all
connections to GDB Server are closed.
On termination GDB Server will close all connections and disconnect from the target
device, letting it run.
3.3.6.1 Exit codes
J-Link GDB Server terminates with an exit code indicating an error by a non-zero exit
code.
J-Link / J-Trace (UM08001)
CHAPTER 3
J-Link software and documentation package
© 2004-2017 SEGGER Microcontroller GmbH & Co. KG

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

J-trace

Table of Contents

Save PDF