From 2f6c096050ee0057ccbff0ee87d58f72fae75748 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 15 Dec 2009 10:06:49 +0000 Subject: Complete initial working revision of PDI programming in the AVRISP project (XMEGAs can now be programmed by the firmware). --- Projects/AVRISP/Lib/PDIProtocol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Projects/AVRISP/Lib/PDIProtocol.h') diff --git a/Projects/AVRISP/Lib/PDIProtocol.h b/Projects/AVRISP/Lib/PDIProtocol.h index 127f0866e..137bcc2cf 100644 --- a/Projects/AVRISP/Lib/PDIProtocol.h +++ b/Projects/AVRISP/Lib/PDIProtocol.h @@ -98,8 +98,8 @@ #define XPRG_PROTOCOL_PDI 0x00 #define XPRG_PROTOCOL_JTAG 0x01 - #define XPRG_PAGEMODE_WRITE (1 << 0) - #define XPRG_PAGEMODE_ERASE (1 << 1) + #define XPRG_PAGEMODE_WRITE (1 << 1) + #define XPRG_PAGEMODE_ERASE (1 << 0) /* External Variables: */ extern uint32_t XPROG_Param_NVMBase; -- cgit v1.2.3