Removed software PDI/TPI emulation from the AVRISP-MKII clone project, as it was...
[pub/lufa.git] / Projects / AVRISP-MKII / AVRISP.txt
index 6109031..034df67 100644 (file)
  *  Note that this design currently has the following limitations:\r
  *    - Minimum ISP target clock speed of 500KHz due to hardware SPI module prescaler limitations\r
  *    - No reversed/shorted target connector detection and notification\r
- *    - Very slow TPI and PDI programming when in software emulated USART mode\r
+ *    - A seperate header is required for each of the ISP, PDI and TPI programming protocols that the user wishes to use\r
  *\r
  *  On AVR models with an ADC converter, AVCC should be tied to 5V (e.g. VBUS) and the VTARGET_ADC_CHANNEL token should be\r
  *  set to an appropriate ADC channel number in the project makefile for VTARGET detection to operate correctly. On models\r
  *  without an ADC converter, VTARGET will report a fixed 5V level at all times.\r
  *\r
- *  When compiled for the XPLAIN board target, this will automatically configure itself for the correct connections to the\r
- *  XPLAIN's XMEGA AVR, and will enable hardware PDI/TPI only programming support (since ISP mode is not needed). Note that\r
- *  the first revision XPLAIN board lacks a bootloader on the AT90USB1287, and thus for this firmware to be loaded, an external\r
- *  programmer will be required.\r
- *\r
  *  While this application can be compiled for USB AVRs with as little as 8KB of FLASH, for full functionality 16KB or more\r
  *  of FLASH is required. On 8KB devices, ISP or PDI/TPI programming support can be disabled to reduce program size.\r
  *\r
  *    <td><b>PDI 6 Pin Layout:</b></td>\r
  *   </tr>\r
  *   <tr>\r
- *    <td>MISO <b><sup>2</sup></b></td>\r
+ *    <td>Tx/Rx <b><sup>2</sup></b></td>\r
  *    <td>DATA</td>\r
  *    <td>1</td>\r
  *   </tr>\r
  *    <td>4</td>\r
  *   </tr>\r
  *   <tr>\r
- *    <td>PORTx.y <b><sup>2, 3</sup></b></td>\r
+ *    <td>XCLK</td>\r
  *    <td>CLOCK</td>\r
  *    <td>5</td>\r
  *   </tr>\r
  *  </table>\r
  *\r
  *  <b><sup>1</sup></b> <i>Optional, see \ref SSec_Options section - for USB AVRs with ADC modules only</i> \n\r
- *  <b><sup>2</sup></b> <i>When XPROG_VIA_HARDWARE_USART is set, the AVR's Tx and Rx become the DATA line when connected together\r
- *                         via a pair of 220 ohm resistors, and the AVR's XCK pin becomes CLOCK.</i> \n\r
- *  <b><sup>3</sup></b> <i>See AUX line related tokens in the \ref SSec_Options section</i>\r
+ *  <b><sup>2</sup></b> <i>The AVR's Tx and Rx become the DATA line when connected together via a pair of 220 ohm resistors</i> \n\r
  *\r
  *  \section Sec_TPI TPI Connections\r
  *  Connections to the device for TPI programming<b><sup>1</sup></b> (when enabled):\r
  *    <td><b>TPI 6 Pin Layout:</b></td>\r
  *   </tr>\r
  *   <tr>\r
- *    <td>MISO <b><sup>2</sup></b></td>\r
+ *    <td>Tx/Rx <b><sup>2</sup></b></td>\r
  *    <td>DATA</td>\r
  *    <td>1</td>\r
  *   </tr>\r
  *    <td>2</td>\r
  *   </tr>\r
  *   <tr>\r
- *    <td>SCLK <b><sup>2</sup></b></td>\r
+ *    <td>XCLK <b><sup>2</sup></b></td>\r
  *    <td>CLOCK</td>\r
  *    <td>3</td>\r
  *   </tr>\r
  *  </table>\r
  *\r
  *  <b><sup>1</sup></b> <i>Optional, see \ref SSec_Options section - for USB AVRs with ADC modules only</i> \n\r
- *  <b><sup>2</sup></b> <i>When XPROG_VIA_HARDWARE_USART is set, the AVR's Tx and Rx become the DATA line when connected together\r
- *                         via a pair of 220 ohm resistors, and the AVR's XCK pin becomes CLOCK.</i> \n\r
+ *  <b><sup>2</sup></b> <i>The AVR's Tx and Rx become the DATA line when connected together via a pair of 220 ohm resistors</i> \n\r
  *  <b><sup>3</sup></b> <i>See AUX line related tokens in the \ref SSec_Options section</i>\r
  *\r
  *  \section SSec_Options Project Options\r
  *    <td>Define to enable PDI and TPI programming protocol support. <i>Ignored when compiled for the XPLAIN board.</i></td>  \r
  *   </tr>\r
  *   <tr>\r
- *    <td>XPROG_VIA_HARDWARE_USART</td>\r
- *    <td>Makefile CDEFS</td>\r
- *    <td>Define to force the PDI and TPI protocols (when enabled) to use the much faster hardware USART instead of bit-banging\r
- *        to match the official AVRISP pinout. This breaks pinout compatibility with the official AVRISP MKII (and requires \r
- *        seperate ISP, PDI, and TPI programming headers) but increases programming speed dramatically.\r
- *        <i>Ignored when compiled for the XPLAIN board.</i></td>  \r
- *   </tr>\r
- *   <tr>\r
  *    <td>NO_VTARGET_DETECT</td>\r
  *    <td>Makefile CDEFS</td>\r
  *    <td>Define to disable VTARGET sampling and reporting on AVR models with an ADC converter. This will cause the programmer\r