avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] Avrdude fails to connect to my Dragon...


From: Daniel O'Connor
Subject: Re: [avr-chat] Avrdude fails to connect to my Dragon...
Date: Wed, 11 Mar 2009 16:19:28 +1030
User-agent: KMail/1.10.4 (Linux/2.6.27-11-generic; KDE/4.1.4; i686; ; )

On Wednesday 11 March 2009 15:42:36 Joerg Wunsch wrote:
> "Daniel O'Connor" <address@hidden> wrote:
> > Try the -B option, although for me it doesn't seem to make a big
> > difference (although I need -B 10 to program a new part due to
> > the fuse settings).
>
> I'm not sure how the Dragon behaves without -B.  If it defaults
> to whatever value might be stored in EEPROM for the SCK period,
> it could be dog slow as shipped.

Ahh OK.


I ran time on a few different commands..
avrdude -U flash:w:sprink.hex -p m324p -c dragon_isp -q -P usb -B 0.7 
        0.08s user 0.04s system 1% cpu 10.774 total

avrdude -U flash:w:sprink.hex -p m324p -c dragon_isp -q -P usb -B 2 
        0.05s user 0.02s system 0% cpu 11.487 total

avrdude -U flash:w:sprink.hex -p m324p -c dragon_isp -q -P usb -B 10  
        0.07s user 0.04s system 0% cpu 17.981 total

(10k file)

So it does make a difference but presumably the flash erasure is a fairly 
dominating cost.

I don't have a JTAG header on this board so I didn't test that.
(I don't have a problem with 10 second programming cycles though :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]