Programmers and Debuggers

Connecting Atmel AVR Dragon to Several Devices Placed in a JTAG Chain

The JTAG interface allows for several devices to be connected to a single interface in a daisy-chain configuration. The target devices must all be powered by the same supply voltage, share a common ground node, and must be connected as shown in Figure 1.

Figure 1. JTAG Daisy-chain


When connecting devices in a daisy-chain, the following points must be considered:

Daisy chaining example: TDI -> ATmega1280 -> ATxmega128A1 -> ATUC3A0512 -> TDO

In order to connect to the Atmel AVR XMEGA device, the daisy chain settings are:

Devices before: 1

Devices after: 1

Instruction bits before: 4 (AVR 8-bit microcontrollers have 4 IR bits)

Instruction bits before: 5 (AVR 32-bit microcontrollers have 5 IR bits)