From 18b82b3575162c2c6d462c8f34a7d942f77a88ec Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Wed, 8 Feb 2012 18:29:17 +0000 Subject: Updated the AVRISP-MKII Clone programmer project to be compatible with the latest version of AVR Studio (version 5.1). Changed the AVRISP-MKII Clone programmer project to report a fixed 3.3V VTARGET voltage on USB AVRs lacking an ADC instead of 5V to prevent warnings in AVR Studio 5.1 when programming XMEGA devices. --- Projects/AVRISP-MKII/Lib/V2ProtocolParams.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Projects/AVRISP-MKII/Lib/V2ProtocolParams.h') diff --git a/Projects/AVRISP-MKII/Lib/V2ProtocolParams.h b/Projects/AVRISP-MKII/Lib/V2ProtocolParams.h index d7bc91620..ab47664d3 100644 --- a/Projects/AVRISP-MKII/Lib/V2ProtocolParams.h +++ b/Projects/AVRISP-MKII/Lib/V2ProtocolParams.h @@ -59,6 +59,12 @@ /** Total number of parameters in the parameter table */ #define TABLE_PARAM_COUNT (sizeof(ParameterTable) / sizeof(ParameterTable[0])) + + #if (!defined(FIRMWARE_VERSION_MINOR) || defined(__DOXYGEN__)) + /** Minor firmware version, reported to the host on request; must match the version + * the host is expecting, or it (may) reject further communications with the programmer. */ + #define FIRMWARE_VERSION_MINOR 0x11 + #endif /* Type Defines: */ /** Type define for a parameter table entry indicating a PC readable or writable device parameter. */ -- cgit v1.2.3