I have a problem using atmel studio 6.1.
Actually, I am just doing a very little programming to the MCU(Atmega 32) to let the LED blink.
I have connect everything(hardware) and test the wire. I have installed Winavr, avrdude and driver of usbasp.
Here is my step:
1) Open project in Atmel Studio 6.1 and create project(name: ledlightblink) with atmega 32.
2) Rebuild solution(the code is correct).
3) Copy the avrdude.exe to the debug folder of the project.
4) Run cmd, type:
avrdude -e -c usbasp -p m32 -U flash:w:ledlightblink.hex:i
However, errors occur.
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude:error:programm enable : target doesn't answer.1
I use a lot of time but still canot figure it out. In my friend’s PC, he can program it but in my notebook, it cannot(mine is window
Can you suggest me some ways to solve it. Thanks!!!