PA3040

  • *
  • 10
Cleanflight to LibrePilot
« on: January 07, 2020, 08:53:52 pm »
Dear All Have a nice day

I have CC3D Evo FC It is worked with LibrePilot . Yesterday I upload Candlelight  Firmware to CC3D using FTDI and it is working with Candlelight  . Now I need to connect LibrePilot but I cannot please advice how to re installed LibrePilot firmware

Thanks in advanced

Re: Cleanflight to LibrePilot
« Reply #1 on: January 08, 2020, 04:24:28 am »
You need bootloader first, then firmware.

It is possible that you have a (possibly old) bootloader already installed.  Go here and try this first because it is easier.  You need the section titled "Bootloader + firmware update example".  You can either search for that section or refresh the page (click in web address and press enter works best) if it doesn't take you to the correct section:
https://librepilot.atlassian.net/wiki/spaces/LPDOC/pages/5669026/Firmware+Tab#FirmwareTab-Bootloader+firmwareupdateexample

If that doesn't work then here are other ways.

If the setup you have running can flash hex files then go here to get a hex bootloader to install with your current setup:
https://forum.librepilot.org/index.php?topic=1384.msg27112#msg27112

If you don't have a way to flash the bootloader with your current setup then go here for instructions to flash the hex bootloader you got from the previous link:
https://web.archive.org/web/20190701124058/http://www.southquay3d.com/index.php?route=news/article&news_id=9

After that you have a bootloader flashed.  Download and install the LibrePilot GCS that works on your version of PC, then go here to install the firmware onto the CC3D.  You need the section titled "Manual method".  You can either search for that section or refresh the page if it doesn't take you to the correct section:
https://librepilot.atlassian.net/wiki/spaces/LPDOC/pages/5669026/Firmware+Tab#FirmwareTab-Manualmethod


If you still have problems, post back and tell us what the LEDs look like:
https://librepilot.atlassian.net/wiki/spaces/LPDOC/pages/5669026/Firmware+Tab#FirmwareTab-Ledbehavior

PA3040

  • *
  • 10
Re: Cleanflight to LibrePilot
« Reply #2 on: January 09, 2020, 06:12:08 am »
Dear Sir While thanking for grate solution I came to this step

I connected CC3D successfully to STEM flashloader demo  and installed bl_cc3d.bin successfully and blue led is lighting up and then connected to Librepilot and upload bu_cc3d.opwf firmware in rescue mode and clicked the boot button the following information shows

copter Control
DeviceID:402
HW Revisson :2
BL version :4
Max Code size 118684

below is showing firmware dare 2012/06/20

The led Blinking patter is normal that is same as working CC3D and I test with my another working CC3D


Serial port also showing
but it does not connect to the Librepilot
I used Manual Methord
Finally I clicked update & Erase button then connect the FC on LF then uploading firmware bar is going successfully and please wait massage long time and time out occur 

Please advise
 
« Last Edit: January 09, 2020, 06:23:27 am by PA3040 »

Re: Cleanflight to LibrePilot
« Reply #3 on: January 09, 2020, 06:20:27 am »
You now have a working bootloader so you just need to install firmware that matches your GCS.

After that you have a bootloader flashed.  Download and install the LibrePilot GCS that works on your version of PC, then go here to install the firmware onto the CC3D.  You need the section titled "Manual method".  You can either search for that section or refresh the page if it doesn't take you to the correct section:
https://librepilot.atlassian.net/wiki/spaces/LPDOC/pages/5669026/Firmware+Tab#FirmwareTab-Manualmethod

PA3040

  • *
  • 10
Re: Cleanflight to LibrePilot
« Reply #4 on: January 09, 2020, 06:41:45 am »
Dear Sir Thanks for prompt reply

I when thought the Manual Method and it is uploading the  firmware but it does not reboot and not ready . Little time ,time out massage is coming

please advice
« Last Edit: January 09, 2020, 03:54:06 pm by PA3040 »

Re: Cleanflight to LibrePilot
« Reply #5 on: January 09, 2020, 08:43:41 am »
Sometimes the USB cable is not good enough.  Sometimes USB power is not good enough.  Maybe try a different computer and USB cable if you can.

It is important to follow instructions and UNPLUG USB, then click button on GCS, then plug in USB.

Try this:
- unplug USB
- go to Firmware page and click Rescue button
- THEN plug in USB
- then add battery power such as ESC with battery, plug the ESC servo connector to one of the servo pin sets on FC
- then click "Upgrade and Erase" or maybe try "Flash" also

PA3040

  • *
  • 10
Re: Cleanflight to LibrePilot
« Reply #6 on: January 18, 2020, 06:15:01 am »
Dear Sir

I did the steps that you have point out, Bit it did not success , and I have a another working CC3D FC which is working perfectly even USB power . 

Please advice to recover fault CC3D

Thanks in advanced

Re: Cleanflight to LibrePilot
« Reply #7 on: January 18, 2020, 07:38:41 am »
What operating system are you using?  Windows, MacOS, Linux?

Does CC3D connect to GCS when you plug in USB?

If CC3D does not connect to GCS, try this:
- unplug CC3D from USB
- go to Firmware page and press Rescue
- plug CC3D into USB as it asks
- press Safe Boot
- does it connect now when it did not connect before?

PA3040

  • *
  • 10
Re: Cleanflight to LibrePilot
« Reply #8 on: January 18, 2020, 07:14:08 pm »
I am using Windows 10

Quote
Does CC3D connect to GCS when you plug in USB?

Yes it is connected to GCS in DFU mode

I can upload firmware successfully using Rescue mode

Only issue is  CC3D does not re boot and time out is showing

I am using 2013 / 05 /28 firmware

How can I download 2015 firmware some time it may be boot

Please advice

« Last Edit: January 18, 2020, 07:40:47 pm by PA3040 »

Re: Cleanflight to LibrePilot
« Reply #9 on: January 19, 2020, 04:32:32 am »
You should be using LibrePilot 16.09 (or LibrePilot next).

librepilot.org has a download link.

PA3040

  • *
  • 10
Re: Cleanflight to LibrePilot
« Reply #10 on: January 19, 2020, 05:08:30 am »
Sir
I am using 16.09 already

Can you please advice the location of firmware once 16.09 installed

Re: Cleanflight to LibrePilot
« Reply #11 on: January 20, 2020, 07:41:17 am »
I am using 2013 / 05 /28 firmware

How can I download 2015 firmware some time it may be boot

I am using 16.09 already

I am uncertain about what version you are using.  GCS version MUST match firmware version.  You must use bootloader version 4.

Firmware is built into GCS and GCS knows how to use it.  Use the following instructions to download known AUTHENTIC bootloader version 4, then install bootloader then install firmware.

Go here and try this first because it is easier.  You need the section titled "Bootloader + firmware update example".  You can either search for that section or refresh the page (click in web address and press enter works best) if it doesn't take you to the correct section:
https://librepilot.atlassian.net/wiki/spaces/LPDOC/pages/5669026/Firmware+Tab#FirmwareTab-Bootloader+firmwareupdateexample
« Last Edit: January 20, 2020, 07:36:07 pm by TheOtherCliff »