C6000 Debugger | 48
©
1989-2022
Lauterbach
SYStem.Mode
Establish the communication with the target
Default: Down.
Configures how the debugger connects to the target and how the target is handled.
Format:
SYStem.Mode
<mode>
SYStem.Attach
(alias for SYStem.Mode Attach)
SYStem.Down
(alias for SYStem.Mode Down)
SYStem.Up
(alias for SYStem.Mode Up)
<mode>
:
Down
NoDebug
Prepare
Go
Attach
StandBy
Up
Down
Disables the debugger. The state of the CPU remains unchanged. The
JTAG port is tristated.
NoDebug
Disables the debugger. The state of the CPU remains unchanged. The
JTAG port is tristated.
Prepare
The debugger initializes the debug port (JTAG, SWD, cJTAG) and
CoreSight DAP interface, but does not connect to the CPU.
This debug mode is used if the CPU shall not be debugged or bypassed,
i.e. the debugger can access the memory busses, such as AXI, AHB and
APB, directly through the memory access ports of the CoreSight DAP.
Typical use cases:
•
The debugger accesses (physical) memory and bypasses the CPU
if a mapping exists. Memory might require initialization before it can
be accessed.
•
The debugger accesses peripherals, e.g. for configuring registers
prior to stopping the CPU in debug mode. Peripherals might need to
be clocked and powered before they can be accessed.
•
Third-party software or proprietary debuggers use the TRACE32
API (application programming interface) to access the debug port
and DAP via the TRACE32 debugger hardware.
Go
Resets the target via the reset line, initializes the debug port (JTAG, SWD,
cJTAG), and starts the program execution. For a reset, the reset line has to
be connected to the debug connector.
Program execution can, for example, be stopped by the
command.