I am trying to connect my atmel atmega8 with usbasp (V0.2) to my PC. I follow this tutorial (http://www.protostack.com/blog/2009/07/atmega8-breadboard-circuit-part-1-of-3-power-supply)this tutorial to connect my atmega to usbasp. I
I have a 6-pins connector:
o MISO o VCC
o SCK o MOSI
o RESET o GND
o MISO o VCC
o SCK o MOSI
o RESET o GND
Once I connect my usb to my PC, led turns on, and in Control Panel (win7) I see "libusb-win32 devices". After having compiled main.c with winAVR "make" command, if I try to use "make program" command or I write in cmd this:
avrdude -p atmega8 -P m8 -c usbasp -U flash:w:main.hex
system tells me:
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connection and try again, or use -F to override this check
How can I solve this problem?