69
#Initially reset the target
monitor reset
#Load the application
load
Other commands to set up the target (e.g. Set PC to RAM, initialize external flashes)
can be entered here, too.
emIDE will automatically start GDB Server on start of the debug session. If it does
not, or an older version of GDB Server start, in emIDE click on JLink -> Run the
JLink-plugin configuration.
The screenshot below shows an debug session in IDE. For download and more infor-
mation about emIDE, please refer to http://emide.org.
Console
GDB can be used stand-alone as a console application.
To connect GDB to GDB Server enter
into the run-
target remote localhost:2331
ning GDB. Within GDB all GDB commands and the remote monitor commands are
available. For more information about debugging with GDB refer to its online manual
available at http://sourceware.org/gdb/current/onlinedocs/gdb/.
A typical startup of a debugging session can be like:
J-Link / J-Trace (UM08001)
© 2004-2013 SEGGER Microcontroller GmbH & Co. KG
Need help?
Do you have a question about the J-Link and is the answer not in the manual?