X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/a5adbae652bcf5382ef34d71da4d11de15b482a6..7a9b3d3641e1bc97d2826b4865b3cedb11099e62:/Projects/AVRISP/AVRISP.txt diff --git a/Projects/AVRISP/AVRISP.txt b/Projects/AVRISP/AVRISP.txt index c533af725..c15c27fa6 100644 --- a/Projects/AVRISP/AVRISP.txt +++ b/Projects/AVRISP/AVRISP.txt @@ -54,14 +54,18 @@ * drivers. When promted, direct your OS to install Atmel's AVRISP-MKII drivers provided with AVRStudio. * * Note that this design currently has several limitations: - * - Minimum target clock speed of 500KHz due to hardware SPI used + * - Minimum ISP target clock speed of 500KHz due to hardware SPI used * - 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 + * On AVR models with an ADC converter, AVCC 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 for SPI programming: + * When compiled for the XPLAIN board target, this will automatically configure itself for the correct connections to the + * XPLAIN's XMEGA AVR, and will enable only PDI programming support. + * + * + * Connections to the device for SPI programming (when enabled): * * * @@ -105,13 +109,13 @@ * 2See \ref SSec_Options section * * - * Connections to the device are simple for SPI programming: + * Connections to the device for PDI programming (when enabled): * *
* * * - * + * * * * @@ -158,19 +162,20 @@ * * * - * + * * * * * - * + * * * * * * + * pin is configured as an input. When in PDI programming mode, this is the target clock pin. + * Ignored when compiled for the XPLAIN board. * * * @@ -178,14 +183,14 @@ * * * - * + * * - * + * * * - * + * * - * + * * *
Programmer Pin:Target Device Pin:ISP 6 Pin Layout:PDI 6 Pin Layout:
MISO
RESET_LINE_PORTMakefile CDEFSPORT register for the programmer's target RESET line.PORT register for the programmer's target RESET line. Ignored when compiled for the XPLAIN board.
RESET_LINE_DDRMakefile CDEFSDDR register for the programmer's target RESET line.DDR register for the programmer's target RESET line. Ignored when compiled for the XPLAIN board.
RESET_LINE_MASKMakefile CDEFSMask 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. When in PDI programming mode, this is the target clock pin.
VTARGET_ADC_CHANNELADC channel number (on supported AVRs) to use for VTARGET level detection.
ENABLE_SPI_PROTOCOLENABLE_ISP_PROTOCOLMakefile CDEFSDefine to enable SPI programming protocol support.Define to enable SPI programming protocol support. Ignored when compiled for the XPLAIN board.
ENABLE_XPROG_PROTOCOLENABLE_PDI_PROTOCOLMakefile CDEFSDefine to enable XMEGA PDI programming protocol support.Define to enable XMEGA PDI programming protocol support. Ignored when compiled for the XPLAIN board.
*/