aboutsummaryrefslogtreecommitdiff
path: root/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-12-28 07:17:21 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-12-28 07:17:21 +0000
commit4d8210b2011490d97fa81765d192cdfe831f4548 (patch)
tree352ac03ad26c195e273b723bda4e1777592b8f6b /Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h
parentb52ca5fb22ff1fe88fbcf9279bc29d5a3fed2651 (diff)
Add first draft of the TPI NVM commands for reading, writing and erasing a target. Needs testing when physical access to a part is available.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1022 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h')
-rw-r--r--Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h
index e42e50ce..a95e5b85 100644
--- a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h
+++ b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h
@@ -97,8 +97,8 @@
#define XPRG_PARAM_NVMBASE 0x01
#define XPRG_PARAM_EEPPAGESIZE 0x02
- #define XPRG_PARAM_UNDOC_1 0x03
- #define XPRG_PARAM_UNDOC_2 0x04
+ #define XPRG_PARAM_NVMCMD 0x03
+ #define XPRG_PARAM_NVMCSR 0x04
#define XPRG_PROTOCOL_PDI 0x00
#define XPRG_PROTOCOL_JTAG 0x01
@@ -109,6 +109,9 @@
/* External Variables: */
extern uint32_t XPROG_Param_NVMBase;
+ extern uint16_t XPROG_Param_EEPageSize;
+ extern uint8_t XPROG_Param_NVMCSRRegAddr;
+ extern uint8_t XPROG_Param_NVMCMDRegAddr;
/* Function Prototypes: */
void XPROGProtocol_SetMode(void);