Make the page size used for non-paged parts for the 'paged_write'

command be 128 bytes.  This cuts 6 seconds off the programming time
for uploading a 6K file into an AT90S8515 vs the time loading the same
file using a 16 byte buffer, and the response feedback is still good.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@261 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
bdean 2003-03-05 04:37:09 +00:00
parent 86dbad54c5
commit 43417206df
1 changed files with 1 additions and 1 deletions

View File

@ -881,7 +881,7 @@ static int stk500_paged_write(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m,
unsigned int n; unsigned int n;
if (page_size == 0) { if (page_size == 0) {
page_size = 16; page_size = 128;
} }
if (strcmp(m->desc, "flash") == 0) { if (strcmp(m->desc, "flash") == 0) {