From 7e7c14e638f9cdce061b1d4a23c46b911a9d0ce0 Mon Sep 17 00:00:00 2001 From: "Brian S. Dean" Date: Wed, 31 Oct 2001 02:18:08 +0000 Subject: [PATCH] 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@95 81a1dc3b-b13d-400b-aceb-764788c761c2 --- avrdude/avr.c | 4 ++-- avrdude/avrdude.conf.sample | 30 ++++++++++++++++++++++++++++-- avrdude/main.c | 2 +- 3 files changed, 31 insertions(+), 5 deletions(-) diff --git a/avrdude/avr.c b/avrdude/avr.c index 6be0b0d5..cad0443e 100644 --- a/avrdude/avr.c +++ b/avrdude/avr.c @@ -281,7 +281,7 @@ int avr_read(int fd, AVRPART * p, int memtype) for (i=0; imem[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; "); diff --git a/avrdude/avrdude.conf.sample b/avrdude/avrdude.conf.sample index d5e95e00..2d454413 100644 --- a/avrdude/avrdude.conf.sample +++ b/avrdude/avrdude.conf.sample @@ -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; + ; + ; + diff --git a/avrdude/main.c b/avrdude/main.c index 7880ece3..bcb670cc 100644 --- a/avrdude/main.c +++ b/avrdude/main.c @@ -115,7 +115,7 @@ char ** modules[N_MODULES] = { &term_version }; -char * version = "1.4.0"; +char * version = "1.4.4"; char * main_version = "$Id$";