i get the following error when i try to upload the code, I have tried on 2 seperate PC's with similar resultavrdude: stk500_getsync(): not in sync: resp=0x00avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51I have the diydrones store FTDI cable, and i have made sure its connect the right way round with black closest to GPS, I have also downloaded and installed the latest FTDI drivers, aswell as setting the RTS setting as described on this postHere also my GPS isnt connected, I believe that the Arduino Duemilanova w/ATmega328 is the correct board to select form the arduino IDE menu since i only got my board a few days ago.I am pretty confused as to what else i am doing wrong? Any help will be appreciated
You need to be a member of diydrones to add comments!
I have followed through all of these steps and I am still getting the error, I am using the FTDI cable from diydrones store. I am also using the blue shield from the DIY store
I have tried uploading on my netbook (acer aspire one with XP) and my laptop with windows 7, and my desktop (AMD with windows 7) all with same results.
Well upon looking at my serial monitor i got gibberish at the baud of 9600 so i changed to 38400 baud and then it was in plain english.Would the problem be that since i set my baud rate on my USB settings at 9600, But i cant change it to match on the settings in device manager :( i can only get a similar rate.
here is my serial output
!!!LAT:0,LON:0,SPD:0.00,CRT:0.00,ALT:0,ALH:65535,CRS:0.00,BER:0,WPN:0,DST:0,BTV:0.28,RSP:0,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
+++ASP:2,THH:84,RLL:-60,PCH:-60,***
+++ASP:2,THH:84,RLL:-60,PCH:-60,***
!!!LAT:0,LON:0,SPD:0.00,CRT:0.00,ALT:0,ALH:65535,CRS:0.00,BER:0,WPN:0,DST:0,BTV:0.26,RSP:0,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
+++ASP:3,THH:84,RLL:-45,PCH:-60,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
!!!LAT:0,LON:0,SPD:0.00,CRT:0.00,ALT:0,ALH:65535,CRS:0.00,BER:0,WPN:0,DST:0,BTV:0.28,RSP:0,***
+++ASP:2,THH:84,RLL:-60,PCH:-60,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
!!!LAT:0,LON:0,SPD:0.00,CRT:0.00,ALT:0,ALH:65535,CRS:0.00,BER:0,WPN:0,DST:0,BTV:0.28,RSP:0,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
+++ASP:3,THH:84,RLL:30,PCH:-60,***
+++ASP:3,THH:84,RLL:45,PCH:-60,***
I have also tried resetting the board as soon as it is done compiling, but its not working either :(
I just find it wierd that since i baught a brand new board from sparkfun, and the sheild and other things from diydrones store it shoudl be at factory settings since i have never correctly uploaded code cuz every time i tried i have gotten an error message? but then why can the xyz sensors work, and GPS lock when i test on ground?
Alex,
are you using a shield? Before I started using a shield, I had to manually reset the ardupilot board as the sketch finished compiling. I knew to do this because when arduino first came out that's whatyou had to do. I believe that the Ardupilot board must be paired with a shield to do auto reset.
Look for the message 'done compiling' then immediately press reset. Try a few times to get the timing right.
Check your solder joints. Also, how are you powering the board? Are you getting the LED test sequence described in the manual for boards straight from the factory?
Replies
I have followed through all of these steps and I am still getting the error, I am using the FTDI cable from diydrones store. I am also using the blue shield from the DIY store
I have tried uploading on my netbook (acer aspire one with XP) and my laptop with windows 7, and my desktop (AMD with windows 7) all with same results.
Well upon looking at my serial monitor i got gibberish at the baud of 9600 so i changed to 38400 baud and then it was in plain english.Would the problem be that since i set my baud rate on my USB settings at 9600, But i cant change it to match on the settings in device manager :( i can only get a similar rate.
here is my serial output
!!!LAT:0,LON:0,SPD:0.00,CRT:0.00,ALT:0,ALH:65535,CRS:0.00,BER:0,WPN:0,DST:0,BTV:0.28,RSP:0,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
+++ASP:2,THH:84,RLL:-60,PCH:-60,***
+++ASP:2,THH:84,RLL:-60,PCH:-60,***
!!!LAT:0,LON:0,SPD:0.00,CRT:0.00,ALT:0,ALH:65535,CRS:0.00,BER:0,WPN:0,DST:0,BTV:0.26,RSP:0,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
+++ASP:3,THH:84,RLL:-45,PCH:-60,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
!!!LAT:0,LON:0,SPD:0.00,CRT:0.00,ALT:0,ALH:65535,CRS:0.00,BER:0,WPN:0,DST:0,BTV:0.28,RSP:0,***
+++ASP:2,THH:84,RLL:-60,PCH:-60,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
!!!LAT:0,LON:0,SPD:0.00,CRT:0.00,ALT:0,ALH:65535,CRS:0.00,BER:0,WPN:0,DST:0,BTV:0.28,RSP:0,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
+++ASP:3,THH:84,RLL:-60,PCH:-60,***
+++ASP:3,THH:84,RLL:30,PCH:-60,***
+++ASP:3,THH:84,RLL:45,PCH:-60,***
I have also tried resetting the board as soon as it is done compiling, but its not working either :(
I just find it wierd that since i baught a brand new board from sparkfun, and the sheild and other things from diydrones store it shoudl be at factory settings since i have never correctly uploaded code cuz every time i tried i have gotten an error message? but then why can the xyz sensors work, and GPS lock when i test on ground?
are you using a shield? Before I started using a shield, I had to manually reset the ardupilot board as the sketch finished compiling. I knew to do this because when arduino first came out that's whatyou had to do. I believe that the Ardupilot board must be paired with a shield to do auto reset.
Look for the message 'done compiling' then immediately press reset. Try a few times to get the timing right.