Submitted by Travis Griggs:
bug #38307: Can't write usersig of an xmega256a3 * stk500v2.c (stk600_xprog_page_erase): allow erasing the usersig space. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1199 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
f051a3a6e0
commit
e2a78468d0
|
@ -1,3 +1,9 @@
|
||||||
|
2013-09-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||||
|
|
||||||
|
Submitted by Travis Griggs:
|
||||||
|
bug #38307: Can't write usersig of an xmega256a3
|
||||||
|
* stk500v2.c (stk600_xprog_page_erase): allow erasing the usersig space.
|
||||||
|
|
||||||
2013-09-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
2013-09-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||||
|
|
||||||
Submitted by Robert Niemi:
|
Submitted by Robert Niemi:
|
||||||
|
|
1
NEWS
1
NEWS
|
@ -86,6 +86,7 @@ Current:
|
||||||
to upload an invalid Intel HEX file
|
to upload an invalid Intel HEX file
|
||||||
- bug #39794: warnings when building avrdude 6.0rc1 under CentOS 6.4
|
- bug #39794: warnings when building avrdude 6.0rc1 under CentOS 6.4
|
||||||
- bug #35800: Compilation error on certain systems if parport is disabled
|
- bug #35800: Compilation error on certain systems if parport is disabled
|
||||||
|
- bug #38307: Can't write usersig of an xmega256a3
|
||||||
|
|
||||||
* Keep track of input file contents
|
* Keep track of input file contents
|
||||||
|
|
||||||
|
|
|
@ -4322,6 +4322,8 @@ static int stk600_xprog_page_erase(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m,
|
||||||
b[1] = XPRG_ERASE_BOOT_PAGE;
|
b[1] = XPRG_ERASE_BOOT_PAGE;
|
||||||
} else if (strcmp(m->desc, "eeprom") == 0) {
|
} else if (strcmp(m->desc, "eeprom") == 0) {
|
||||||
b[1] = XPRG_ERASE_EEPROM_PAGE;
|
b[1] = XPRG_ERASE_EEPROM_PAGE;
|
||||||
|
} else if (strcmp(m->desc, "usersig") == 0) {
|
||||||
|
b[1] = XPRG_ERASE_USERSIG;
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"%s: stk600_xprog_page_erase(): unknown paged memory \"%s\"\n",
|
"%s: stk600_xprog_page_erase(): unknown paged memory \"%s\"\n",
|
||||||
|
|
Loading…
Reference in New Issue