USBasp gets no connection to atmega328P-AU

Hi,

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
this check.

avrdude.exe done. Thank you.

Any recommendations are welcome.

For a start, you have the wrong part selected.

Please post a schematic of your board.

1 Like

It works now. Frequency was to high. With 97.5 kHz everything is fine.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.