C2000 Debugger | 53
©
1989-2023
Lauterbach
SYStem.Option.DEBUGPORTOptions
Options for debug port handling
Default: SWITCHTOSWD.TryAll, SWDTRSTKEEP.DEFault.
See Arm CoreSight manuals to understand the used terms and abbreviations and what is going on here.
SWITCHTOSWD
tells the debugger what to do in order to switch the debug port to serial wire mode:
SWDTRSTKEEP
tells the debugger what to do with the nTRST signal on the debug connector during serial
wire operation. This signal is not required for the serial wire mode but might have effect on some target
boards, so that it needs to have a certain signal level.
Format:
SYStem.Option.DEBUGPORTOptions
<option>
<option>
:
SWITCHTOSWD.
[
TryAll
|
None
|
JtagToSwd
|
LuminaryJtagToSwd
|
Dor-
mantToSwd
|
JtagToDormantToSwd
]
SWDTRSTKEEP.
[
DEFault
|
LOW
|
HIGH
]
TryAll
Try all switching methods in the order they are listed below. This is
the default. Normally it does not hurt to try improper switching
sequences. Therefore this succeeds in most cases.
None
There is no switching sequence required. The SW-DP is ready
after power-up. The debug port of this device can only be used as
SW-DP.
JtagToSwd
Switching procedure as it is required on SWJ-DP without a
dormant state. The device is in JTAG mode after power-up.
LuminaryJtagToSwd
Switching procedure as it is required on devices from
LuminaryMicro. The device is in JTAG mode after power-up.
DormantToSwd
Switching procedure which is required if the device starts up in
dormant state. The device has a dormant state but does not
support JTAG.
JtagToDormantToSwd
Switching procedure as it is required on SWJ-DP with a dormant
state. The device is in JTAG mode after power-up.
DEFault
Use nTRST the same way as in JTAG mode which is typically a low-pulse
on debugger start-up followed by keeping it high.
LOW
Keep nTRST low during serial wire operation.
HIGH
Keep nTRST high during serial wire operation