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)

Submitted by:  None
Submitted on:  Fri 08 Dec 2006 09:35:39 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Name: jim doe
Originator Email: -unavailable-Open/Closed: Closed
Release: NoneProgrammer 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>
Project AdministratorIn charge of this item.
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

 

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
  • -unavailable- added by joerg_wunsch (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 11 Dec 2006 02:07:52 PM UTCjoerg_wunschStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Sat 09 Dec 2006 10:18:00 PM UTCjoerg_wunschStatusNone=>Confirmed
      Assigned toNone=>joerg_wunsch
      Originator Email -unavailable-=>-unavailable-
    Fri 08 Dec 2006 09:35:39 PM UTCNoneAttached File-=>Added avrdude-4.txt.bz2, #11485

    Back to the top


    Powered by Savane 3.1-cleanup1