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.

Connecting an avr microcontroller with a usb avr programmer

Status
Not open for further replies.

ravi8820

Junior Member level 1
Joined
May 24, 2012
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,483
Hello everyone,
I tried everything before writing this.

I was trying to connect an "ATMEGA 16A microcontroller" (which is impressed in a development board) with a "USB AVR programmer" by connecting through their isp header pins. I had connected them correctly using connecting wires. After that for checking whether i had connected them correctly or not i had written
"avrdude -c usbtiny -p m16" in the command prompt.

Then it is giving the error writing

"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."

I am also mentioning here the links in which it is mentioned to write as above for checking of connections--------------

(1) **broken link removed**
(2) https://www.newbiehack.com/MCUTestandCircuit.aspx

Also when i was programming in AVR studio for blinking an led using the above two components. It is showing the programmer as disconnected and in AVR studio there is no device named "ATMEGA 16A". However there is a device named "ATMEGA 16". The power LED of the microcontroller is blinking continuously even when i make its "ON\OFF" switch OFF. What could be the possible causes of error and how can i rectify them so as to continue my programming in a smooth way. I also not able to understand about fuse bits. How can i know whether fuse bits of my microcontroller is screwed up or not and if they are screwed up how can i correct them? What could be the possible causes of error and how can i rectify them so as to continue my programming in a smooth way.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top