Skip to main content

IAR Embedded Workbench for Arm 9.70.x

‑‑drv_communication

In this section:
Syntax
‑‑drv_communication=connection
Parameters

Where connection is one of these for the C-SPY GDB Server driver:

Via Ethernet

TCPIP:ip_address

TCPIP:ip_address,port

TCPIP:hostname

TCPIP:hostname,port

Note that if no port is specified, port 3333 is used by default.

Where connection is one of these for the C-SPY J-Link/J-Trace driver:

Via USB port

USB:#serial where serial is a string of digits and letters that identifies which probe you want to connect to. The serial number can be found either printed on the probe, or obtained by connecting a single probe, and then starting the debug session. The serial number is then displayed in the Debug Log window. The serial number is also displayed in the Debug Probe Selection dialog box.

USB:#select forces the Debug Probe Selection dialog box to be displayed each time you start a debug session.

Via USB directly to the debug probe

USB0–USB3

When using USB0 and if there are more than one debug probes on the USB connection, a dialog box is displayed when the debug session starts. Use the dialog box to choose which debug probe to connect to.

Via J-Link on LAN

TCPIP:

When the colon sign is not followed by any address, host name, or serial number, the J-Link driver searches for all J-Link debug probes on the local network and displays them in a dialog box where you can choose which one to connect to (Auto detect).

TCPIP:ip_address

TCPIP:ip_address,port

TCPIP:hostname

TCPIP:hostname,port

TCPIP:#serial, connects to the J-Link with the serial number number on the local network

Note that if no port is specified, port 19020 is used by default.

Where connection is one of these for the C-SPY I-jet driver:

Via USB port

USB:#serial where serial is a string of digits and letters that identifies which probe you want to connect to. The serial number can be found either printed on the probe, or obtained by connecting a single probe, and then starting the debug session. The serial number is then displayed in the Debug Log window. The serial number is also displayed in the Debug Probe Selection dialog box.

USB:#select forces the Debug Probe Selection dialog box to be displayed each time you start a debug session.

Where connection is one of these for the C-SPY ST-LINK driver, the C-SPY TI Stellaris driver, and the C-SPY TI XDS driver:

Via USB port

USB:#serial where serial is a string of digits and letters that identifies which probe you want to connect to. The serial number can be found either printed on the probe, or obtained by connecting a single probe, and then starting the debug session. The serial number is then displayed in the Debug Log window. The serial number is also displayed in the Debug Probe Selection dialog box.

USB:#select forces the Debug Probe Selection dialog box to be displayed each time you start a debug session.

USBx where x is the enumeration order (0-256) of the probe when plugged in. This is an alternative notation for when the serial number cannot be used—a solution for older probes. However, this is an uncertain method, because the order can change the next time that you plug in the probes, or when you reboot your computer. The USB port can be obtained by plugging in all probes to be used. Then use ‑‑drv_communication=USB:#select to display all connected probes in the Debug Probe Selection dialog box.

Where connection is one of these for the C-SPY TI MSP-FET driver:

Via COM port

COMx where x is the enumeration order (0-256) of the probe when plugged in. This is an uncertain method, because the order can change the next time that you plug in the probes, or when you reboot your computer.

If you do not specify the option ‑‑drv_communication, the debug probe is automatically selected.

For use with

The C-SPY GDB Server 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 choose communication link.

Caution

Project>Options>Debugger>GDB Server>TCP/IP address or hostname [,port]

Project>Options>Debugger>J-Link/J-Trace>Connection>Communication

Project>Options>Debugger>ST-LINK>Setup

Project>Options>Debugger>TI MSP-FET>Setup

Project>Options>Debugger>TI XDS>Setup

To set this option for the C-SPY TI Stellaris driver, use Project>Options>Debugger>Extra Options.