Propblem with Avr USBasp !

Discussion in 'Embedded Systems and Microcontrollers' started by MohamedSaa3d, Mar 11, 2014.

  1. MohamedSaa3d

    Thread Starter New Member

    Feb 16, 2014
    13
    0
    i made a new usbasp with ATmega8 and when i connect it to my lap and read it i got that error

    " error: programm enable: target doesn't answer. 1 "

    [​IMG]

    then i connected pin 25( slow clock) to GND and still not working :confused:
     
  2. sirch2

    Well-Known Member

    Jan 21, 2013
    1,008
    351
    Did you use the latest firmware? What does the full verbose output from AvrDude say? Have you checked all your connections?

    Have you checked all your connections again?

    Have you checked all your connections one last time?
     
    Last edited: Mar 11, 2014
  3. praveen130789

    New Member

    Mar 11, 2014
    3
    0
    How did you program the Firmware to Atmega 8 microcontroller?? I think the firmware is not properly dumped into atmega 8..
    post the schematic which you have used for avr usbasp
     
  4. MohamedSaa3d

    Thread Starter New Member

    Feb 16, 2014
    13
    0
    it's worked and back to the error again -_- and the voltage between VCC-GND at the target device = 5v !!
     
  5. MohamedSaa3d

    Thread Starter New Member

    Feb 16, 2014
    13
    0
    i attached the schematic and the board + i connected pin 25 to GND later
     
  6. sirch2

    Well-Known Member

    Jan 21, 2013
    1,008
    351
    A quick google suggests that an atmega8 might have speed issues in this application but I guess that is why you are grounding Pin 25.

    What version of the firmware? Have you checked all your connections for continuity?
     
  7. MohamedSaa3d

    Thread Starter New Member

    Feb 16, 2014
    13
    0
    i grounded Pin 25 (Jumper 3 in the schematic ) to get it in the slow clock as i found many suggestions to do that

    firmware " usbasp.2011-05-28.tar.gz "
    here >> http://www.fischl.de/usbasp/
     
  8. MohamedSaa3d

    Thread Starter New Member

    Feb 16, 2014
    13
    0
    and i checked all tracks -_-
     
  9. sirch2

    Well-Known Member

    Jan 21, 2013
    1,008
    351
    So when you say it worked, did it actually program a chip or did avrdude just detect the presence of the programmer?
     
  10. MohamedSaa3d

    Thread Starter New Member

    Feb 16, 2014
    13
    0
    when i connect the programmer to the laptop it's play a sound that mean usb is work but when i trying to burn a code the error appear but while i was trying to read it that's appear

    [​IMG]

    then i burned a code

    after a few minutes it's back again with error -_- !!
     
  11. kubeek

    AAC Fanatic!

    Sep 20, 2005
    4,670
    804
    The last error shows that you are programming a different chip than the programmer is told to, but it should generally work.
    If it sometimes works and sometimes not you got a bad connection somewhere, or way too long wires between the prorgrammer and the target chip, try staying less than 20-30cm.
     
Loading...