diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-16 05:43:03 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-16 05:43:03 +0000 |
commit | ff61dfa50589bc65bf5642feb80a0f23a237d76b (patch) | |
tree | 7ee0d493320caba1fcef227a76829af01823e678 /Projects | |
parent | 80d85090baa9b5c6abf4c3e550a63486d4252839 (diff) | |
download | lufa-ff61dfa50589bc65bf5642feb80a0f23a237d76b.tar.gz lufa-ff61dfa50589bc65bf5642feb80a0f23a237d76b.tar.bz2 lufa-ff61dfa50589bc65bf5642feb80a0f23a237d76b.zip |
Fixed AVRISP project not sending a full erase-and-write EEPROM command to XMEGA targets when writing to the EEPROM instead of the split write-only command (thanks to Tim Margush).
Diffstat (limited to 'Projects')
-rw-r--r-- | Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c index 7a4b1a547..ab4d4262a 100644 --- a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c +++ b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c @@ -319,7 +319,7 @@ static void XPROGProtocol_WriteMemory(void) WriteCommand = XMEGA_NVM_CMD_WRITEBOOTSECPAGE; break; case XPRG_MEM_TYPE_EEPROM: - WriteCommand = XMEGA_NVM_CMD_WRITEEEPROMPAGE; + WriteCommand = XMEGA_NVM_CMD_ERASEWRITEEEPROMPAGE; WriteBuffCommand = XMEGA_NVM_CMD_LOADEEPROMPAGEBUFF; EraseBuffCommand = XMEGA_NVM_CMD_ERASEEEPROMPAGEBUFF; break; |