Skip to main content

IAR Embedded Workbench for Arm 10.10.x

‑‑drv_interface

In this section:
Syntax
‑‑drv_interface={SWD|JTAG|cJTAG}
Parameters
SWD

Specifies the SWD interface.

JTAG (default)

Specifies the JTAG interface.

cJTAG

Specifies 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.

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 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 ITM on the General>Library Configuration page, SWD is selected automatically, unless the device supports output of SWO on Trace_D0.

See also

Caution

Project>Options>CMSIS-DAP>Interface/Interface

Project>Options>I-jet>Interface>Interface

Project>Options>J-Link/J-Trace>Connection>Interface

Project>Options>ST-LINK>Setup>Interface

Project>Options>TI XDS>Setup>Interface