EmbDev.net

Forum: µC & Digital Electronics AVR DEVICE NOT RESPONDING plz help.


von Mandvi U. (mandvi_87)


Attached files:

Rate this post
useful
not useful
WE ARE USING ATMEGA8L FOR PROGRAMMING ON READY MADE PCB.
WE ARE GETTING AN ERROR WHILE LOADING THE PROGRAM AS :


> "make.exe" program
avrdude -p atmega8 -P com1 -c ponyser -U

flash:w:main.hex

avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.


avrdude done. Thank you.

make.exe: *** [program] Error 1

> Process Exit Code: 2
> Time Taken: 00:01

WE HAVE BEEN DEALIN WITH THE FUSE AND OTHER SETTINGS TO RUN THE PROGRAM 
BUT ALL IN VEIN!

ITS VERY SURPRIZING THAT ITS SHOWING THE SAME ERROR EVEN WITHOUT THE 
POWER SUPPLY

plz suggest sumthin.

OUR MAKEFILE IS AS GIVEN BELOW:

von Rene (Guest)


Rate this post
useful
not useful
Wrong port? Or maybe wrong baudrate?

(and please, do not write uppercase, thanks).

von Lukas R. (Guest)


Rate this post
useful
not useful
You checked, if your uC is broken?
Self made PCB? if yes then check the lines for hairline crackes.

lukas

von Mandvi U. (mandvi_87)


Rate this post
useful
not useful
we are dealing with ready made pcb and we tried on 2 
microcontrollers,its a new microcontroller. we are using lAN to RS232 
serial cable, and baudrate is 9600.

von kaffeetas (Guest)


Rate this post
useful
not useful
that will propably not work! Assuming you're using a "cheap" bitbanging 
programmer (ponyser), that will require a "real" serial-port.

There are several cheap USB programmers out there.
http://www.fischl.de/usbasp/

best regards
 kaffeetas

von Kishor S. (sonikishor)


Rate this post
useful
not useful
Use the http://www.fischl.de/usbasp/
They improved its hardware so there are two speed option.

AVR devices oscillator is 1MHZ factory set, so set the programmer 
hardware to low speed mode.

once you program for above 8MHZ, then you can use high speed mode.

If your hardware default setting is high speed mode, then AVR device not 
respond.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.