X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/d3c623e1e184bb36873c1ba9664f0c8266139589..c1daecf18b25566da50beb3afdcbc3e5d49d3b48:/Projects/AVRISP-MKII/AVRISP.txt?ds=inline diff --git a/Projects/AVRISP-MKII/AVRISP.txt b/Projects/AVRISP-MKII/AVRISP.txt index 38248a279..de08d5f37 100644 --- a/Projects/AVRISP-MKII/AVRISP.txt +++ b/Projects/AVRISP-MKII/AVRISP.txt @@ -57,6 +57,7 @@ * - 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 @@ -114,7 +115,7 @@ * 2 See AUX line related tokens in the \ref SSec_Options section * * \section Sec_PDI PDI Connections - * Connections to the device for PDI programming1 (when enabled): + * Connections to the device for PDI programming (when enabled): * * * @@ -143,7 +144,7 @@ * * * - * + * * * * @@ -158,7 +159,7 @@ * 2The 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): + * Connections to the device for TPI programming (when enabled): * *
4
XCLKXCKCLOCK5
* @@ -177,7 +178,7 @@ * * * - * + * * * * @@ -240,7 +241,8 @@ * * * - * + * * * * @@ -256,9 +258,25 @@ * * * + * to report a fixed 5V target voltage to the host regardless of the real target voltage. Ignored when compiled for + * targets lacking an ADC. * * + * + * + * + * + * + * + * + * + * + * * * *
2
XCLK 2XCK 2CLOCK3
VTARGET_ADC_CHANNELMakefile CDEFSADC channel number (on supported AVRs) to use for VTARGET level detection, if NO_VTARGET_DETECT is not defined.ADC channel number (on supported AVRs) to use for VTARGET level detection, if NO_VTARGET_DETECT is not defined. + * Ignored when compiled for targets lacking an ADC.
ENABLE_ISP_PROTOCOLNO_VTARGET_DETECTMakefile CDEFSDefine 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.
VTARGET_REF_VOLTSMakefile CDEFSIndicates 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_FACTORMakefile CDEFSIndicates 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_COMPATMakefile CDEFSDefine to switch to a non-standard endpoint scheme, breaking compatibility with AVRStudio under Windows but making