EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / connecting an avr microcontroller with a usb avr programmer

connecting an avr microcontroller with a usb avr programmer

|

Microcontroller › AVR › connecting an avr microcontroller with a usb avr programmer

  • This topic has 1 reply, 2 voices, and was last updated 12 years, 6 months ago by Karthikeyan.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • September 25, 2012 at 8:56 am #1967
    ravi kumar burnwal
    Participant

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

    December 25, 2012 at 2:51 pm #8876
    Karthikeyan
    Participant

     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.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • More fun with ws2812 this time XC8 and CLC July 17, 2025
  • Pic18f25q10 osccon1 settings swordfish basic July 16, 2025
  • Pickit 5 July 16, 2025
  • turbo jet fan - feedback appreciated. July 16, 2025
  • I Wanna build a robot July 16, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise