avrdude returns while burning bootloader

Hello All,

I am trying to burn a bootloader via an arduino TQFP32 which already as the Arduino ISP loaded into it. Wiring are as follows

Master SLAVE

MOSI -> MOSI
MISO -> MISO
SCK -> SCK
RESET -> To reset via 0.1uf cap (RST pin in schematic)
VCC -> VCC
GND -> GND

here is the verbose error log
Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"
C:\Users\georget\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9/bin/avrdude -CC:\Users\georget\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9/etc/avrdude.conf -v -patmega328p -cstk500v1 -PCOM12 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53

  • Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/*
  • Copyright (c) 2007-2014 Joerg Wunsch*
  • System wide configuration file is "C:\Users\georget\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9/etc/avrdude.conf"*
  • Using Port : COM12*
  • Using Programmer : stk500v1*
  • Overriding Baud Rate : 19200*
  • AVR Part : ATmega328P*
  • Chip Erase delay : 9000 us*
  • PAGEL : PD7*
  • BS2 : PC2*
  • RESET disposition : dedicated*
  • RETRY pulse : SCK*
  • serial program mode : yes*
  • parallel program mode : yes*
  • Timeout : 200*
  • StabDelay : 100*
  • CmdexeDelay : 25*
  • SyncLoops : 32*
  • ByteDelay : 0*
  • PollIndex : 3*
  • PollValue : 0x53*
  • Memory Detail :*
  • Block Poll Page Polled*
  • Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack*
  • ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------*
  • eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff*
  • flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff*
  • lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00*
  • hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00*
  • efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00*
  • lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00*
  • calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00*
  • signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00*
  • Programmer Type : STK500*
  • Description : Atmel STK500 Version 1.x firmware*
    avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x10
    avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x02
    avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x10
    avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x04
  • Hardware Version: 4728160*
  • Firmware Version: 0.4598883*
    avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x01
    avrdude: stk500_getparm(): (a) protocol error, expect=Error while burning bootloader.
    0x14, resp=0x10
  • Vtarget : 420030.5 V*
  • Varef : 199919366.4 V*
  • Oscillator : 3.686 MHz*
  • SCK period : 0.1 us*
    avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00
    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(): protocol error, expect=0x14, resp=0x00
    avrdude done. Thank you.

figured it out. A reset pin from the Master was missing.