Reset PIN issue with Mega 2560 PRO & HC-05

Hello all,

I'm trying to set up a Mega 2560 PRo with an HC-05 Bluetooth module for remote programming. I have got all this to work on my Arduino Mega 2560 R3 with no issues at all and all works fine.

If I move the HC-05 over to the Mega Pro I'm unable to upload anything to the board via PC USB or Bluetooth while I have the HC-05 STATE pin connected to Reset via a 1uF capacitor exactly as I did with the the Arduino Mega 2560 R3 that worked.

If I remove the capacitor from the circuit and connect State Directly to Reset then I am able to upload via PC USB. But unable to upload a sketch via Bluetooth.

I've confirmed its the State pin issues as i am able to use the Mega Pro to program the HC-05 via AT commands.

Any ideas?

Code, Same for Any code i try to upload

void setup()
{
  Serial.begin(115200);
  Serial1.begin(38400);
}
 
void loop()
{\
  if (Serial1.available())
  {
    Serial.write(Serial1.read());
  }
  if (Serial.available())
  {
    Serial1.write(Serial.read());
  }
}

Error:
ketch uses 2226 bytes (0%) of program storage space. Maximum is 253952 bytes.
Global variables use 341 bytes (4%) of dynamic memory, leaving 7851 bytes for local variables. Maximum is 8192 bytes.
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avrdude -CC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM6 -b115200 -D -Uflash:w:C:\Users\vj4\AppData\Local\Temp\arduino_build_631444/Bluetooth_card.ino.hex:i

avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf"

Using Port : COM6
Using Programmer : wiring
Overriding Baud Rate : 115200
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude done. Thank you.

An error occurred while uploading the sketch