mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-28 06:55:27 +00:00
The STK500 can perform paged read/write operations even on standard
"non-paged" parts. Take advantage of that and use the faster internal routines of the STK500 for those parts as well. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@162 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
5
pgm.h
5
pgm.h
@@ -53,6 +53,7 @@ typedef struct programmer_t {
|
||||
unsigned int pinno[N_PINS];
|
||||
int ppidata;
|
||||
int fd;
|
||||
int page_size; /* page size if the programmer supports paged write/load */
|
||||
int (*rdy_led) (struct programmer_t * pgm, int value);
|
||||
int (*err_led) (struct programmer_t * pgm, int value);
|
||||
int (*pgm_led) (struct programmer_t * pgm, int value);
|
||||
@@ -72,9 +73,9 @@ typedef struct programmer_t {
|
||||
void (*open) (struct programmer_t * pgm, char * port);
|
||||
void (*close) (struct programmer_t * pgm);
|
||||
int (*paged_write) (struct programmer_t * pgm, AVRPART * p, AVRMEM * m,
|
||||
int n_bytes);
|
||||
int page_size, int n_bytes);
|
||||
int (*paged_load) (struct programmer_t * pgm, AVRPART * p, AVRMEM * m,
|
||||
int n_bytes);
|
||||
int page_size, int n_bytes);
|
||||
} PROGRAMMER;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user