X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/1b2cd16976207c21bbdfbd15852b0afa92c0f516..f92b56191de02ce95c35349274ccb4e522841348:/Projects/AVRISP/AVRISP.txt diff --git a/Projects/AVRISP/AVRISP.txt b/Projects/AVRISP/AVRISP.txt index fcb0fdd3d..670c168a7 100644 --- a/Projects/AVRISP/AVRISP.txt +++ b/Projects/AVRISP/AVRISP.txt @@ -56,13 +56,12 @@ * Note that this design currently has several limitations: * - Minimum target clock speed of 500KHz due to hardware SPI used * - No reversed/shorted target connector detection and notification - * - PDI programming is not supported for XMEGA targets * * On AVR models with an ADC converter, ACC should be tied to 5V (e.g. VBUS) and the VTARGET_ADC_CHANNEL token should be * set to an appropriate ADC channel number in the project makefile for VTARGET detection to operate correctly. On models * without an ADC converter, VTARGET will report at a fixed 5V level. * - * Connections to the device are simple: + * Connections to the device are simple for SPI programming: * * * @@ -105,6 +104,47 @@ * 1Optional, see \ref SSec_Options section - for USB AVRs with ADC modules only \n * 2See \ref SSec_Options section * + * + * Connections to the device are simple for SPI programming: + * + *
+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Programmer Pin:Target Device Pin:ISP 6 Pin Layout:
MISODATA1
ADCx 1VTARGET2
N/AN/A3
N/AN/A4
PORTx.y 2CLOCK5
GNDGND6
+ * * \section SSec_Options Project Options * * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. @@ -130,12 +170,17 @@ * Makefile CDEFS * Mask for the programmer's target RESET line on the chosen port. Must not be the AVR's /SS pin, 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. + * pin is configured as an input. When in PDI programming mode, this is the target clock pin. * * * VTARGET_ADC_CHANNEL * Makefile CDEFS * ADC channel number (on supported AVRs) to use for VTARGET level detection. * + * + * ENABLE_XPROG_PROTOCOL + * Makefile CDEFS + * Define to enable XMEGA PDI programming protocol support. + * * */