[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-chat] Avrdude: don't write pages with only 0xff.
From: |
Joerg Wunsch |
Subject: |
Re: [avr-chat] Avrdude: don't write pages with only 0xff. |
Date: |
Sat, 14 Apr 2007 22:01:05 +0200 (MET DST) |
Rogier Wolff <address@hidden> wrote:
> Attached is the patch that makes avrdude skip pages that only
> contain 0xff.
Umm, yet another one. :-(
for (i=0; i<wsize; i++) {
+
+ if (m->paged) {
+ /*
+ * check to see if it is time to flush the page with a page
+ * write
+ */
+
Why restricting it to the "paged" case only? Why do non-paged devices
not deserve the same treatment? (They'll benefit even more, as they
are generally way slower to be written to.)
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)