I got some PCBs back from a chinese manufacturer with an atmega328P-AU on it. I tried to flash it via ICSP connection with an USBasp using AVRdudess. The problem is that I can't detect the chip or get the fuses nor flashing a hex file.
All connections between the programmer and the virgin chip are ok.
Another DIP version 328P-PU works perfect.
: avrdude -u -c usbasp -P usb -B 0.5 -p m8
WARNING: Unable to detect MCU
avrdude.exe: set SCK frequency to 1500000 Hz
avrdude.exe: error: program enable: target doesn't answer. 1
avrdude.exe: initialization failed, rc=-1
Double check connections and try again, or use -F to override
avrdude.exe done. Thank you.
Any recommendations are welcome.