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:

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

## 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 ID | The JTAG device ID of the currently connected device.
Device Manufacturer | The manufacturer ID of the currently connected device.
Device Part Number | The part number of the currently connected device.
Device Version | The version number of the currently connected device.

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

## 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 ID | The JTAG device ID of the currently connected device.
Device Manufacturer | The manufacturer ID of the currently connected device.
Device Part Number | The part number of the currently connected device.
Device Version | The version number 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.