diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-15 10:06:49 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-15 10:06:49 +0000 |
commit | 2f6c096050ee0057ccbff0ee87d58f72fae75748 (patch) | |
tree | 7027f3a51b0fe4fe3de15c1c57e96a35f2c61dc6 /Projects/AVRISP/Lib/PDIProtocol.h | |
parent | 79efd8c79e723adb3392367ae62356c5c3a835d0 (diff) | |
download | lufa-2f6c096050ee0057ccbff0ee87d58f72fae75748.tar.gz lufa-2f6c096050ee0057ccbff0ee87d58f72fae75748.tar.bz2 lufa-2f6c096050ee0057ccbff0ee87d58f72fae75748.zip |
Complete initial working revision of PDI programming in the AVRISP project (XMEGAs can now be programmed by the firmware).
Diffstat (limited to 'Projects/AVRISP/Lib/PDIProtocol.h')
-rw-r--r-- | Projects/AVRISP/Lib/PDIProtocol.h | 4 |
1 files changed, 2 insertions, 2 deletions
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;
|