aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP/Lib/PDIProtocol.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-15 05:17:52 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-15 05:17:52 +0000
commit79efd8c79e723adb3392367ae62356c5c3a835d0 (patch)
tree5232f8c3a61e63287008fafae32cf1cf568fed9e /Projects/AVRISP/Lib/PDIProtocol.h
parent8ea051de637f09f0fd2895f5a18ee9f337b9b1f1 (diff)
downloadlufa-79efd8c79e723adb3392367ae62356c5c3a835d0.tar.gz
lufa-79efd8c79e723adb3392367ae62356c5c3a835d0.tar.bz2
lufa-79efd8c79e723adb3392367ae62356c5c3a835d0.zip
Fix a bug in the Still Image Host Class driver where the returned block status code was being truncated.
Add programming support to the AVRISP project's PDI programming mode; paged memory writes are not currently functional.
Diffstat (limited to 'Projects/AVRISP/Lib/PDIProtocol.h')
-rw-r--r--Projects/AVRISP/Lib/PDIProtocol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Projects/AVRISP/Lib/PDIProtocol.h b/Projects/AVRISP/Lib/PDIProtocol.h
index 490e14bf5..127f0866e 100644
--- a/Projects/AVRISP/Lib/PDIProtocol.h
+++ b/Projects/AVRISP/Lib/PDIProtocol.h
@@ -97,6 +97,9 @@
#define XPRG_PROTOCOL_PDI 0x00
#define XPRG_PROTOCOL_JTAG 0x01
+
+ #define XPRG_PAGEMODE_WRITE (1 << 0)
+ #define XPRG_PAGEMODE_ERASE (1 << 1)
/* External Variables: */
extern uint32_t XPROG_Param_NVMBase;