EasyManua.ls Logo

Segger J-Link - Program Termination

Segger J-Link
480 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
126 CHAPTER 3 J-Link software and documentation package
J-Link / J-Trace (UM08001) ©
2004-2017 SEGGER Microcontroller GmbH & Co. KG
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.

Table of Contents

Other manuals for Segger J-Link

Related product manuals