I'm working on a ATMega168 version of Ardupilot. I have added the airspeed sensor shield. As far as I can tell (from the leds and voltmeter readings) I have put it together properly. Today I downloaded Ardupilot software version 2.1.2. I did modify the constant definition "SHIELD_ENABLE to 1. Then I uploaded the code using Arduino-15. Because I have the shield I did not disconnect my EM406 GPS.
The upload was unsuccessful and the Arduino IDE stopped responding. I tried again while observing the 3.3V and blue GPS leds on the shield. When the upload started, the leds went off as they should. However they almost immediately came on again, indicating that the GPS was powered up-not good during uploading.
So then I disconnected the GPS and uploaded again. This time the 3.3V led went off and stayed off while the upload was in progress, as it should. The upload was successful.
Then I tried the Arduino-16 IDE with similar results. The only difference was that the Arduino-16 response was a lot of red error messages when I tried uploading with the GPS connected. With the GPS disconnected, the upload was successful.
I think that I might have discovered why I, like many others, could not perform the I/O upload with the GPS connected.
Since I had exhausted all of the usual electrical design issues without any success, I decided to tackle this issue from a S/W point of view. I had been using FTDI drivers that I had downloaded from the Parallax website over two years ago. Well alot can change in a few years especially with S/W. So I went back to the Parallax website and downloaded the latest FTDI drivers (2.04.16). After installation, I was able to I/O upload Ardupilot 2.2.3 with the GPS connected using the Adafruit FTDI cable.
Therefore, I suggest that for everyone having the I/O upload problem with the GPS connected, try updating the FTDI drivers on your PC as it might resolve this issue for you.
Also, I noticed one instance where the I/O upload did not appear to start as the red power light did not go off, however I did not get a failed to upload message after a minute, so I hit the Arudpilot reset switch and the I/O upload proceeded to complete with the red power light going off then on once I got the IDE upload complete message.
Tom, that's a good suggestion. We're always using the latest drivers, and had assumed everyone else was, too. But may that wasn't the case. I've updated the FTDI debugging tips to include this.