Hi!
I purchased a clone USB Asp programmer from aliexpress.
Using it on a ATMEGA328P - PU throws the following error:
avrdude: auto set sck period (because given equals null)
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: program 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.
Failed chip erase: uploading error: exit status 1
Did you also try with a jumper on JP3? That will force it into low speed mode.
That sometimes helps me if I have a low clocked part that first needs it's fuses set.
The adapter in this case is keyed, I also have a power led on the board that I am using to program these chips. So if the header isn't plugged in correctly, there is no power.