I thought I'd start a thread to try and keep the 2 topics in 1 thread.
Since AVR Studio V4.18 the Dragon can program and debug the Xmegas. It is supposed to both program and debug in JTAG mode and PDI mode.
I have successfully done both program and debug with the Dragon and the Xplain board using a Xmega128A1 in JTAG mode.
Despite many attempts and my claims to the contrary, at times, due to senility, I have never been able to do anything with PDI and the Dragon with the above setup. No probems with PDI and JTAG Mk2.
I have tried without the, supposedly necessary, series resistors on Data and Clock lines. Tried with 100R, tried with 330R. Not good. I always get the error box "Failing to set emulator mode. Unable to continue"
The resistors in my case are mounted on a small adaptor board that sits on the outer 5 pins of the JTAG/PDI header. The board picks up the 4 wires from the 6 way ribbon cable (~150mm long) pin 1 goes to DATA, pin 2 goes to V3P3, pin 5 goes to RESET and pin 6 goes to ground.
There have been many reports of successful use of PDI with other Xmegas but I have never been successful.
I have even shorted out the RESET line of the USB chip just in case it would interfere with the Xmega.
Your experience and comments will help others to make a decision on whether they should get a Dragon if they want to use the Xmegas. :)
EDIT I should add that my Dragon is one of the early types.