avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] AVRDude command line options


From: E. Weddington
Subject: Re: [avr-gcc-list] AVRDude command line options
Date: Tue, 25 Nov 2003 11:43:53 -0700

On 25 Nov 2003 at 5:56, E. Weddington wrote:

> On 24 Nov 2003 at 23:33, Robert Ussery wrote:
> 
> > Hi, all.
> > 
> > I've just started using the AVRDude program, and there are a few things I
> > don't yet understand. I ran AVRDude using the sample program (after having
> > compiled/linked/etc. it, and having obtained the .hex file) using the
> > following command:
> > 
> > avrdude -p at90s8515 -c STK500 -e -m flash -i c:\demo.hex
> > 
> > This worked, except that I received the message: "WARNING: the -f, -i, -I,
> > -o, and -m options are deprecated. Please use the -U option instead."
> > 
> > After investigating the -U option, I tried again with:
> > 
> > Avrdude -p at90s8515 -c STK500 -U flash:w:c:\demo.hex
> > And
> > Avrdude -p at90s8515 -c STK500 -U flash:w:"c:\demo.hex"
> > 
> > neither of which worked. I received the message:
> > "Invalid file format '\' in update specifier"
> > 
> > Clearly, what avrdude is doing is interpreting the ":" in c:\ as the
> > separator between the file name and file type sections of the -U command.
> > Is there anything I can do to remedy this (other than putting AVRdude in
> > the same directory as the .hex file)? Thanks!
> 
> Actually, it's the backslash that's causing the main problem (see the error
> message). avrdude comes from a unix/linux background where only forward
> slashes are used to delineate directory paths.

You're correct. The colon in the Windows path causes the command-line 
parsing to screw up.
 
I've opened up a bug tracker on avrdude for this. Further discussion on 
this should be done on the avrdude mailing list.

Thanks
Eric


reply via email to

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