X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/b736a5ef2b72f888acdc8fe825f8f8151ec09680..c3db72afdc9928afbf2a8986f6970aa85dd9902a:/Projects/AVRISP-MKII/AVRISP.txt diff --git a/Projects/AVRISP-MKII/AVRISP.txt b/Projects/AVRISP-MKII/AVRISP.txt index 7688f7e0d..034df6717 100644 --- a/Projects/AVRISP-MKII/AVRISP.txt +++ b/Projects/AVRISP-MKII/AVRISP.txt @@ -56,16 +56,12 @@ * Note that this design currently has the following limitations: * - Minimum ISP target clock speed of 500KHz due to hardware SPI module prescaler limitations * - No reversed/shorted target connector detection and notification + * - A seperate header is required for each of the ISP, PDI and TPI programming protocols that the user wishes to use * * 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 a fixed 5V level at all times. * - * 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 PDI/TPI only programming support (since ISP mode is not needed). Note that the - * first revision XPLAIN board lacks a bootloader on the AT90USB1287, and thus for this firmware to be loaded, an external - * programmer will be required. - * * While this application can be compiled for USB AVRs with as little as 8KB of FLASH, for full functionality 16KB or more * of FLASH is required. On 8KB devices, ISP or PDI/TPI programming support can be disabled to reduce program size. * @@ -110,6 +106,10 @@ * * * + * In addition, the AVR's XCK pin will generate a .5MHz clock when SPI programming is used, to act as an external + * device clock if the fuses have been mis-set. To use the recovery clock, connect XCK to the target AVR's XTAL1 + * pin, and set the ISP programming speed to 125KHz or below. + * * 1 Optional, see \ref SSec_Options section - for USB AVRs with ADC modules only \n * 2 See AUX line related tokens in the \ref SSec_Options section * @@ -123,7 +123,7 @@ * PDI 6 Pin Layout: * * - * MISO 2 + * Tx/Rx 2 * DATA * 1 * @@ -143,7 +143,7 @@ * 4 * * - * PORTx.y 2, 3 + * XCLK * CLOCK * 5 * @@ -155,9 +155,7 @@ * * * 1 Optional, see \ref SSec_Options section - for USB AVRs with ADC modules only \n - * 2 When XPROG_VIA_HARDWARE_USART is set, the AVR's Tx and Rx become the DATA line when connected together - * via a pair of 220 ohm resistors, and the AVR's XCK pin becomes CLOCK. \n - * 3 See AUX line related tokens in the \ref SSec_Options section + * 2 The AVR's Tx and Rx become the DATA line when connected together via a pair of 220 ohm resistors \n * * \section Sec_TPI TPI Connections * Connections to the device for TPI programming1 (when enabled): @@ -169,7 +167,7 @@ * TPI 6 Pin Layout: * * - * MISO 2 + * Tx/Rx 2 * DATA * 1 * @@ -179,7 +177,7 @@ * 2 * * - * SCLK 2 + * XCLK 2 * CLOCK * 3 * @@ -201,8 +199,7 @@ * * * 1 Optional, see \ref SSec_Options section - for USB AVRs with ADC modules only \n - * 2 When XPROG_VIA_HARDWARE_USART is set, the AVR's Tx and Rx become the DATA line when connected together - * via a pair of 220 ohm resistors, and the AVR's XCK pin becomes CLOCK. \n + * 2 The AVR's Tx and Rx become the DATA line when connected together via a pair of 220 ohm resistors \n * 3 See AUX line related tokens in the \ref SSec_Options section * * \section SSec_Options Project Options @@ -243,7 +240,7 @@ * * VTARGET_ADC_CHANNEL * Makefile CDEFS - * ADC channel number (on supported AVRs) to use for VTARGET level detection. + * ADC channel number (on supported AVRs) to use for VTARGET level detection, if NO_VTARGET_DETECT is not defined. * * * ENABLE_ISP_PROTOCOL @@ -256,12 +253,17 @@ * Define to enable PDI and TPI programming protocol support. Ignored when compiled for the XPLAIN board. * * - * XPROG_VIA_HARDWARE_USART + * NO_VTARGET_DETECT + * Makefile CDEFS + * Define to disable VTARGET sampling and reporting on AVR models with an ADC converter. This will cause the programmer + * to report a fixed 5V target voltage to the host regardless of the real target voltage. + * + * + * LIBUSB_FILTERDRV_COMPAT * Makefile CDEFS - * Define to force the PDI and TPI protocols (when enabled) to use the much faster hardware USART instead of bit-banging - * to match the official AVRISP pinout. This breaks pinout compatibility with the official AVRISP MKII (and requires - * seperate ISP, PDI, and TPI programming headers) but increases programming speed dramatically. - * Ignored when compiled for the XPLAIN board. + * Define to switch to a non-standard endpoint scheme, breaking compatibility with AVRStudio under Windows but making + * the code compatible with Windows builds of avrdude using the libUSB driver. Linux platforms are not affected by this + * option. * * */