|
|
@ -54,18 +54,18 @@
|
|
|
|
* drivers. When prompted, 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:
|
|
|
|
* Note that this design currently has several limitations:
|
|
|
|
* - Minimum ISP target clock speed of 500KHz due to hardware SPI used
|
|
|
|
* - Minimum ISP target clock speed of 500KHz due to hardware SPI module prescaler limitations
|
|
|
|
* - No reversed/shorted target connector detection and notification
|
|
|
|
* - No reversed/shorted target connector detection and notification
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* On AVR models with an ADC converter, AVCC 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
|
|
|
|
* 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.
|
|
|
|
* 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
|
|
|
|
* 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 only programming support (since ISP and TPI modes are not needed).
|
|
|
|
* XPLAIN's XMEGA AVR, and will enable PDI/TPI 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
|
|
|
|
* 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, PDI or TPI programming support can be disabled to reduce program size.
|
|
|
|
* of FLASH is required. On 8KB devices, ISP or PDI/TPI programming support can be disabled to reduce program size.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \section Sec_ISP ISP Connections
|
|
|
|
* \section Sec_ISP ISP Connections
|
|
|
|
* Connections to the device for SPI programming (when enabled):
|
|
|
|
* Connections to the device for SPI programming (when enabled):
|
|
|
@ -250,8 +250,8 @@
|
|
|
|
* <tr>
|
|
|
|
* <tr>
|
|
|
|
* <td>XPROG_VIA_HARDWARE_USART</td>
|
|
|
|
* <td>XPROG_VIA_HARDWARE_USART</td>
|
|
|
|
* <td>Makefile CDEFS</td>
|
|
|
|
* <td>Makefile CDEFS</td>
|
|
|
|
* <td>Define to force the PDI and TPI protocols (when enabled) to use the much faster hardware USART instead of bit-banging to
|
|
|
|
* <td>Define to force the PDI and TPI protocols (when enabled) to use the much faster hardware USART instead of bit-banging
|
|
|
|
* match the official AVRISP pinout. This breaks pinout compatibility with the official AVRISP MKII (and requires
|
|
|
|
* to match the official AVRISP pinout. This breaks pinout compatibility with the official AVRISP MKII (and requires
|
|
|
|
* seperate ISP and PDI/TPI programming headers) but increases programming speed dramatically.
|
|
|
|
* seperate ISP and PDI/TPI programming headers) but increases programming speed dramatically.
|
|
|
|
* <i>Ignored when compiled for the XPLAIN board.</i></td>
|
|
|
|
* <i>Ignored when compiled for the XPLAIN board.</i></td>
|
|
|
|
* </tr>
|
|
|
|
* </tr>
|
|
|
|