Segger J-Link User Manual page 125

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

Advertisement

Note:
The recommended order is to power the target, connect it to J-Link and
then start GDB Server.
Syntax
-timeout <Timeout[ms]>
Example
Allow target connection within 10 seconds.
jlinkgdbserver -timeout 10000
3.3.5.30 -strict
Description
Starts GDB Server in sctrict mode. When strict mode is active GDB Server checks the
correctness of settings and exits in case of a failure.
Currently the device name is checked. If no device name is given or the device is
unknown to the J-Link, GDB Server exits instead of selecting "Unspecified" as device
or showing the device selection dialog.
Syntax
- strict
Example
Following executions of GDB Server (CL) will cause exit of GDB Server.
jlinkgdbserver -strict -device UnknownDeviceName
jlinkgdbservercl -strict
Following execution of GDB Server will show the device selction dialog under Win-
dows or select "Unspecified" directly under Linux / OS X.
jlinkgdbserver -device UnknownDeviceName
3.3.5.31 -swoport
Description
Set up port on which GDB Server should listen for an incoming connection that reads
the SWO data from GDB Server. Default port is 2332.
Note:
Using multiple instances of GDB Server, setting custom values for this
option is necessary.
Syntax
-SWOPort <Port>
Example
jlinkgdbserver -SWOPort 2553
3.3.5.32 -telnetport
Description
Set up port on which GDB Server should listen for an incoming connection that gets
target's printf data (Semihosting and anylized SWO data). Default port is 2333.
Note:
Using multiple instances of GDB Server, setting custom values for this
option is necessary.
J-Link / J-Trace (UM08001)
© 2004-2017 SEGGER Microcontroller GmbH & Co. KG
125

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?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

J-trace

Table of Contents

Save PDF