X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/271be037b736d66a7b7e0c4d5d30c5a24025277f..433399b05db8d4a8a3989e90614f7206d49568fc:/Projects/AVRISP/AVRISP.txt diff --git a/Projects/AVRISP/AVRISP.txt b/Projects/AVRISP/AVRISP.txt index e26cfb11e..df1c3c411 100644 --- a/Projects/AVRISP/AVRISP.txt +++ b/Projects/AVRISP/AVRISP.txt @@ -60,9 +60,55 @@ * * Note that this design currently has several limitations: * - Minimum target clock speed of 500KHz due to hardware SPI used - * - No VTARGET detection and notification * - No reversed/shorted target connector detection and notification * + * 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: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Programmer Pin:Target Device Pin:ISP 6 Pin Layout:
MISOPDO1
ADCx 1VTARGET2
SCLKSCLK3
MOSIPDI4
PORTx.y 2/RESET5
GNDGND6
+ * + * 1 Optional, see \ref SSec_Options section - for USB AVRs with ADC modules only \n + * 2 See \ref SSec_Options section + * * \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. @@ -86,7 +132,14 @@ * * RESET_LINE_MASK * Makefile CDEFS - * Mask for the programmer's target RESET line on the chosen port. + * 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. + * + * + * VTARGET_ADC_CHANNEL + * Makefile CDEFS + * ADC channel number (on supported AVRs) to use for VTARGET level detection. * * */