I have been having difficulties in connecting to my xmega using the dragon. I could program the device with avrisp a while ago, but with dragon, I have no success. (I don't have avrisp with me at the moment.) I don't quite know what the problem is. I suspect that the debugwire fuse is perhaps set (I don't know why it should be, for I have never tried to tamper with that). In any case, here is the dump of the communication between the device, and dragon.

Then try a cable length that is as short as possible. Suspect the RESET/PDI_CLK from Dragon does not have enough drive strength (an impedance mis-match driver to cable). IIRC, there is one recent message about reducing the PDI clock frequency that solved a problem.

I have 'doze Xp and at the time of problem I had Winavr 2009 version. Using PN, I couldn't get avrdude to work for my dragon w/o the LIB usb driver talked about here:https://www.avrfreaks.net/index.p...

Do you have the Dragon with or w/o the mounting holes ? The one w/o, has driver issues that restrict the programming cable to be very short for it to work.

Do you have the Dragon with or w/o the mounting holes ? The one w/o, has driver issues that restrict the programming cable to be very short for it to work.

It's got the four mounting holes, and the cable is something like 25 cm (10") long. Do you think that is too long? Accidentally, it is just as long as the cable on my avrisp.

I have checked out the link that you posted, but I wonder whether that would apply in my case. That seems to be related to windows, while I am trying to make this work under linux. I can get a windows computer, and try out the dragon with AVR Studio, but that actually wasn't the original post.
ZoltÃ¡n

I thought there might be a Linux version of that driver somewhere on Sourceforge, but then maybe Linux already has the equivalent driver packaged with your distro. Of two Dragon versions you have the better one, but I don't know if 10" is too long even for that version. PLONS would know. I knew you had a Linux OS,but I thought that since my 'dude headache was fixed with that USB driver that MAYBE your issue might be fixed also with the install of the 'right' Linux driver.

It wouldn't hurt to put the dragon on your 'doze machine and see if PN's 'Dude can get it done with what you have now. If it does, I'd think there was something wrong with your Linux driver or its config.

So, I have dug out a windows computer, and tried to program the xmega through the dragon. It did not work. AVR Studio complained that it could not connect to the emulator. It is really odd, given that the xplain manual advertises the dragon as a possible programming device.
ZoltÃ¡n

Surely that's just a Jungo error? When you installed Studio did you answer "yes" when it gave the option about USB support (that's where it installs Jungo).

Hm. I am not sure. AVR Studio had already been on the system, and when I plugged in the dragon, the computer had some misgivings about the driver, and then it installed something that it found on the net. After that, AVR Studio updated the dragon firmware, and was willing to connect to it. But when I actually wanted to load my code to the xmega, I got the above-mentioned message. I could check whether it was a Jungo driver. I have absolutely no problems with the avrisp, if that helps clarify the situation.
ZoltÃ¡n

If Jungo's on it, it'll be in the device mgr. If you don't see it, re-install Studio and make sure you select to install the USB driver ( disconnect the dragon if you do re-install studio ). Better make sure your studio version supports XMEGAs !