bugAVR Downloader/UploaDEr - Bugs: bug #18489, avrdude is too slow (20 byte/s)

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #18489: avrdude is too slow (20 byte/s)

Submitter:  None
Submitted:  Fri 08 Dec 2006 09:35:39 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  joerg_wunsch Originator Name:  jim doe
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  None Programmer hardware: 
Device type: 

Mon 11 Dec 2006 02:07:52 PM UTC, comment #1: 

This turned out to be a bug introduced in rev 1.69 of avr.c.
When implementing the fallback to continue using the standard
methods after the programmer's load_page() or write_page()
failed, the failure status has been incorrectly deducted, so
after reading the entire memory in paged mode (the quick part),
it has been read again in one-byte-at-a-time mode.

Joerg Wunsch <joerg_wunsch>
Group administrator
Fri 08 Dec 2006 09:35:39 PM UTC, original submission:  

Howdy folks,
after my windows+avrstudio went fubar again, I decided to try the current
avrdude on linux.

I did:
cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/avrdude co
  avrdude
cd avrdude
./bootstrap
./configure
make
sudo make install


And then:


avrdude -c dragon_isp -p m48 -P usb -U flash:v:t1.hex:i

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.15s

avrdude: Device signature = 0x1e9205
avrdude: verifying flash memory against t1.hex:
avrdude: load data flash data from input file t1.hex:
avrdude: input file t1.hex contains 2982 bytes
avrdude: reading on-chip flash data:

Reading | ###############################################    | 94% 1.73s

At this point the speed slows down significantly.
The last 6% take about 150 seconds!

See the attached file for the -vvvv output.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #11485:  avrdude-4.txt.bz2 added by None (56KiB - application/x-bzip - -vvvv output)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2006-12-11 joerg_wunsch StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2006-12-09 joerg_wunsch StatusNone Confirmed
        Assigned toNone joerg_wunsch
        Originator Email -email is unavailable- -email is unavailable-
    2006-12-08 None Attached File- Added avrdude-4.txt.bz2, #11485

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code