If you're trying to upload code with Arduino and you get this error message:
"Problem uploading code.....
avrdude: stk500_getsync(): not in sync: resp=0x78
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x78"
Here are six things to check.
1) Is your FTDI cable plugged in the right way? The black wire or side marked "black" should be on Blimpduino's BCK pin.
2) Did you select "Arduino Pro or Pro Mini (8 Mhz)" as the board in the Arduino Tools menu?
3) Are you using the DIY Drones FTDI
cable or Sparkfun board
? We've had trouble with other ones...
4) Is the Blimpduino board powered on with a battery? (You can NOT power it from the FTDI cable; this is a safety measure to avoid power conflicts.)
5) The board is set up to auto-reset when you load a sketch with the FTDI cable, so you don't have to manually press the reset button to get the bootloader. If that's not working for you, check the RTS setting in your PC's port settings ("Set RTS on close" should be checked) as described here
If those all look fine and you're still getting the error message (especially if you can successfully load code to other Arduino boards), you may have a corrupted ArduPilot bootloader or some hardware problem. This tutorial
will show you how to reload the bootloader.
Other problems can include "Serial port not found" (just check that you've selected the right serial port in the Tools menu. It's the one assigned when you first plugged in the FTDI cable--probably 5 or higher), and the Arduino IDE freezing (try unplugging the FTDI cable. If that doesn't work, just reboot you computer).