If you're trying to upload code with Arduino and you get an error message that looks something like this:
"Problem uploading code.....
avrdude: stk500_getsync(): not in sync: resp=0x78
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x78"
(or any other error report when uploading code, aside from the obvious ones like compile errors or choosing the wrong serial port)
Here are the most common causes and things to check.
Additional things to check if you're using the original ArduPilot board (not ArduPilotMega):
Comment by Addy on January 21, 2012 at 8:22am I got the same issues while compiling. all the steps were followed as it should be for the library. anyone know please help me out.
Comment by John Lundberg on January 21, 2012 at 9:57am Is there a setting for the config file to turn on the HUD in Mission Planner? The manual states that the code can be loaded via mission planner or arduino. When I use Mission Planner for the download the HUD works fine. When I download via arduino the HUD is not active.
Please help.

Addy: what code are you trying to compile?
Comment by John Lundberg on January 23, 2012 at 1:04pm Still Looking...
Does anyone know how to get the HUD to function in the Mission Planner when compiling and uploading with Arduino
Comment by Sravan Kumar on March 14, 2012 at 12:34pm Hi, Im using ArduIMU V3 . When Im uploading latest firmware ArduIMU 1.9 im getting these errors below :
conflicting return type specified for 'virtual void FastSerial::write(uint8_t)'
As of Arduino 1.0, the Wire.receive() function was renamed to Wire.read() for consistency with other libraries.
Please help me solve this error while uploading firm ware to board
Comment by Jean-Philippe Hell on April 2, 2012 at 2:54am Hi everyone,
Does anybody work on Linux with Arduino ? I am trying to compile the 2.5.3 ArduCopter with Arduino 1.0 on Ubuntu (don't have any Windows setup) but it doesn't work.
I can't find the Arduino 022 with the DIY Drones patch for Linux.
Thanks
Jean-Philippe Hell
Comment by al on April 18, 2012 at 11:59pm hello,
I'm having problems compiling the firmware in ARduino. I believe I followed all the instructions in the manual. I tried several versions and several Arduinos and I always get this error:
AP_Var not defined in AP_Var.cpp
Haven't looked much through the code because I believe it should compile in the first run since I didn't modify anything.
Anyone know what might be the issue?
Thank you
Hi all,
I am using the latest Arduino and trying to compile Arduplane 2.50, and kept getting a compile error related to the Pins_Arduino.h and Arduino.h files which had the same prototypes and function declations for:
---------------------------
extern const uint16_t PROGMEM port_to_mode_PGM[];
#define portModeRegister(P) ( (volatile uint8_t *)( pgm_read_word( port_to_mode_PGM + (P))) )
-----------------------------
plus around 6 other related declarations.
This caused an error: "previous declaration of 'const uint16_t port_to_mode_PGM" compile error.
I got around it by commenting out the duplicated entries in the pins_arduino.h file and it compiled OK.
This seems odd that I had to do this. What am I doing wrong????
Steve
Comment by John Campen on August 6, 2012 at 10:29am I also found out that in Win 7 you must set the Arduino execution file to run as administrator. Otherwise it wont upload the code and will give an error.
Comment by Babis HatziIoannou on November 2, 2012 at 9:02am i cant downgrade apm1 to fly my quad again i tried with arduino software but nothing
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.203 members
24 members
207 members
58 members
1355 members
© 2013 Created by Chris Anderson.
Powered by

You need to be a member of DIY Drones to add comments!
Join DIY Drones