- This topic has 1 reply, 2 voices, and was last updated 11 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Microcontroller › AVR › connecting an avr microcontroller with a usb avr programmer
I am connecting an ATMEGA16A impressed in a development board with a usb avr programmer. I had installed the driver of the usb avr programmer correctly. I had also connected the isp headers of both the microcontroller and the programmer correctly. The power led of the microcontroller is also blinking. But whenever i am burning the program of blinking an led using command prompt it is showing the error as
“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.”
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 “ONOFF” 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.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.
Please help me in this regard……………………..
What programmer u r using..? & what tool u r using..? Please sumup exactly what is the problem..!
The possible reasons could be,
1. Ensure ur make file settings incase of WINAVR.
2. Ensure ur programmer pins since in some case the MOSI, Vcc, Gnd & MISO lines are juggled.
3. Ensure it shows “device connected” in atmel studio.