Updated the AVRISP-MKII Clone programmer project to be compatible with the latest version of AVR Studio (version 5.1).
Changed the AVRISP-MKII Clone programmer project to report a fixed 3.3V VTARGET voltage on USB AVRs lacking an ADC instead of 5V to prevent warnings in AVR Studio 5.1 when programming XMEGA devices.
This commit is contained in:
parent
1482f77826
commit
18b82b3575
11 changed files with 58 additions and 28 deletions
|
@ -49,6 +49,10 @@
|
|||
|
||||
/* 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)
|
||||
|
@ -98,6 +102,7 @@
|
|||
#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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue