Update NEWS and resolve minor residual messaging issues
This commit is contained in:
parent
e172877724
commit
b864d7e73a
17
NEWS
17
NEWS
|
@ -54,7 +54,10 @@ Changes since version 7.0:
|
||||||
- Make flash writes work in terminal mode #1020
|
- Make flash writes work in terminal mode #1020
|
||||||
- Add support for XMEGA specific AVR109 protocol extensions
|
- Add support for XMEGA specific AVR109 protocol extensions
|
||||||
used by XBoot #200
|
used by XBoot #200
|
||||||
|
- jtag2updi can not write EEPROM in terminal mode #1116
|
||||||
|
- Make UPDI programmers less verbose during initialization
|
||||||
|
#1084
|
||||||
|
- Quell mode isn't handled systematically #1114
|
||||||
|
|
||||||
* Pull requests:
|
* Pull requests:
|
||||||
|
|
||||||
|
@ -140,8 +143,16 @@ Changes since version 7.0:
|
||||||
- Provide cached byte-wise read/write API #1106
|
- Provide cached byte-wise read/write API #1106
|
||||||
- AVR109: support for prodsig read and usersig read/write #1108
|
- AVR109: support for prodsig read and usersig read/write #1108
|
||||||
- Add missing AVR variants the original JTAG ICE supports #1109
|
- Add missing AVR variants the original JTAG ICE supports #1109
|
||||||
- Improve help message in terminal and provide new command pgerase #1113
|
- Improve help message in terminal and provide new command
|
||||||
|
pgerase #1113
|
||||||
- Fix pointer truncation for Windows x64 #1119
|
- Fix pointer truncation for Windows x64 #1119
|
||||||
|
- Fix jtag3_page_erase for targets with UPDI #1112
|
||||||
|
- Fix writing of last word on DWORD TPI parts #1115
|
||||||
|
- Use byte-wise read/write when page size is 1 in terminal
|
||||||
|
cache #1121
|
||||||
|
- Suppress Teensy USB communication error message on reboot #1122
|
||||||
|
- Fix UPDI erase when target is locked #1125
|
||||||
|
- Review and overhaul AVRDUDE's messaging system #1126
|
||||||
|
|
||||||
* Internals:
|
* Internals:
|
||||||
|
|
||||||
|
@ -150,6 +161,8 @@ Changes since version 7.0:
|
||||||
- Reviewed API for prgrammer functions: use const for
|
- Reviewed API for prgrammer functions: use const for
|
||||||
programmer functions where useful; add second argument for
|
programmer functions where useful; add second argument for
|
||||||
void (*enable)(PROGRAMMER *pgm, const AVRPART *p) #1078
|
void (*enable)(PROGRAMMER *pgm, const AVRPART *p) #1078
|
||||||
|
- Reviewed messaging system making warnings and errors explicit
|
||||||
|
and treat them systematically
|
||||||
|
|
||||||
|
|
||||||
Changes in version 7.0:
|
Changes in version 7.0:
|
||||||
|
|
|
@ -854,10 +854,9 @@ int avr_write_mem(const PROGRAMMER *pgm, const AVRPART *p, const AVRMEM *m, int
|
||||||
* Ensure that we align our write size to this boundary.
|
* Ensure that we align our write size to this boundary.
|
||||||
*/
|
*/
|
||||||
if (m->n_word_writes < 0 || m->n_word_writes > 4 || m->n_word_writes == 3) {
|
if (m->n_word_writes < 0 || m->n_word_writes > 4 || m->n_word_writes == 3) {
|
||||||
avrdude_message(MSG_INFO, "\n%s: ERROR: Unsupported n_word_writes value of %d "
|
msg_error("\n");
|
||||||
"configured for %s memory\n"
|
pmsg_error("unsupported n_word_writes value of %d for %s memory\n",
|
||||||
"%sAborting write\n",
|
m->n_word_writes, m->desc);
|
||||||
progname, m->n_word_writes, m->desc, progbuf);
|
|
||||||
return LIBAVRDUDE_GENERAL_FAILURE;
|
return LIBAVRDUDE_GENERAL_FAILURE;
|
||||||
}
|
}
|
||||||
chunk = m->n_word_writes > 0 ? 2*m->n_word_writes : 2;
|
chunk = m->n_word_writes > 0 ? 2*m->n_word_writes : 2;
|
||||||
|
|
|
@ -222,7 +222,7 @@ static int cacheAddress(int addr, const AVR_Cache *cp, const AVRMEM *mem) {
|
||||||
int cacheaddr = addr + (int) (mem->offset - cp->offset);
|
int cacheaddr = addr + (int) (mem->offset - cp->offset);
|
||||||
|
|
||||||
if(cacheaddr < 0 || cacheaddr >= cp->size) { // Should never happen (unless offsets wrong in avrdude.conf)
|
if(cacheaddr < 0 || cacheaddr >= cp->size) { // Should never happen (unless offsets wrong in avrdude.conf)
|
||||||
pmsg_error("%s cache address 0x%04x out of range [0, 0x%04x]\n", mem->desc, cacheaddr, cp->size);
|
pmsg_error("%s cache address 0x%04x out of range [0, 0x%04x]\n", mem->desc, cacheaddr, cp->size-1);
|
||||||
return LIBAVRDUDE_GENERAL_FAILURE;
|
return LIBAVRDUDE_GENERAL_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -267,8 +267,8 @@ static int writeCachePage(AVR_Cache *cp, const PROGRAMMER *pgm, const AVRPART *p
|
||||||
pgm->read_byte(pgm, p, mem, base+i, cp->copy+base+i) < 0) {
|
pgm->read_byte(pgm, p, mem, base+i, cp->copy+base+i) < 0) {
|
||||||
report_progress(1, -1, NULL);
|
report_progress(1, -1, NULL);
|
||||||
if(nlOnErr && quell_progress)
|
if(nlOnErr && quell_progress)
|
||||||
avrdude_message(MSG_INFO, "\n");
|
msg_info("\n");
|
||||||
avrdude_message(MSG_INFO, "%s: writeCachePage() %s access error at addr 0x%04x\n", progname, mem->desc, base+i);
|
pmsg_error("writeCachePage() %s access error at addr 0x%04x\n", mem->desc, base+i);
|
||||||
return LIBAVRDUDE_GENERAL_FAILURE;
|
return LIBAVRDUDE_GENERAL_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1628,7 +1628,7 @@ static int jtag3_page_erase(const PROGRAMMER *pgm, const AVRPART *p, const AVRME
|
||||||
pmsg_notice2("jtag3_page_erase(.., %s, 0x%x)\n", m->desc, addr);
|
pmsg_notice2("jtag3_page_erase(.., %s, 0x%x)\n", m->desc, addr);
|
||||||
|
|
||||||
if (!(p->prog_modes & (PM_PDI | PM_UPDI))) {
|
if (!(p->prog_modes & (PM_PDI | PM_UPDI))) {
|
||||||
avrdude_message(MSG_INFO, "%s: jtag3_page_erase: not supported\n", progname);
|
pmsg_error("page erase not supported\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -421,7 +421,7 @@ static int cmd_write(PROGRAMMER *pgm, AVRPART *p, int argc, char *argv[]) {
|
||||||
|
|
||||||
if (addr < 0 || addr >= maxsize) {
|
if (addr < 0 || addr >= maxsize) {
|
||||||
terminal_message(MSG_INFO, "%s (write): %s address 0x%05x is out of range [0, 0x%05x]\n",
|
terminal_message(MSG_INFO, "%s (write): %s address 0x%05x is out of range [0, 0x%05x]\n",
|
||||||
progname, mem->desc, addr, maxsize);
|
progname, mem->desc, addr, maxsize-1);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue