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 endof


From: Weddington, Eric
Subject: RE: [avr-gcc-list] Windows 7 issue ? Avrdude - strange garbage at endof filename
Date: Mon, 27 Apr 2009 11:25:44 -0600

 

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Royce Pereira
> Sent: Monday, April 27, 2009 10:03 AM
> To: address@hidden
> Subject: [avr-gcc-list] Windows 7 issue ? Avrdude - strange 
> garbage at endof filename
> 
> 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.

Wow! You're at the bleeding edge!

> 
> 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,
> 

If AVR Studio could program it, it sounds like the problem is not with the 
compiler per se. (Let us know if the application actually works.)

Did you try using the command line above, but with quoting the filename, and 
other parameters? Like so:

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




reply via email to

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