Qorivva MPC5xxx/SPC5xx Debugger and NEXUS Trace
105
©1989-2021 Lauterbach GmbH
If
is called using the default setting SYStem.Option ResBreak ON, the debugger will assert
reset and send a halt command to the core while reset is asserted. If the processor is censored and a
password is supplied, the debugger will also unlock the processor while reset is asserted. This method
ensures that the debugger can halt the core directly at the reset address.
Some processors of the MPC57XX/SPC57X/SPC58X series have a bug causing the censorship unlock to
fail if it is done while reset is asserted. This bug collides with the debugger’s default SYStem.Up sequence.
Processors known to have this bug are: MPC574xB/C/D/G (Calypso), MPC5777C (Cobra55), MPC5777M
(Matterhorn), SPC58NE (Eiger).
In order to connect to above censored processors, set SYStem.Option ResBreak to OFF. With this setting,
the debugger will assert and release RESET. After a delay defined using
, the
debugger will unlock the processor and halt the core. The longer the defined WaitReset time, the more
program code is executed until the core can be halted. If the WaitReset time is too short, SYStem.Up will fail.
SYStem.Option ResetDetection
Configure reset detection method
Default: OFF. This option configures if the debugger’s reset detection is enabled and if enabled, which
signals are used to detect reset.
If reset detection is enabled and a reset is detected, the debugger will perform the action selected with
This feature is important for processors of the MPC55XX/MPC560X/SPC560X series, which clear debug
and trace registers upon reset. For newer processors, which don’t clear debug and trace register upon reset,
this option can be set to off, unless any other tool connected to the target asserts JCOMP when it detects a
target reset. See chapter
Debugging and Tracing Through Reset
for details.
Processors which require the PCRs to be configured by the debugger for tracing, reset detection has to be
enabled in order to enable tracing through reset.
Format:
SYStem.Option ResetDetection
<method>
SYStem.Option RSTOUT
[
ON
|
OFF
]
(deprecated)
<method>
:
OFF
|
RESETPIN
|
RSTINOUT
<method>
Function
OFF
Reset detection is disabled.