From 79efd8c79e723adb3392367ae62356c5c3a835d0 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 15 Dec 2009 05:17:52 +0000 Subject: 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. --- Projects/AVRISP/Lib/PDIProtocol.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Projects/AVRISP/Lib/PDIProtocol.h') diff --git a/Projects/AVRISP/Lib/PDIProtocol.h b/Projects/AVRISP/Lib/PDIProtocol.h index 490e14bf53..127f0866ea 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; -- cgit v1.2.3