Error when burning bootloader - 8MHz, No crystal

Hi,
Im trying to burn bootloader to a brand new Atmega328-AU chip. I want to burn the 8MHz version using only internal clock (no crystal).

I have followed the guide here (https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard), but when trying to burn the bootloader I get this error message:

Arduino:1.8.8 (Windows 10), Kort"ATmega328 on a breadboard (8 MHz internal clock)"

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x15
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x15

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x14

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x01
avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0x10
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: stk500_disable(): unknown response=0x12
Feil oppstod under skriving av oppstartslaster.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I have checked the wiring, testet the cables, tried another Atmega328-AU chip, and tried to use another Arduino as the programmer.

This is how I connected the Arduion Nano to the new Atmega328-AU chips:

Anyone have any idea what the problem might be?
Im using the "breadboard-1-6-x.zip" bootloader files and the Arduino 1.8.8 version on my PC.

Poor setup. You have to connect:

  • all Vcc and GND pins,
  • it is nice to have decoupling capacitors .1uF, close to power pins,
  • the reset circuit must be, at least pull-up resistor cca 10k,
  • AREF via 0.1uF cap. to the GND.

+1 for poor setup.

This comprehensive tutorial clearly describes the minimum wiring and techniques necessary to program the ATmega328.

Budvar10:
Poor setup. You have to connect:

  • all Vcc and GND pins,
  • it is nice to have decoupling capacitors .1uF, close to power pins,
  • the reset circuit must be, at least pull-up resistor cca 10k,
  • AREF via 0.1uF cap. to the GND.

Thanks!
All VCCs and GND pins are connected (just not shown in the picture above).
I have tried with the 10K resistor, but that didtn work either, so I will try using the capacitors aswell.
Can the capacitors be > than 0.1uF? I have 0.1uF capacitors on order, and some 22nF capacitors laying around.

This is how I connected the Arduion Nano to the new Atmega328-AU chips:

I read again and, if you use Nano as programmer with Arduino v1.8.8, you have to connect cca 10uf capacitor between RESET and GND pins on Nano.

Budvar10:
I read again and, if you use Nano as programmer with Arduino v1.8.8, you have to connect cca 10uf capacitor between RESET and GND pins on Nano.

I just tried to add the following:

On the prgogrammer (Arduino Nano):

  • A 10K resistor between RESET and GND

On the new Atmega328-AU target chip:

  • A 0.1uF capacitor between AREF and GND
  • A 10K resistor between RESET and VCC
  • A 10uF capacitor between VCC and GND
    (All SMD components 0603/0805)

I still get the same error message. All connections are double checked.
Measuring 4.6v at the target Atmega328-AU VCC pins.

I also tried to unconnect all wires to the Atmega328-AU chip... still get the exact same error code.
As an alternative, can I solder the new Atmega328-AU chip to another Arduino Nano (switch the cips) and burn the bootloader that way (burning a 8MHz bootloader to the chip with the 16MHZ crystal and all that still on the board)?

HansiFansi:
As an alternative, can I solder the new Atmega328-AU chip to another Arduino Nano (switch the cips) and burn the bootloader that way (burning a 8MHz bootloader to the chip with the 16MHZ crystal and all that still on the board)?

You can do that. It's fine to run off the internal oscillator even with an external crystal connected.

HansiFansi:
I just tried to add the following:

On the prgogrammer (Arduino Nano):

  • A 10K resistor between RESET and GND

Wrong. It should be 10uF capacitor. We need to disable the the reset during bootloading by keeping the RESET high on the programmer. See the reply #4 again.

Budvar10:
Wrong. It should be 10uF capacitor. We need to disable the the reset during bootloading by keeping the RESET high on the programmer. See the reply #4 again.

My mistake. I will try to change this and try again. Thanks!