3 * This file contains special DoxyGen information for the generation of the main page and other special
4 * documentation pages. It is not a project source file.
7 /** \mainpage AVRISP MKII Programmer Project
9 * \section SSec_Compat Demo Compatibility:
11 * The following table indicates what microcontrollers are compatible with this demo.
23 * \section SSec_Info USB Information:
25 * The following table gives a rundown of the USB utilization of this demo.
29 * <td><b>USB Mode:</b></td>
33 * <td><b>USB Class:</b></td>
34 * <td>Vendor Specific Class</td>
37 * <td><b>USB Subclass:</b></td>
41 * <td><b>Relevant Standards:</b></td>
42 * <td>Atmel AVRISP MKII Protocol Specification</td>
45 * <td><b>Usable Speeds:</b></td>
46 * <td>Full Speed Mode</td>
50 * \section SSec_Description Project Description:
52 * Firmware for an AVRStudio compatible AVRISP-MKII clone programmer. This project will enable the USB AVR series of
53 * microcontrollers to act as a clone of the official Atmel AVRISP-MKII programmer, usable within AVRStudio. In its
54 * most basic form, it allows for the programming of 5V AVRs from within AVRStudio with no special hardware other than
55 * the USB AVR and the parts needed for the USB interface. If the user desires, more advanced circuits incorporating
56 * level conversion can be made to allow for the programming of 3.3V AVR designs.
58 * This device spoofs Atmel's official AVRISP-MKII device PID so that it remains compatible with Atmel's AVRISP-MKII
59 * drivers. When promted, direct your OS to install Atmel's AVRISP-MKII drivers provided with AVRStudio.
61 * Note that this design currently has several limitations:
62 * - Minimum target clock speed of 500KHz due to hardware SPI used
63 * - No reversed/shorted target connector detection and notification
65 * On AVR models with an ADC converter, ACC should be tied to 5V (e.g. VBUS) and the VTARGET_ADC_CHANNEL token should be
66 * set to an appropriate ADC channel number in the project makefile for VTARGET detection to operate correctly. On models
67 * without an ADC converter, VTARGET will report at a fixed 5V level.
69 * Connections to the device are simple:
73 * <td><b>Programmer Pin:</b></td>
74 * <td><b>Target Device Pin:</b></td>
75 * <td><b>ISP 6 Pin Layout:</b></td>
83 * <td>ADCx <b><sup>1</sup></b></td>
98 * <td>PORTx.y <b><sup>2</sup></b></td>
109 * <b><sup>1</sup></b> <i>Optional, see \ref SSec_Options section - for USB AVRs with ADC modules only</i> \n
110 * <b><sup>2</sup></b> <i>See \ref SSec_Options section</i>
112 * \section SSec_Options Project Options
114 * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
118 * <td><b>Define Name:</b></td>
119 * <td><b>Location:</b></td>
120 * <td><b>Description:</b></td>
123 * <td>RESET_LINE_PORT</td>
124 * <td>Makefile CDEFS</td>
125 * <td>PORT register for the programmer's target RESET line.</td>
128 * <td>RESET_LINE_DDR</td>
129 * <td>Makefile CDEFS</td>
130 * <td>DDR register for the programmer's target RESET line.</td>
133 * <td>RESET_LINE_MASK</td>
134 * <td>Makefile CDEFS</td>
135 * <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
136 * target pins are tri-stated when not in use, and low signals on the /SS pin will force SPI slave mode when the
137 * pin is configured as an input.</td>
140 * <td>VTARGET_ADC_CHANNEL</td>
141 * <td>Makefile CDEFS</td>
142 * <td>ADC channel number (on supported AVRs) to use for VTARGET level detection.</td>