The utility was written in Visual C#. I hope somebody familiar with C# is able to test the code in his failing setup and figure out the problem, nothing else, please don't ask me about of how integrate this code to another project because certainly I'm not an expert in C#. This code is intended for dudes that really have a basic knowledge in programming and believe can help. Just remember this code works perfectly in my PC, running Vista and using the Official FTDI cable.ArdupilotConfigTool.zip
Jordi,
Thanks for posting the source. I changed the function restart_Ardupilot in form.cs to the following, and now both of my FTDI cables work properly - I have a 5V sparkfun cable and a the TTL-232R-3V3 cable. I didn't mess around with different delays too much. I imagine the delay could be shorter and would still work.
I've attached an executable with this fix in it. If you are having problems uploading, please test and report back.
Just a note from following the discussion in other threads: if you're having trouble with your setup, check the following:
--Double-check your solder joints with a continuity checker, especially if you're using round pin connectors
--Make sure you're using the latest FTDI drivers
--Try it without the GPS connected.
Comments
Thank you very much!. =)
Thanks for posting the source. I changed the function restart_Ardupilot in form.cs to the following, and now both of my FTDI cables work properly - I have a 5V sparkfun cable and a the TTL-232R-3V3 cable. I didn't mess around with different delays too much. I imagine the delay could be shorter and would still work.
I've attached an executable with this fix in it. If you are having problems uploading, please test and report back.
private void restart_Ardupilot()
{
serialPort1.Open();
serialPort1.DtrEnable = true; //Restarts ardupilot
serialPort1.RtsEnable = true;
Thread.Sleep(1000);
serialPort1.DtrEnable = false;
serialPort1.RtsEnable = false;
serialPort1.Close();
}
ArduPilotConfigTool_Fix1.zip
--Double-check your solder joints with a continuity checker, especially if you're using round pin connectors
--Make sure you're using the latest FTDI drivers
--Try it without the GPS connected.
-
1
-
2
-
3
of 3 Next