Complete initial working revision of PDI programming in the AVRISP project (XMEGAs can now be programmed by the firmware).

This commit is contained in:
Dean Camera 2009-12-15 10:06:49 +00:00
parent 79efd8c79e
commit 2f6c096050
5 changed files with 59 additions and 81 deletions

View file

@ -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;