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

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

Re: [avr-gcc-list] Windows 7 issue ? Avrdude - strange garbage at end of


From: Carl Hamilton
Subject: Re: [avr-gcc-list] Windows 7 issue ? Avrdude - strange garbage at end of filename
Date: Tue, 28 Apr 2009 07:42:10 -0700

I believe this is actually being caused by a bug in avrdude that I found a while ago, but never got around to submitting a patch for. 

The "buf[i] = 0;" at line 72 of http://svn.savannah.gnu.org/viewvc/trunk/avrdude/update.c?annotate=722&root=avrdude needs to be moved up to line 54.

 - Carl

On Mon, Apr 27, 2009 at 9:02 AM, Royce Pereira <address@hidden> wrote:
Hi,
Today I decided to try our Windows 7 (beta build 7077). This is the
build just before RC1.
I aso installed just today WinAVR 2090313.

I'm not sure if either one could be at fault.

When I try to use Avrdudein the DOS window, or thru a bat file,it
reads funny garbage at the end of the **filename**. Like so:
(This is the output of my editor )


 avrdude -c stk500v2 -p m8 -u -U benz-ppm3.hex  -U lfuse:w:0x21:m -U
lock:w:0x3c:m


avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.08s

avrdude: Device signature = 0x1e9307
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
        To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "benz-ppm3.hex#h"
avrdude: error opening benz-ppm3.hex#h: No such file or directory
avrdude: input file benz-ppm3.hex#h auto detected as invalid format
avrdude: can't open input file benz-ppm3.hex#h: No such file or directory
avrdude: write to file 'benz-ppm3.hex#h' failed

Note the garbage after the hex-file name. This happens even if the
command line is typed at the prompt.
I tried with AVRstudio, and the chip gets programmed wth no problem.

What could be wrong ? Thanks,

--Royce.


_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list


reply via email to

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