I am trying to burn the bootloader on a blank Atmega328p-pu chip with an AVRISP MKii. But when I try to write the bootoader with the arduino IDE it gives the following error:
avrdude: Expected signature for ATMEGA328P is 1E 95 0F Double check chip, or use -F to override this check.
Somtimes it gives the following error:
avrdude: Yikes! Invalid device signature. Double check connections and try again, or use -F to override this check.
I tried to read the signature of the chip in avrstudio and it there it says it matches with 1E 95 0F
What could be the solution to this?