19
4.3.32 SWO GetSpeedInfo ........................................................................ 112
4.3.33 waithalt ........................................................................................ 112
4.3.34 wice ............................................................................................. 113
4.3.35 ReadAP .........................................................................................113
4.3.36 ReadDP ........................................................................................ 113
4.3.37 WriteAP ........................................................................................ 114
4.3.38 WriteDP ........................................................................................ 114
4.4 SEGGER-specific GDB protocol extensions ..................................................... 116
4.5 Command line options ................................................................................ 117
4.5.1 -cpu ...............................................................................................118
4.5.2 -device ...........................................................................................119
4.5.3 -endian .......................................................................................... 119
4.5.4 -if ..................................................................................................119
4.5.5 -ir ..................................................................................................120
4.5.6 -excdbg ..........................................................................................120
4.5.7 -jtagconf ........................................................................................ 120
4.5.8 -localhostonly ..................................................................................121
4.5.9 -log ............................................................................................... 121
4.5.10 -logtofile .......................................................................................121
4.5.11 -halt .............................................................................................122
4.5.12 -noir ............................................................................................ 122
4.5.13 -nolocalhostonly ............................................................................ 122
4.5.14 -nologtofile ................................................................................... 122
4.5.15 -nohalt ......................................................................................... 123
4.5.16 -nosilent ....................................................................................... 123
4.5.17 -nostayontop .................................................................................123
4.5.18 -notimeout ....................................................................................124
4.5.19 -novd ........................................................................................... 124
4.5.20 -port ............................................................................................ 124
4.5.21 -rtos ............................................................................................ 124
4.5.22 -jlinkscriptfile ................................................................................ 125
4.5.23 -select ..........................................................................................125
4.5.24 -settingsfile ...................................................................................125
4.5.25 -silent .......................................................................................... 125
4.5.26 -singlerun ..................................................................................... 126
4.5.27 -speed ..........................................................................................126
4.5.28 -stayontop .................................................................................... 126
4.5.29 -timeout ....................................................................................... 126
4.5.30 -strict ...........................................................................................127
4.5.31 -swoport .......................................................................................127
4.5.32 -telnetport .................................................................................... 127
4.5.33 -vd .............................................................................................. 128
4.5.34 -x ................................................................................................ 128
4.5.35 -xc ...............................................................................................128
4.6 Program termination ...................................................................................129
4.6.1 Exit codes ...................................................................................... 129
4.7 Semihosting ...............................................................................................130
5 Setup .........................................................................................................................131
5.1 Installing the J-Link software and documentation pack .................................... 132
5.1.1 Setup procedure ..............................................................................132
5.2 Setting up the USB interface ....................................................................... 133
5.2.1 Verifying correct driver installation .....................................................133
5.2.2 Uninstalling the J-Link USB driver ......................................................134
5.3 Setting up the IP interface .......................................................................... 136
5.3.1 Configuring J-Link using J-Link Configurator ........................................136
5.3.2 Configuring J-Link using the webinterface ...........................................136
5.4 FAQs .........................................................................................................138
5.5 J-Link Configurator ..................................................................................... 139
J-Link / J-Trace (UM08001) © 2004-2018 SEGGER Microcontroller GmbH