* jtagmkII.c (jtagmkII_paged_load): return the number of bytes read.

This makes EEPROM block reads work again.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@498 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
joerg_wunsch 2005-09-16 15:52:28 +00:00
parent cf046b8f9d
commit cc09dd7878
2 changed files with 6 additions and 1 deletions

View File

@ -8,6 +8,11 @@
* butterfly.c: improve the butterfly initialization so it is more likely * butterfly.c: improve the butterfly initialization so it is more likely
to synchonize; [bug #9787: avrdude 4.4.0 correct butterfly interface] to synchonize; [bug #9787: avrdude 4.4.0 correct butterfly interface]
2005-09-14 Joerg Wunsch <j@uriah.heep.sax.de>
* jtagmkII.c (jtagmkII_paged_load): return the number of bytes read.
This makes EEPROM block reads work again.
2005-09-14 Joerg Wunsch <j@uriah.heep.sax.de> 2005-09-14 Joerg Wunsch <j@uriah.heep.sax.de>
* avrdude.conf.in: add a jtag2slow programmer alias, and make * avrdude.conf.in: add a jtag2slow programmer alias, and make

View File

@ -1352,7 +1352,7 @@ static int jtagmkII_paged_load(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m,
} }
serial_recv_timeout = otimeout; serial_recv_timeout = otimeout;
return 0; return n_bytes;
} }
static int jtagmkII_read_byte(PROGRAMMER * pgm, AVRPART * p, AVRMEM * mem, static int jtagmkII_read_byte(PROGRAMMER * pgm, AVRPART * p, AVRMEM * mem,