4.7.4
Determining which DLL is used by a program ............................................ 172
4.8
Getting started with J-Link and ARM DS-5................................................. 173
4.8.1
Replacing the RDDI DLL manually ............................................................ 173
4.8.2
Using J-Link in DS-5 Development Studio ................................................. 173
5.1
5.1.1
Power-on sequence................................................................................ 176
5.1.2
Verifying target device connection ........................................................... 176
5.1.3
Problems .............................................................................................. 176
5.2
Indicators ............................................................................................. 177
5.2.1
Main indicator ....................................................................................... 177
5.2.2
Input indicator ...................................................................................... 179
5.2.3
Output indicator .................................................................................... 179
5.3
JTAG interface....................................................................................... 180
5.3.1
Multiple devices in the scan chain ............................................................ 180
5.3.2
Sample configuration dialog boxes ........................................................... 180
5.3.3
5.3.4
JTAG Speed .......................................................................................... 184
5.4
SWD interface ....................................................................................... 185
5.4.1
SWD speed ........................................................................................... 185
5.4.2
SWO .................................................................................................... 185
5.5
Multi-core debugging ............................................................................. 187
5.5.1
How multi-core debugging works ............................................................. 187
5.5.2
5.5.3
5.6
5.6.1
How does it work? ................................................................................. 191
5.7
J-Link control panel................................................................................ 193
5.7.1
Tabs .................................................................................................... 193
5.8
Reset strategies .................................................................................... 199
5.8.1
Strategies for ARM 7/9 devices ................................................................ 199
5.8.2
5.9
5.9.1
What is required? .................................................................................. 204
5.9.2
Target DCC handler ............................................................................... 204
5.9.3
Target DCC abort handler ....................................................................... 204
5.10
5.10.1
SEGGER Embedded Studio ...................................................................... 205
5.10.2
Keil MDK-ARM (uVision).......................................................................... 205
5.10.3
IAR EWARM .......................................................................................... 205
5.10.4
Mentor Sourcery CodeBench for ARM........................................................ 205
5.11
J-Link script files ................................................................................... 206
5.11.1
Actions that can be customized ............................................................... 206
5.11.2
5.11.3
Global DLL variables .............................................................................. 213
5.11.4
Global DLL constants.............................................................................. 217
5.11.5
Script file language ................................................................................ 219
5.11.6
5.11.7
Executing J-Link script files ..................................................................... 220
5.12
Command strings .................................................................................. 223
5.12.1
List of available commands ..................................................................... 223
5.12.2
5.13
5.14
Cache handling...................................................................................... 244
5.14.1
Cache coherency ................................................................................... 244
5.14.2
Cache clean area ................................................................................... 244
5.14.3
Cache handling of ARM7 cores................................................................. 244
5.14.4
Cache handling of ARM9 cores................................................................. 244
5.15
5.15.1
Configuring Virtual COM Port ................................................................... 245
J-Link / J-Trace (UM08001)
© 2004-2017 SEGGER Microcontroller GmbH & Co. KG
19
Need help?
Do you have a question about the J-Link and is the answer not in the manual?