A target interface is a mechanism for communicating with and controlling a target. A target maybe be a physical hardware device or a simulator.

CrossStudio has a targets window for viewing and manipulating target interfaces. For more information on the targets window, see Targets Window.

Before a target interface can be used, it must be connected. CrossStudio permits connection to only one target at a time. For more information on connecting to target interfaces, see Connecting to a target.

All target interfaces have a set of properties. The properties provide information on the connected target and allow the target interface to be configured. For more information on viewing and editing target properties, see Viewing and editing target properties.

CrossWorks for ARM can connect to the following targets and target interfaces:

- USB CrossConnect for ARM
- Macraigor System's Wiggler for ARM
- Segger J-Link
- CrossStudio ARM Simulator

## USB CrossConnect for ARM Target Interface

The USB CrossConnect for ARM target interface provides access to ARM targets via the Rowley Associates USB CrossConnect for ARM. This target interface supports program loading and debugging of both RAM and FLASH based applications.

CrossConnect Properties
Firmware Variant | The variant of the firmware running on the currently connected CrossConnect. CrossConnect requires a different variant of the firmware for ARM7, ARM9 and XScale, each target also has a maximum and variable speed variant of the firmware making six variants in total. You should use the CrossConnect configuration utility (xcconf) to configure your CrossConnect with the required firmware variant.
Firmware Version | The version number of the firmware running on the currently connected CrossConnect.
Serial Number | The serial number of the currently connected CrossConnect device.
Use Serial Number | The serial number of the CrossConnect you want to connect to. If multiple USB CrossConnects are connected to your system, this property allows you to specify which one to use. If no serial number is specified, the first available CrossConnect will be used.

Current Device Properties
Device Type | The JTAG device ID of the currently connected device.

JTAG Properties
Adaptive Clocking | Specifies whether JTAG adaptive clocking using the RTCK signal should be used. This option requires the variable speed variant of the CrossConnect firmware.
Identify Target | Specifies whether the target should be identified on connect.
JTAG Clock Divider | The value to divide the JTAG clock frequency. The variable speed variant of the CrossConnect firmware is required if this value is set greater that 1.

Loader Properties
Erase All | If set to Yes, all of the target's FLASH memory will be erased prior to downloading the application. This can be used to speed up download of large programs as it generally quicker to erase a whole device rather than individual segments. If set to No, only the areas of FLASH containing the program being downloaded will be erased.

Target Properties
Processor Endian | Specifies the endianness of the target processor. Note that the value of this property will be automatically set to a project's Endian property when a project is downloaded or attached to.
Processor Stop Time | The timeout period in milliseconds to allow when stopping the processor.

## Macraigor Wiggler (20 and 14 pin) Target Interface

The Macraigor Wiggler target interface provides access to ARM targets via Macraigor System's Wiggler for ARM (or compatible device). This target interface supports program loading and debugging of both RAM and FLASH based applications. There are two variants of the Wiggler - one with 20 pins and one with 14 pins, both are supported.

Connection Properties
Parallel Port | The parallel port connection to use to connect to the target.
Parallel Port Address | The base address of the currently connected parallel port (if available).
Parallel Port Sharing | If set to Yes, parallel port may be shared with other device drivers/programs. If set to No, the target interface will demand exclusive use of the port.

Current Device Properties
Device Type | The JTAG device ID of the currently connected device.

JTAG Properties
Identify Target | Specifies whether the target should be identified on connect.
Invert nSRST | Specifies whether the nSRST signal should be inverted.
JTAG Clock Divider | The value to divide the JTAG clock frequency. This feature allows the JTAG clock frequency to be reduced in order to allow CrossStudio to communicate with boards with unreliable target interfaces.

Loader Properties
Erase All | If set to Yes, all of the target's FLASH memory will be erased prior to downloading the application. This can be used to speed up download of large programs as it generally quicker to erase a whole device rather than individual segments. If set to No, only the areas of FLASH containing the program being downloaded will be erased.

Target Properties
Processor Endian | Specifies the endianness of the target processor. Note that the value of this property will be automatically set to a project's Endian property when a project is downloaded or attached to.
Processor Stop Time | The timeout period in milliseconds to allow when stopping the processor.

## Segger J-Link

The Segger J-Link target interface provides access to ARM targets via the Segger USB J-Link ARM JTAG interface. This target interface supports program loading and debugging of both RAM and FLASH based applications.

Current Device Properties
Device Tyype | The JTAG device ID of the currently connected device.

J-Link Properties
Speed | The JTAG clock frequency.
Version | The firmware version.
Loader Properties
Erase All | If set to Yes, all of the target's FLASH memory will be erased prior to downloading the application. This can be used to speed up download of large programs as it generally quicker to erase a whole device rather than individual segments. If set to No, only the areas of FLASH containing the program being downloaded will be erased.

Target Properties
Processor Endian | Specifies the endianness of the target processor. Note that the value of this property will be automatically set to a project's Endian property when a project is downloaded or attached to.
Processor Stop Time | The timeout period in milliseconds to allow when stopping the processor.

JTAG Properties
Identify Target | Specifies whether the target should be identified on connect.

## CrossStudio ARM Simulator Target Interface

The ARM Simulator target interface provides access to CrossStudio's ARM simulator. This target interface supports program loading and debugging. The simulator's memory configuration is determined by the memory map file of the current project/configuration.