From 3ecc4629540c72f1db293c5725faf3106935731d Mon Sep 17 00:00:00 2001
From: Dean Camera <dean@fourwalledcubicle.com>
Date: Thu, 1 Oct 2009 09:41:13 +0000
Subject: [PATCH] Added pinouts to the AVRISP project for a standard ISP 6 Pin
 header to make construction of a standard ISP programmer easier.

---
 LUFA/ManPages/LUFAPoweredProjects.txt |  2 +-
 Projects/AVRISP/AVRISP.txt            | 31 +++++++++++++++++----------
 2 files changed, 21 insertions(+), 12 deletions(-)

diff --git a/LUFA/ManPages/LUFAPoweredProjects.txt b/LUFA/ManPages/LUFAPoweredProjects.txt
index f58dc88f0..822f29797 100644
--- a/LUFA/ManPages/LUFAPoweredProjects.txt
+++ b/LUFA/ManPages/LUFAPoweredProjects.txt
@@ -42,7 +42,7 @@
  *  - SEGA Megadrive/Genesis Development Cartridge: http://www.makestuff.eu/wordpress/?page_id=398
  *  - Stripe Snoop, a Magnetic Card reader: http://www.ossguy.com/ss_usb/
  *  - USB Interface for Playstation Portable Devices: http://forums.ps2dev.org/viewtopic.php?t=11001
- *  - USB to Serial Bridge, via SPI and I2C: http://www.tty1.net/userial/
+ *  - Userial, a USB to Serial converter with SPI, I2C and other protocols: http://www.tty1.net/userial/
  * 
  *  \section Sec_LUFACommercialProjects Projects Using LUFA (Commercial)
  *
diff --git a/Projects/AVRISP/AVRISP.txt b/Projects/AVRISP/AVRISP.txt
index a9d550786..df1c3c411 100644
--- a/Projects/AVRISP/AVRISP.txt
+++ b/Projects/AVRISP/AVRISP.txt
@@ -72,30 +72,37 @@
  *   <tr>
  *    <td><b>Programmer Pin:</b></td>
  *    <td><b>Target Device Pin:</b></td>
- *   </tr>
- *   <tr>
- *    <td>MOSI</td>
- *    <td>PDI</td>
+ *    <td><b>ISP 6 Pin Layout:</b></td>
  *   </tr>
  *   <tr>
  *    <td>MISO</td>
  *    <td>PDO</td>
+ *    <td>1</td>
  *   </tr>
  *   <tr>
- *    <td>SCLK</td>
- *    <td>SCLK</td>
+ *    <td>ADCx <b><sup>1</sup></b></td>
+ *    <td>VTARGET</td>
+ *    <td>2</td>
  *   </tr>
  *   <tr>
- *    <td>GND</td>
- *    <td>GND</td>
+ *    <td>SCLK</td>
+ *    <td>SCLK</td>
+ *    <td>3</td>
  *   </tr>
  *   <tr>
- *    <td>ADCx <b><sup>1</sup></b></td>
- *    <td>VTARGET</td>
+ *    <td>MOSI</td>
+ *    <td>PDI</td>
+ *    <td>4</td>
  *   </tr>
  *   <tr>
  *    <td>PORTx.y <b><sup>2</sup></b></td>
  *    <td>/RESET</td>
+ *    <td>5</td>
+ *   </tr>
+ *   <tr>
+ *    <td>GND</td>
+ *    <td>GND</td>
+ *    <td>6</td>
  *   </tr>
  *  </table>
  *
@@ -125,7 +132,9 @@
  *   <tr>
  *    <td>RESET_LINE_MASK</td>
  *    <td>Makefile CDEFS</td>
- *    <td>Mask for the programmer's target RESET line on the chosen port. <b>Must not be the AVR's /SS pin.</b></td>
+ *    <td>Mask for the programmer's target RESET line on the chosen port. <b>Must not be the AVR's /SS pin</b>, as the
+ *        target pins are tri-stated when not in use, and low signals on the /SS pin will force SPI slave mode when the
+ *        pin is configured as an input.</td>
  *   </tr>
  *   <tr>
  *    <td>VTARGET_ADC_CHANNEL</td>
-- 
GitLab