Atmega 328P Standalone Microcontroller


I am trying to use the chip without an external oscillator. But I am not able to upload the bootloader

This is the guide that I am following in order to program my chip:

This is what the error says:

avrdude: Yikes! Invalid device signature. Double check connections and try again, or use -F to override this check.

Error while burning bootloader.

Does anybody know how to fix this issue? I am using Arduino 1.8.3 on Windows 10.


Please do this:

  • Tools > Preferences > Show verbose output during: > upload (check) > OK
  • Tools > Burn Bootloader
  • After the process fails you’ll see a button on the right side of the orange bar “Copy error messages”. Click that button.
  • Paste the error messages in a reply here USING CODE TAGS (</> button on the toolbar).

The message "avrdude: Yikes! Invalid device signature." means in 90% of cases incorrect wiring especially if the signature is read as 0x000000, so double check your connections.

I am trying to use the chip without an external oscillator

If the chip is configured to use an external clock(much likely to be) removing it will not make it run unless you program the internal fuses with a working crystal to use the internal oscillator. Only then you can remove the external crystal and eventually upload a new bootloader. Use this to calculate the fuses and then burn it into the chip using avrdude in command line


  1. That stupid tutorial omits a critical component required for reliable operation. You need a 0.1uf ceramic cap between Gnd and Vcc, and between Gnd and AVcc, right next to the chip. Without these caps, it may fail to program, or may program successfully, but reset or hang unexpectedly in operation, often in response to things like driving an external load.

  2. hugo007 has outlined the reason you are having problems programming it (most likely)

  3. When working with standalone atmega, particularly without external crystal, your life will be easier if you use minicore - it has all the board defs ready for you.