Segger J-Link User Manual page 19

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

Advertisement

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 Working with J-Link and J-Trace..................................................................................175
5.1
Connecting the target system.................................................................. 176
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
Determining values for scan chain configuration......................................... 183
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
Using multi-core debugging in detail ........................................................ 188
5.5.3
Things you should be aware of ................................................................ 189
5.6
Connecting multiple J-Links / J-Traces to your PC ...................................... 191
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
Strategies for Cortex-M devices ............................................................... 201
5.9
Using DCC for memory access ................................................................. 204
5.9.1
What is required? .................................................................................. 204
5.9.2
Target DCC handler ............................................................................... 204
5.9.3
Target DCC abort handler ....................................................................... 204
5.10
The J-Link settings file............................................................................ 205
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
Script file API functions .......................................................................... 208
5.11.3
Global DLL variables .............................................................................. 213
5.11.4
Global DLL constants.............................................................................. 217
5.11.5
Script file language ................................................................................ 219
5.11.6
Script file writing example ...................................................................... 220
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
Using command strings .......................................................................... 241
5.13
Switching off CPU clock during debug ....................................................... 243
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
Virtual COM Port (VCOM) ........................................................................ 245
5.15.1
Configuring Virtual COM Port ................................................................... 245
J-Link / J-Trace (UM08001)
© 2004-2017 SEGGER Microcontroller GmbH & Co. KG
19

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?

This manual is also suitable for:

J-trace

Table of Contents

Save PDF