X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/3e515cdfa8d8f077c2585c061c6f4a988031c82b..fbabecee66b93596acc6f99a92be4a9dd3a750ce:/Projects/AVRISP-MKII/AVRISP.txt diff --git a/Projects/AVRISP-MKII/AVRISP.txt b/Projects/AVRISP-MKII/AVRISP.txt index 8d00d35d3..c4ba43ccc 100644 --- a/Projects/AVRISP-MKII/AVRISP.txt +++ b/Projects/AVRISP-MKII/AVRISP.txt @@ -57,7 +57,6 @@ * - 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 - * - XMEGA EEPROM erase section command does not work (but EEPROM read/write and chip erase does) * * 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 @@ -144,7 +143,7 @@ * 4 * * - * XCLK + * XCK * CLOCK * 5 * @@ -178,7 +177,7 @@ * 2 * * - * XCLK 2 + * XCK 2 * CLOCK * 3 * @@ -262,6 +261,21 @@ * targets lacking an ADC. * * + * VTARGET_REF_VOLTS + * Makefile CDEFS + * Indicates the programmer AVR's AVCC reference voltage when measuring the target's supply voltage. Note that the supply + * voltage should never exceed the reference voltage on the programmer AVR without some form of protection to prevent damage + * to the ADC. Ignored when compiled for targets lacking an ADC, or when NO_VTARGET_DETECT is defined. + * + * + * VTARGET_SCALE_FACTOR + * Makefile CDEFS + * Indicates the target's supply voltage scale factor when applied to the ADC. A simple resistive divider can be used on the + * ADC pin for measuring the target's supply voltage, so that voltages above the programmer AVR's AVCC reference voltage can be + * measured. This should be the reciprocal of the division performed - e.g. if the VTARGET voltage is halved, this should be set + * to 2. Ignored when compiled for targets lacking an ADC, or when NO_VTARGET_DETECT is defined. + * + * * LIBUSB_DRIVER_COMPAT * Makefile CDEFS * Define to switch to a non-standard endpoint scheme, breaking compatibility with AVRStudio under Windows but making