avrdude Timeout with ESP8266AVRISP

im trying to flash an arduino over spi. everything is wired correctly. the arduino does not reset when i initiate programming with avrdude. avrdude just prints timeout. however in the debug console on the esp i can confirm it received my request but nothing happens. Anyone know whats going on?

You haven't connected the RESET pin of the Arduino correctly?

BJHenry:
You haven't connected the RESET pin of the Arduino correctly?

I have connected it right. i can perform a reset in the code without issue its only when i try to flash the sketch. I even verified all my connections with a multimeter to confirm they are working.

To rule out possibilities i am now trying this with a arduino nano/due and when i run the command i get multiple different devices id's each time i try to flash its one or the other and the reset never happens?

C:\Users\User\Desktop\new firmwares\doseModule1\doseModule1>avrdude -C avrdude.conf -p atmega328p -c arduino -P net:10.0.0.143:328 -b57600 -V -U flash:w:"doseModule1.ino.standard.hex:i" -D -F
avrdude: ser_drain(): read error: The parameter is incorrect.

avrdude: ser_drain(): read error: The parameter is incorrect.

avrdude: ser_drain(): read error: The parameter is incorrect.



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

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x10
avrdude: stk500_initialize(): (b) protocol error, expect=0x10, resp=0x01
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x6d3438
avrdude: Expected signature for ATmega328P is 1E 95 0F
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x10

avrdude done.  Thank you.