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:
parent
5f93c94fbf
commit
b9e5d16c95
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; ");
|
||||
|
|
|
@ -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;
|
||||
;
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in New Issue