‑‑drv_interface
Syntax
‑‑drv_interface={SWD|JTAG|cJTAG|auto}Parameters
SWDSpecifies the SWD interface.
JTAG(default)Specifies the JTAG interface.
cJTAGSpecifies the cJTAG interface.
This parameter is only available for the C-SPY I-jet driver, the J-Link/J-Trace driver, and the C-SPY TI XDS driver.
autoAutomatically selects the debug interface. This parameter is only available for the C-SPY TI MSP-FET driver.
For use with
The C-SPY CMSIS-DAP driver.
The C-SPY I-jet driver.
The C-SPY J-Link/J-Trace driver.
The C-SPY ST-LINK driver.
The C-SPY TI MSP-FET driver.
The C-SPY TI Stellaris driver.
The C-SPY TI XDS driver.
Description
Use this option to specify the communication interface between the debug probe and the target system.
The SWD interface uses fewer pins than JTAG. Specify ‑‑drv_interface=SWD if you want to use the serial-wire output (SWO) communication channel. Alternatively, you can set this option to JTAG and also specify the ‑‑jet_swo_on_d0 option. SWO output on Trace_D0 is only supported by the C-SPY I-Jet/I-jet Trace driver.
Note
If you select stdout/stderr via SWO on the General Options>Library Configuration page, SWD is selected automatically, unless the device supports output of SWO on Trace_D0.
See also
Caution
Project>Options>Debugger>CMSIS-DAP>Interface/Interface
Project>Options>Debugger>I-jet>Interface>Interface
Project>Options>Debugger>J-Link/J-Trace>Connection>Interface
Project>Options>Debugger>ST-LINK>Setup>Interface
Project>Options>Debugger>TI MSP-FET>Setup>Interface
Project>Options>Debugger>TI Stellaris>Setup>Interface
Project>Options>Debugger>TI XDS>Setup>Interface