mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-28 15:05:27 +00:00
Correct version string.
Update read/write status more frequently. Prefix ATMega parts with an 'm'. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@95 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
4
avr.c
4
avr.c
@@ -281,7 +281,7 @@ int avr_read(int fd, AVRPART * p, int memtype)
|
||||
|
||||
for (i=0; i<size; i++) {
|
||||
rbyte = avr_read_byte(fd, p, memtype, i);
|
||||
if (i % 1024 == 0)
|
||||
if (i % 16 == 0)
|
||||
fprintf(stderr, " \r%4lu 0x%02x", i, rbyte);
|
||||
buf[i] = rbyte;
|
||||
}
|
||||
@@ -470,7 +470,7 @@ int avr_write(int fd, AVRPART * p, int memtype, int size)
|
||||
/* eeprom or low byte of flash */
|
||||
data = p->mem[memtype].buf[i];
|
||||
rc = avr_write_byte(fd, p, memtype, i, data);
|
||||
if (i % 1024 == 0)
|
||||
if (i % 16 == 0)
|
||||
fprintf(stderr, " \r%4lu 0x%02x", i, data);
|
||||
if (rc) {
|
||||
fprintf(stderr, " ***failed; ");
|
||||
|
Reference in New Issue
Block a user