[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] UISP vs AVRDUDE
From: |
Andy Warner |
Subject: |
Re: [avr-gcc-list] UISP vs AVRDUDE |
Date: |
Thu, 3 Feb 2005 22:36:54 -0600 |
User-agent: |
Mutt/1.2.5i |
Bob Paddock wrote:
> [...]
> Still I'd stay with AVRDUDE, but I hope to get AVRDUDE to be able to use the
> PonyProg scripts.
I have posted a patch that adds -q -q as the polar opposite
of -v -v to avrdude. I just realised that my reply went to Eric,
not the list (so many lists, it's hard to remember which ones
reply to the list and which ones don't) - so if you're interested
you can pick it up from:
http://savannah.nongnu.org/patch/?group=avrdude
It's against the tip of cvs, and it's a brute-force
hack. I could do a neater one, but that would force me
to pull in stdarg, and I'd look for the green light from
the maintainers that stdarg was going to be OK for all their
target systems (this is 2005, isn't it?) before going there.
Here's an example of the wonderfully terse operation:
$ make
avr-gcc -mmcu=atmega8 -mtiny-stack -g -Os -c -o test.o test.c
avr-gcc -mmcu=atmega8 -mtiny-stack -g -Os -o output.elf test.o
avr-objcopy --strip-all -O ihex output.elf output.hex
avrdude -P /dev/ttyS0 -c stk500 -p atmega8 -q -q -Uflash:w:output.hex
$
So, I just made the switch from uisp to avrdude (it's faster too, it
seems like it's smarter than uisp about how much it verifies.)
--
address@hidden
Andy Warner Voice: (612) 801-8549 Fax: (208) 575-5634