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:
bsd 2001-10-31 02:18:08 +00:00
parent ae439695a1
commit b7e6fed739
3 changed files with 31 additions and 5 deletions

4
avr.c
View File

@ -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; ");

View File

@ -284,7 +284,7 @@ part
part
id = "103";
id = "m103";
desc = "ATMEGA103";
chip_erase_delay = 112000;
eeprom
@ -311,7 +311,7 @@ part
part
id = "16";
id = "m16";
desc = "ATMEGA16";
chip_erase_delay = 9000;
eeprom
@ -336,3 +336,29 @@ part
;
;
part
id = "m8";
desc = "ATMEGA8";
chip_erase_delay = 9000;
eeprom
paged = no;
size = 512;
page_size = 0;
num_pages = 0;
min_write_delay = 9000;
max_write_delay = 9000;
readback_p1 = 0xff;
readback_p2 = 0xff;
;
flash
paged = yes;
size = 8192;
page_size = 64;
num_pages = 128;
min_write_delay = 4500;
max_write_delay = 9000;
readback_p1 = 0xff;
readback_p2 = 0xff;
;
;

2
main.c
View File

@ -115,7 +115,7 @@ char ** modules[N_MODULES] = {
&term_version
};
char * version = "1.4.0";
char * version = "1.4.4";
char * main_version = "$Id$";