Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[Moved] problem in burning hex file in atmega32

Status
Not open for further replies.

ritesh143

Newbie level 2
Joined
Sep 29, 2012
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
after cliking on program option in winavr i m getting this output

avrdude -p atmega32 -P usb -c usbasp -U flash:w:main.hex

avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: programm enable: target doesn't answer. 1
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:00


plz help mi out
 

Re: problem in burning hex file in atmega32

Hi retesh...
i want to know which software you arr using for compiling like avr studio 4 or what???...
and which for the buning???
 

Re: problem in burning hex file in atmega32

Hi retesh...
i want to know which software you arr using for compiling like avr studio 4 or what???...
and which for the buning???

i m using winavr20100110
while creating makefile and selecting cpu there is no atmega32a so i have selected atmega32 but it is not working
 

Re: problem in burning hex file in atmega32

I didnt worked in winavr like this.. i am using AVR studio 4, or avr studio,6... i suggest you to use the avr studio for compiling and burning you can go through this link... in this it is very nicely explained to make your own burner hardware. Some small connection with basic components and 1 software ponyprog you need to download... and you can burn your hex file without any truble...
https://www.circuitvalley.com/2011/04/avr-serial-port-programmer.html

I hope this will help...

Ismail
 

Re: problem in burning hex file in atmega32

Selecting 32 instead of 32A shoudnt affect the programming untill other factors are ok.
If you are using USB asp, try using with ProgISP1.78v to program
Verify you have a crystal connected to the Mega32 and the same is powered.
Do not remove the "Slow clk" jumper on the programmer. (Speed programming will fail for some devices)
Cheers
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top