Specifications

Table Of Contents
ARM Debugger 9 Quick Start of the JTAG Debugger
©1989-2014 Lauterbach GmbH
Quick Start of the JTAG Debugger
Starting up the debugger is done as follows:
1. Reset the debugger.
The RESet command ensures that no debugger setting remains from a former debug session. All
settings get their default value. RESet is not required if you start the debug session directly after
booting the TRACE32 development tool. RESet does not reset the target.
2. Select the chip or core you intend to debug.
Based on the selected chip the debugger sets the SYStem.CONFIG and SYStem.Option commands
the way which should be most appropriate for debugging this chip. Ideally no further setup is required.
If you select a Cortex-A or Cortex-R core instead of a chip (e.g. “SYStem.CPU CortexR4”) then
you need to specify the base address of the debug register block:
3. Connect to target.
This command establishes the JTAG communication to the target. It resets the processor and enters
debug mode (halts the processor; ideally at the reset vector). After this command is executed it is
possible to access memory and registers.
Some devices can not communicate via JTAG while in reset or you might want to connect to a
running program without causing a target reset. In this case use
instead. A “Break” will halt the processor.
4. Load the program you want to debug.
This loads the executable to the target and the debug/symbol information to the debugger’s host. If
the program is already on the target then load with “/NOCODE” option.
RESet
SYStem.CPU <cputype>
SYStem.CONFIG.COREDEBUG.Base <address>
SYStem.Up
SYStem.Mode Attach
Data.LOAD armle.axf