Fixed incorrect definition of HID_ALIGN_DATA() causing incorrect HID report item...
[pub/USBasp.git] / Projects / AVRISP-MKII / AVRISP.txt
index e67c83e..feccfca 100644 (file)
  *   </tr>\r
  *  </table>\r
  *\r
+ *  In addition, the AVR's XCK pin will generate a .5MHz clock when SPI programming is used, to act as an external\r
+ *  device clock if the fuses have been mis-set. To use the recovery clock, connect XCK to the target AVR's XTAL1\r
+ *  pin, and set the ISP programming speed to 125KHz or below.\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>See AUX line related tokens in the \ref SSec_Options section</i>\r
  *\r
  *    <td><b>PDI 6 Pin Layout:</b></td>\r
  *   </tr>\r
  *   <tr>\r
- *    <td>MISO</td>\r
+ *    <td>MISO <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</sup></b></td>\r
+ *    <td>PORTx.y <b><sup>2, 3</sup></b></td>\r
  *    <td>CLOCK</td>\r
  *    <td>5</td>\r
  *   </tr>\r
  *   </tr>\r
  *  </table>\r
  *\r
- *  <b><sup>1</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 300 ohm resistors, and the AVR's XCK pin becomes CLOCK.</i> \n\r
- *  <b><sup>2</sup></b> <i>See AUX line related tokens in the \ref SSec_Options section</i>\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
  *\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</td>\r
+ *    <td>MISO <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</td>\r
+ *    <td>SCLK <b><sup>2</sup></b></td>\r
  *    <td>CLOCK</td>\r
  *    <td>3</td>\r
  *   </tr>\r
  *    <td>4</td>\r
  *   </tr>\r
  *   <tr>\r
- *    <td>PORTx.y <b><sup>2</sup></b></td>\r
+ *    <td>PORTx.y <b><sup>3</sup></b></td>\r
  *    <td>/RESET</td>\r
  *    <td>5</td>\r
  *   </tr>\r
  *   </tr>\r
  *  </table>\r
  *\r
- *  <b><sup>1</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 300 ohm resistors, and the AVR's XCK pin becomes CLOCK.</i> \n\r
- *  <b><sup>2</sup></b> <i>See AUX line related tokens in the \ref SSec_Options section</i>\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
  *\r
  *  \section SSec_Options Project Options\r
  *\r
  *   <tr>\r
  *    <td>VTARGET_ADC_CHANNEL</td>\r
  *    <td>Makefile CDEFS</td>\r
- *    <td>ADC channel number (on supported AVRs) to use for VTARGET level detection.</td> \r
+ *    <td>ADC channel number (on supported AVRs) to use for VTARGET level detection, if NO_VTARGET_DETECT is not defined.</td> \r
  *   </tr>\r
  *   <tr>\r
  *    <td>ENABLE_ISP_PROTOCOL</td>\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
+ *        to report a fixed 5V target voltage to the host regardless of the real target voltage.</td>  \r
+ *   </tr>\r
  *  </table>\r
  */\r