Making DIY “Arduino”

Try adding a capacitor between RESET and GND on the programmer Arduino.