Segger J-Link User Manual page 21

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

Advertisement

21
17.3
Signal requirements .................................................................................. 349
18
Semihosting .............................................................................................................350
18.1
Introduction ............................................................................................. 351
18.1.1
18.1.2
18.2
Debugger support .....................................................................................352
18.3
Implementation ........................................................................................ 353
18.3.1
18.3.2
18.3.3
18.4
Communication protocol ............................................................................ 356
18.4.1
18.4.2
18.4.3
18.4.4
18.4.5
18.4.6
18.4.7
18.4.8
18.4.9
18.4.10
18.4.11
18.4.12
18.4.13
18.4.14
18.4.15
18.5
Enabling semihosting in J-Link GDBServer ................................................... 362
18.5.1
18.5.2
18.5.3
18.6
Enabling Semihosting in J-Link RDI + AXD .................................................. 363
18.6.1
19
Support and FAQs .................................................................................................. 364
19.1
Measuring download speed ........................................................................ 365
19.2
Troubleshooting ........................................................................................ 366
19.2.1
19.3
Contacting support ................................................................................... 367
19.3.1
J-Link / J-Trace (UM08001)
Advantages ................................................................................... 351
Disadvantages ............................................................................... 351
SVC instruction ............................................................................. 353
Breakpoint instruction .................................................................... 353
J-Link GDBServer optimized version ................................................. 353
Register R0 ...................................................................................356
Command SYS_OPEN (0x01) .......................................................... 356
Command SYS_CLOSE (0x02) ......................................................... 357
Command SYS_WRITEC (0x03) ....................................................... 357
Command SYS_WRITE0 (0x04) ....................................................... 358
Command SYS_WRITE (0x05) ......................................................... 358
Command SYS_READ (0x06) .......................................................... 358
Command SYS_READC (0x07) .........................................................359
Command SYS_ISTTY (0x09) .......................................................... 359
Command SYS_SEEK (0x0A) ......................................................... 359
Command SYS_FLEN (0x0C) ......................................................... 360
Command SYS_REMOVE (0x0E) .....................................................360
Command SYS_RENAME (0x0F) ..................................................... 360
Command SYS_GET_CMDLINE (0x15) ............................................ 361
Command SYS_EXIT (0x18) .......................................................... 361
SVC variant .................................................................................. 362
Breakpoint variant ......................................................................... 362
J-Link GDBServer optimized variant ................................................. 362
Using SWIs in your application ........................................................ 363
General procedure ......................................................................... 366
Contact Information ....................................................................... 367
© 2004-2017 SEGGER Microcontroller GmbH & Co. KG

Advertisement

Table of Contents

Troubleshooting

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