Target Configuration

A target is configured by selecting it in the target view, then altering its properties in the properties view. Both these views can be found from the Window > Show View menu.

Contents

Configuring an AVR32 Target

Configuring a target for standalone programming (without an operating system) is done by first specifying the adapter (e.g. JTAGICE mkII), then the board (e.g. STK1000) and then the MCU. For some boards, only one part is supported.

If you have a board not found in the list or your own PCB, you can select "Any board" which supports all parts.


The Details page

The details page specifies the debugger/programmer connected to the target device

For USB devices, the Serial number is used to distinguish among several adapters of the same type, for instance if you have two JTAGICE mkII emulators connected to the same computer. The serial number will be automatically filled in when the target is created as a result of a Scan Targets action (see also target view). The serial number does not need to be defined if a single device of the given type is connected.

When using an rs-232 connection, the COM Port must be specified. The value of this field should be the device name, typically /dev/ttyS0, /dev/ttyS1 on Linux and COM0:, COM1: on Windows.

The Clock pane

The Clock pane contains any clocks that the adapter can supply or measure. Typically, a JTAG programmer has an adjustable JTAG clock which controls the communication speed on the JTAG port. The current frequency can be read from the adapter by clicking the Read button. Conversely, a clock's frequency may be set by entering a new value in the text field or adjusting the corresponding slider, and clicking the Apply button.

Note that the resolution and accuracy of the clocks are defined by the selected adapter. After typing in a new frequency value, the value may be modified according to the adapter clock generator's attributes.

The Voltage pane

The Adapter page also contains a voltage pane where voltages which the adapter can supply or measure is displayed. The voltages may be read from the adapter by clicking the Read button. For voltages which the adapter can adjust, a new voltage value may be set by entering the new value in the text field or adjusting the corresponding slider, and clicking the Apply button.


The Daisy Chain page

The Daisy Chain page specifies how to connect to the target device when it is part of a JTAG daisy chain. To use daisy-chaining, check the Enable daisy chain button and configure the four required parameters:

Devices before
is the number of devices before your target in the JTAG daisy chain.
Devices after
is the number of devices after your target in the JTAG daisy chain.
Instruction bits before
should be the sum of the instruction bits of the device(s) before your target.
Instruction bits after
should be the sum of the instruction bits of the device(s) after your target.

AVR32 devices have an instruction bit length of 5. So for example, if your JTAG daisy chain consists of two AVR32 devices only, the first device can be used by specifying 0 devices before, 1 devices after, 0 instruction bits before and 5 instruction bits after.


If the target adapter does not support daisy-chaining, the Daisy Chain settings will be disabled.