Not able upload the sketch when i connect the arduino Mega 2560 to USB shield

Hi Guys,

I am facing problem in uploading the sketch when i connect the USB host shield to Arduino Mega It is giving some timeout error as below.
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
An error occurred while uploading the sketch

When i disconnect and upload the same, it is working fine.
I checked the reset port, the voltage is dropping to 1.7v when the USB host is connected.
could any body help on this.

Thank you.

That is normal behaviour. The shield is connected to pins D0 & D1 which are also used when programming the Arduino.

I use a USB host shield (Keyes) with a Mega 2650 and it works fine. There is no need to remove the shield to upload new code. USB does not use the UART pins. Be sure the boards are aligned correctly. The USB shield accesses the SPI pins via the ICSP (2x3 header) connector.