From 57b91dbe631526d42dab8a1df0a0247c0613663a Mon Sep 17 00:00:00 2001 From: joerg_wunsch Date: Mon, 15 Aug 2011 16:05:54 +0000 Subject: [PATCH] Submitted by Nic Jones: bug #32539: [Documentation][Patch] Man page is misleading re: Dragon & PDI Update information about PDI connections on AVR Dragon git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@966 81a1dc3b-b13d-400b-aceb-764788c761c2 --- ChangeLog | 8 ++++++++ doc/avrdude.texi | 22 +++++++++++++++++++--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index ed70fad1..f77ae001 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-08-15 Joerg Wunsch + + Submitted by Nic Jones: + bug #32539: [Documentation][Patch] Man page is misleading + re: Dragon & PDI + * doc/avrdude.texi: Update information about PDI connections + on AVR Dragon + 2011-08-12 Joerg Wunsch * usbasp.c: Add so this actually compiles diff --git a/doc/avrdude.texi b/doc/avrdude.texi index c22ed108..7b8ec831 100644 --- a/doc/avrdude.texi +++ b/doc/avrdude.texi @@ -193,11 +193,11 @@ See below for the limitations of debugWire. For ATxmega devices, the JTAG ICE mkII is supported in PDI mode, provided it has a revision 1 hardware and firmware version of at least 5.37 (decimal). -The AVR Dragon is supported in all modes (ISP, JTAG, HVSP, PP, debugWire). +The AVR Dragon is supported in all modes (ISP, JTAG, PDI, HVSP, PP, debugWire). When used in JTAG and debugWire mode, the AVR Dragon behaves similar to a JTAG ICE mkII, so all device-specific comments for that device will apply as well. -When used in ISP mode, the AVR Dragon behaves similar to an +When used in ISP and PDI mode, the AVR Dragon behaves similar to an AVRISP mkII (or JTAG ICE mkII in ISP mode), so all device-specific comments will apply there. In particular, the Dragon starts out with a rather fast ISP clock @@ -2358,7 +2358,7 @@ or AVR Dragon in ISP mode, when they detect that ISP mode cannot be entered. @item -Problem: I want to use my JTAG ICE mkII or AVR Dragon to program an +Problem: I want to use my JTAG ICE mkII to program an Xmega device through PDI. The documentation tells me to use the @emph{XMEGA PDI adapter for JTAGICE mkII} that is supposed to ship with the kit, yet I don't have it. @@ -2380,6 +2380,22 @@ Solution: Use the following pin mapping: @item 10 (GND) @tab @tab Brown @tab @end multitable +@item +Problem: I want to use my AVR Dragon to program an +Xmega device through PDI. + +Solution: Use the 6 pin ISP header on the Dragon and the following pin mapping: + +@multitable @columnfractions .2 .2 +@item @strong{Dragon} @tab @strong{Target} +@item @strong{ISP Header} @tab @strong{pins} +@item 1 (MISO) @tab PDI_DATA +@item 2 (VCC) @tab VCC +@item 3 (SCK) @tab +@item 4 (MOSI) @tab +@item 5 (RESET) @tab PDI_CLK / RST +@item 6 (GND) @tab GND +@end multitable @item Problem: I want to use my AVRISP mkII to program an