Problem trying to burn bootloader in arduino

Hello.

I’m new in this forum

I have problems trying to burn bootloader in a new Atmega328

I following 2 ways. With normal connection between to boards using digital pins (8-10) and with ICSP pins

I have the same problem.

After few seconds i can read the next lines.

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

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

Someone can help me?

How are you preventing auto-reset on the UNO being used as a programmer? I use a 1 to 10 microfarad capacitor between Reset (+) and Gnd (-).

johnwasser:
How are you preventing auto-reset on the UNO being used as a programmer? I use a 1 to 10 microfarad capacitor between Reset (+) and Gnd (-).

It’s works, thank