X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/258a6a01777afadbf6913246f12a7106b421b795..24f730fce3f2022762011d795c3feada5ef874b3:/Projects/AVRISP/AVRISP.txt?ds=inline diff --git a/Projects/AVRISP/AVRISP.txt b/Projects/AVRISP/AVRISP.txt index c15c27fa6..35cf93770 100644 --- a/Projects/AVRISP/AVRISP.txt +++ b/Projects/AVRISP/AVRISP.txt @@ -6,18 +6,18 @@ /** \mainpage AVRISP MKII Programmer Project * - * \section SSec_Compat Demo Compatibility: + * \section SSec_Compat Project Compatibility: * - * The following list indicates what microcontrollers are compatible with this demo. + * The following list indicates what microcontrollers are compatible with this project. * * - Series 7 USB AVRs * - Series 6 USB AVRs * - Series 4 USB AVRs - * - Series 2 USB AVRs + * - Series 2 USB AVRs (8KB versions with reduced features only) * * \section SSec_Info USB Information: * - * The following table gives a rundown of the USB utilization of this demo. + * The following table gives a rundown of the USB utilization of this project. * * * @@ -51,7 +51,7 @@ * level conversion can be made to allow for the programming of 3.3V AVR designs. * * This device spoofs Atmel's official AVRISP-MKII device PID so that it remains compatible with Atmel's AVRISP-MKII - * drivers. When promted, direct your OS to install Atmel's AVRISP-MKII drivers provided with AVRStudio. + * drivers. When prompted, direct your OS to install Atmel's AVRISP-MKII drivers provided with AVRStudio. * * Note that this design currently has several limitations: * - Minimum ISP target clock speed of 500KHz due to hardware SPI used @@ -62,9 +62,12 @@ * without an ADC converter, VTARGET will report at a fixed 5V level. * * 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. + * XPLAIN's XMEGA AVR, and will enable PDI only programming support (since ISP mode is not needed). * + * 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, either ISP or PDI programming support can be disabled to reduce program size. * + * \section Sec_ISP ISP Connections * Connections to the device for SPI programming (when enabled): * *
@@ -108,8 +111,8 @@ * 1Optional, see \ref SSec_Options section - for USB AVRs with ADC modules only \n * 2See \ref SSec_Options section * - * - * Connections to the device for PDI programming (when enabled): + * \section Sec_PDI PDI Connections + * Connections to the device for PDI programming1 (when enabled): * *
* @@ -149,9 +152,12 @@ * *
* + * 1 When PDI_VIA_HARDWARE_USART is set, the AVR's Tx and Rx become the DATA line when connected together + * via a pair of 300 ohm resistors, and the AVR's XCK pin becomes CLOCK. + * * \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. + * The following defines can be found in this project, which can control the project behaviour when defined, or changed in value. * * * @@ -165,6 +171,11 @@ * * * + * + * + * + * + * * * * @@ -192,5 +203,13 @@ * * * + * + * + * + * + * *
PORT register for the programmer's target RESET line. Ignored when compiled for the XPLAIN board.
RESET_LINE_PINMakefile CDEFSPIN 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. Ignored when compiled for the XPLAIN board.Makefile CDEFSDefine to enable XMEGA PDI programming protocol support. Ignored when compiled for the XPLAIN board.
PDI_VIA_HARDWARE_USARTMakefile CDEFSDefine to force the PDI protocol (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 and PDI programming headers) but increases programming speed dramatically. + * Ignored when compiled for the XPLAIN board.
*/