diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-24 09:37:54 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-24 09:37:54 +0000 |
commit | bff4dbe1897d8c19b4bb9807e76350465ca1f1c4 (patch) | |
tree | 5d6f9ffba04b1327b145fc37e24778be856cc8ec /Projects/Incomplete/AVRISP/Lib/V2Protocol.h | |
parent | dbb5f249bd057c7b292645463c52067c1da58efa (diff) | |
download | lufa-bff4dbe1897d8c19b4bb9807e76350465ca1f1c4.tar.gz lufa-bff4dbe1897d8c19b4bb9807e76350465ca1f1c4.tar.bz2 lufa-bff4dbe1897d8c19b4bb9807e76350465ca1f1c4.zip |
Fix to V2 Protocol for Fuse/Sig/Lock byte read -- off by one error on the array when writing back the response from the device.
FLASH/EEPROM reading and writing currently broken and unfinished, respectively.
Diffstat (limited to 'Projects/Incomplete/AVRISP/Lib/V2Protocol.h')
-rw-r--r-- | Projects/Incomplete/AVRISP/Lib/V2Protocol.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Projects/Incomplete/AVRISP/Lib/V2Protocol.h b/Projects/Incomplete/AVRISP/Lib/V2Protocol.h index 30d40433f..39406e465 100644 --- a/Projects/Incomplete/AVRISP/Lib/V2Protocol.h +++ b/Projects/Incomplete/AVRISP/Lib/V2Protocol.h @@ -45,10 +45,11 @@ #include "V2ProtocolTarget.h"
/* Macros: */ - #define PROGRAMMER_ID "AVRISP_MK2"
+ #define PROGRAMMER_ID "AVRISP_MK2"
- #define READ_WRITE_ODD_BYTE_MASK (1 << 3)
- #define TARGET_MODE_PAGE_MASK (1 << 0)
+ #define READ_WRITE_ODD_BYTE_MASK (1 << 3)
+ #define PROG_MODE_PAGED_WRITES_MASK (1 << 0)
+ #define PROG_MODE_COMMIT_PAGE_MASK (1 << 7)
/* Function Prototypes: */
void V2Protocol_ProcessCommand(void);
|