On Wednesday 11 March 2009 15:42:36 Joerg Wunsch wrote: > "Daniel O'Connor" <[email protected]> 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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ AVR-chat mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-chat
