[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] AVRDude command line options
From: |
Robert Ussery |
Subject: |
[avr-gcc-list] AVRDude command line options |
Date: |
Mon, 24 Nov 2003 23:33:56 -0700 |
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!
In the meantime, I guess I'll just continue using the -i and other
"deprecated" commands.
- Robert