Updated the AVRISP-MKII Clone programmer project to be compatible with the latest...
[pub/USBasp.git] / Projects / AVRISP-MKII / Lib / XPROG / XPROGProtocol.h
index 367c85e..523fc15 100644 (file)
 
        /* Preprocessor Checks: */
                #if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
+                       /* On the XPLAIN board, we only need PDI programming
+                          for the ATXMEGA128A1 - disable ISP to prevent hardware
+                          damage.
+                        */
                        #undef ENABLE_ISP_PROTOCOL
 
                        #if !defined(ENABLE_XPROG_PROTOCOL)
                #define XPRG_PARAM_EEPPAGESIZE              0x02
                #define XPRG_PARAM_NVMCMD_REG               0x03
                #define XPRG_PARAM_NVMCSR_REG               0x04
+               #define XPRG_PARAM_UNKNOWN_1                0x05
 
                #define XPRG_PROTOCOL_PDI                   0x00
                #define XPRG_PROTOCOL_JTAG                  0x01