116 CHAPTER 3 J-Link software and documentation package
J-Link / J-Trace (UM08001) ©
2004-2017 SEGGER Microcontroller GmbH & Co. KG
Following additional command line options are available. These options are tempo-
rary for each start of GDB Server.
Command line option Explanation
-excdbg Enable exception debugging.
-jtagconf Configures a JTAG scan chain with multiple devices on it.
-log Logs the GDB Server communication to a specific file.
-rtos Selects a RTOS plugin (DLL file)
-singlerun Starts GDB Server in single run mode.
-scriptfile Uses a J-Link scriptfile.
-select Selects the interface to connect to J-Link (USB/IP).
-settingsfile Selects the J-Link Settings File.
-strict Starts GDB Server in strict mode.
-x Executes a gdb file on first connection.
-xc Executes a gdb file on every connection.
-cpu Selects the CPU core. Deprecated, use -device instead.
Table 3.9: General command line options