* - Added new RNDIS Ethernet Host ClassDriver demo\r
* - Added CDC_Host_Flush() function to the CDC Host Class driver to flush sent data to the attached device\r
* - Added PDI programming support for XMEGA devices to the AVRISP programmer project\r
- * - Added support for the XPLAIN dataflash, with new XPLAIN_REV1 board target for the different dataflash used on the\r
- * first revision boards compared to the ones mounted on later revisions\r
+ * - Added support for the XPLAIN board Dataflash, with new XPLAIN_REV1 board target for the different dataflash used\r
+ * on the first revision boards compared to the one mounted on later revisions\r
*\r
* <b>Changed:</b>\r
* - Removed code in the Keyboard demos to send zeroed reports between two reports with differing numbers of keycodes\r
* drivers. When promted, direct your OS to install Atmel's AVRISP-MKII drivers provided with AVRStudio.\r
*\r
* Note that this design currently has several limitations:\r
- * - Minimum target clock speed of 500KHz due to hardware SPI used\r
+ * - Minimum ISP target clock speed of 500KHz due to hardware SPI used\r
* - No reversed/shorted target connector detection and notification\r
*\r
- * On AVR models with an ADC converter, ACC should be tied to 5V (e.g. VBUS) and the VTARGET_ADC_CHANNEL token should be\r
+ * On AVR models with an ADC converter, AVCC should be tied to 5V (e.g. VBUS) and the VTARGET_ADC_CHANNEL token should be\r
* set to an appropriate ADC channel number in the project makefile for VTARGET detection to operate correctly. On models\r
* without an ADC converter, VTARGET will report at a fixed 5V level.\r
*\r
* <tr>\r
* <td><b>Programmer Pin:</b></td>\r
* <td><b>Target Device Pin:</b></td>\r
- * <td><b>ISP 6 Pin Layout:</b></td>\r
+ * <td><b>PDI 6 Pin Layout:</b></td>\r
* </tr>\r
* <tr>\r
* <td>MISO</td>\r
* <td>ADC channel number (on supported AVRs) to use for VTARGET level detection.</td> \r
* </tr>\r
* <tr>\r
- * <td>ENABLE_SPI_PROTOCOL</td>\r
+ * <td>ENABLE_ISP_PROTOCOL</td>\r
* <td>Makefile CDEFS</td>\r
* <td>Define to enable SPI programming protocol support. <i>Ignored when compiled for the XPLAIN board.</i></td> \r
* </tr>\r
* <tr>\r
- * <td>ENABLE_XPROG_PROTOCOL</td>\r
+ * <td>ENABLE_PDI_PROTOCOL</td>\r
* <td>Makefile CDEFS</td>\r
* <td>Define to enable XMEGA PDI programming protocol support. <i>Ignored when compiled for the XPLAIN board.</i></td> \r
* </tr>\r
# undefined via #undef or recursively expanded use the := operator \r
# instead of the = operator.\r
\r
-PREDEFINED = __DOXYGEN__ ENABLE_SPI_PROTOCOL ENABLE_PDI_PROTOCOL\r
+PREDEFINED = __DOXYGEN__ ENABLE_ISP_PROTOCOL ENABLE_PDI_PROTOCOL\r
\r
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then \r
# this tag can be used to specify a list of macro names that should be expanded. \r
this software.\r
*/\r
\r
-#if defined(ENABLE_SPI_PROTOCOL)\r
+#if defined(ENABLE_ISP_PROTOCOL)\r
\r
/** \file\r
*\r
\r
/* Preprocessor Checks: */\r
#if BOARD == BOARD_XPLAIN\r
- #undef ENABLE_SPI_PROTOCOL\r
- #define ENABLE_PDI_PROTOCOL\r
+ #undef ENABLE_ISP_PROTOCOL\r
+ \r
+ #if !defined(ENABLE_PDI_PROTOCOL)\r
+ #define ENABLE_PDI_PROTOCOL\r
+ #endif\r
#endif\r
\r
/* Macros: */\r
this software.\r
*/\r
\r
-#if defined(ENABLE_SPI_PROTOCOL)\r
+#if defined(ENABLE_ISP_PROTOCOL)\r
\r
/** \file\r
*\r
\r
/* Preprocessor Checks: */\r
#if BOARD == BOARD_XPLAIN\r
- #undef ENABLE_SPI_PROTOCOL\r
- #define ENABLE_PDI_PROTOCOL\r
+ #undef ENABLE_ISP_PROTOCOL\r
+ \r
+ #if !defined(ENABLE_PDI_PROTOCOL)\r
+ #define ENABLE_PDI_PROTOCOL\r
+ #endif\r
#endif\r
\r
/* Macros: */\r
this software.\r
*/\r
\r
-#if defined(ENABLE_XPROG_PROTOCOL)\r
+#if defined(ENABLE_PDI_PROTOCOL)\r
\r
#warning PDI Programming Protocol support is incomplete and not currently suitable for use.\r
\r
\r
/* Preprocessor Checks: */\r
#if BOARD == BOARD_XPLAIN\r
- #undef ENABLE_SPI_PROTOCOL\r
- #define ENABLE_PDI_PROTOCOL\r
+ #undef ENABLE_ISP_PROTOCOL\r
+ \r
+ #if !defined(ENABLE_PDI_PROTOCOL)\r
+ #define ENABLE_PDI_PROTOCOL\r
+ #endif\r
#endif\r
\r
/* Macros: */\r
this software.\r
*/\r
\r
-#if defined(ENABLE_XPROG_PROTOCOL)\r
+#if defined(ENABLE_PDI_PROTOCOL)\r
\r
/** \file\r
*\r
\r
/* Preprocessor Checks: */\r
#if BOARD == BOARD_XPLAIN\r
- #undef ENABLE_SPI_PROTOCOL\r
- #define ENABLE_PDI_PROTOCOL\r
+ #undef ENABLE_ISP_PROTOCOL\r
+ \r
+ #if !defined(ENABLE_PDI_PROTOCOL)\r
+ #define ENABLE_PDI_PROTOCOL\r
+ #endif\r
#endif\r
\r
/* Defines: */\r
case CMD_RESET_PROTECTION:\r
V2Protocol_ResetProtection();\r
break;\r
-#if defined(ENABLE_SPI_PROTOCOL)\r
+#if defined(ENABLE_ISP_PROTOCOL)\r
case CMD_ENTER_PROGMODE_ISP:\r
ISPProtocol_EnterISPMode();\r
break;\r
ISPProtocol_SPIMulti();\r
break;\r
#endif\r
-#if defined(ENABLE_XPROG_PROTOCOL)\r
+#if defined(ENABLE_PDI_PROTOCOL)\r
case CMD_XPROG_SETMODE:\r
PDIProtocol_XPROG_SetMode();\r
break;\r
\r
/* Preprocessor Checks: */\r
#if BOARD == BOARD_XPLAIN\r
- #undef ENABLE_SPI_PROTOCOL\r
- #define ENABLE_PDI_PROTOCOL\r
+ #undef ENABLE_ISP_PROTOCOL\r
+ \r
+ #if !defined(ENABLE_PDI_PROTOCOL)\r
+ #define ENABLE_PDI_PROTOCOL\r
+ #endif\r
#endif\r
/* Macros: */\r
CDEFS += -DRESET_LINE_DDR=DDRB\r
CDEFS += -DRESET_LINE_MASK="(1 << 4)"\r
CDEFS += -DVTARGET_ADC_CHANNEL=2\r
-CDEFS += -DENABLE_SPI_PROTOCOL\r
-CDEFS += -DENABLE_XPROG_PROTOCOL\r
+CDEFS += -DENABLE_ISP_PROTOCOL\r
+CDEFS += -DENABLE_PDI_PROTOCOL\r
\r
\r
# Place -D or -U options here for ASM sources\r