diff --git a/ChangeLog b/ChangeLog index 7ebaf04b..fccde052 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2014-11-20 Joerg Wunsch + + bug #41561: AVRDUDE 6.0.1/USBasp doesn't write first bytes of + flash page + * usbasp.c (usbasp_spi_paged_write): Remove USBASP_BLOCKFLAG_LAST. + It is no longer needed, as we always write full pages now in paged + write mode. + 2014-11-19 Joerg Wunsch bug #43626: Inconsistent timeouts in stk500v2 diff --git a/NEWS b/NEWS index e952b983..ea8cf844 100644 --- a/NEWS +++ b/NEWS @@ -24,6 +24,8 @@ Current: - bug #22248: Read efuse error (partial fix) - bug #42267: jtag3isp fails to read lock and fuse bytes directly after changing lock byte + - bug #41561: AVRDUDE 6.0.1/USBasp doesn't write first bytes of + flash page * Internals: - ... diff --git a/usbasp.c b/usbasp.c index 5058cd80..e75eed1d 100644 --- a/usbasp.c +++ b/usbasp.c @@ -795,7 +795,6 @@ static int usbasp_spi_paged_write(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m, if (wbytes <= blocksize) { blocksize = wbytes; - blockflags |= USBASP_BLOCKFLAG_LAST; } wbytes -= blocksize;