[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [patch #6789] speed up avr910 ans stk500v2 for (old) non p
From: |
Klaus Leidinger |
Subject: |
[avrdude-dev] [patch #6789] speed up avr910 ans stk500v2 for (old) non pagemode devices |
Date: |
Mon, 23 Mar 2009 13:48:40 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 |
URL:
<http://savannah.nongnu.org/patch/?6789>
Summary: speed up avr910 ans stk500v2 for (old) non pagemode
devices
Project: AVR Downloader/UploaDEr
Submitted by: kllei
Submitted on: Mo 23 Mär 2009 13:48:38 GMT
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
as mentioned from Jens Wulf the avr.c refuses a block transfer when the
target device does not support page mode flash writing.
"
if (pgm->paged_write != NULL && m->page_size != 0) {
^^^^^^^^^^^^^^^^^^^^
this condition, which is necessary in avr.c, avr_write() and avr_read(). "
Removing this check in read and write section of avr.c speeds up writing of
8K into AT90S8535 with avr910 from 33.41 to 20.56 sec. and read (verify) from
17.36 to 2.70 sec.
This also speeds up a stk500v2 programmer for the same controller from 74.61
to 24.98 secs. and verify from 25.05 to 5.22 secs.
please check if this has implications to other programmers.
Kind Regards,
Klaus
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mo 23 Mär 2009 13:48:38 GMT Name: avr.c.patch Size: 2kB By: kllei
<http://savannah.nongnu.org/patch/download.php?file_id=17774>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?6789>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] [patch #6789] speed up avr910 ans stk500v2 for (old) non pagemode devices,
Klaus Leidinger <=