Betaflight support for CF2.0

Firmware/software/electronics/mechanics
theseankelly
Expert
Posts: 153
Joined: Mon Dec 28, 2015 3:23 pm
Contact:

Betaflight support for CF2.0

Post by theseankelly »

Hi Forum -- I'm pleased to announce preliminary support for the CF2.0 in the Betaflight FC firmware.

I started working on this as part of my side project to improve stability/performance of the crazyflie. I realized I don't have a great baseline or metric to compare against, so I decided to see how the same hardware handles using the "state-of-the-art" flight controller software.

This isn't intended to ever replace the Crazyflie OS -- for example, things like OTA logging, OTA parameter updating, the loco positioning system and all other expansion decks will likely never be supported.

I *will* be supporting the BigQuad expansion deck soon, though, since this effort is likely most interesting to those who do FPV flying and are already familiar with the Betaflight/Cleanflight/Baseflight ecosystem.

For more details, read the wiki: https://wiki.bitcraze.io/misc:hacks:betaflight

Sean
http://www.thejumperwire.com
Tips, tutorials, and science about DIY electronics, drones, and embedded software.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Betaflight support for CF2.0

Post by tobias »

Great work Sean! I will try it out as soon as I get a chance!
theseankelly
Expert
Posts: 153
Joined: Mon Dec 28, 2015 3:23 pm
Contact:

Re: Betaflight support for CF2.0

Post by theseankelly »

Support is now official -- changes have been merged in to the Betaflight and Cleanflight codebases (with iNav coming soon).
http://www.thejumperwire.com
Tips, tutorials, and science about DIY electronics, drones, and embedded software.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Betaflight support for CF2.0

Post by tobias »

Awesome!
hittstick
Beginner
Posts: 27
Joined: Thu Apr 06, 2017 7:26 am

Re: Betaflight support for CF2.0

Post by hittstick »

This is amazing! Well done!
theseankelly
Expert
Posts: 153
Joined: Mon Dec 28, 2015 3:23 pm
Contact:

Re: Betaflight support for CF2.0

Post by theseankelly »

Hey forum

Another update - Betaflight 3.2 was officially released this month. This is the first release that contains the Crazyflie 2.0 target by default, so you don't need to clone and build from source anymore. It's available as a target in the betaflight configurator from the google chrome store! I've tested it out and it works as expected. Haven't tested the BigQuad variant, but that's also available in the app by default.
http://www.thejumperwire.com
Tips, tutorials, and science about DIY electronics, drones, and embedded software.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Betaflight support for CF2.0

Post by tobias »

Great!
Call_me_a_Cab
Member
Posts: 51
Joined: Wed Dec 17, 2014 12:56 pm

Re: Betaflight support for CF2.0

Post by Call_me_a_Cab »

Hey Forum, I flashed my CF2 with Betaflight over USB DFU but the firmware doesn't seem to run (error light flashes 4 times on boot)

I used betaflight 10.1.0 on windows 10 and tried all the available releases but the same result, anyone seen this error?

Cheers,
theseankelly
Expert
Posts: 153
Joined: Mon Dec 28, 2015 3:23 pm
Contact:

Re: Betaflight support for CF2.0

Post by theseankelly »

Which version of the betaflight firmware? (10.1.0 is the configurator, right?)

I haven't seen this error but I haven't tried moving past Betaflight 3.2 just yet. I'll grab 10.1.0 and try it out later today.
http://www.thejumperwire.com
Tips, tutorials, and science about DIY electronics, drones, and embedded software.
Call_me_a_Cab
Member
Posts: 51
Joined: Wed Dec 17, 2014 12:56 pm

Re: Betaflight support for CF2.0

Post by Call_me_a_Cab »

Hey man,

I tried 3.2.4 first....

tried all 5 releases after that but no joy

My workflow:

I've installed the Zadig win driver for the stm32 in DFU

I remove the battery from CF2 hold the power button & plug in usb, hold until in flashes faster ~3-5Hz. open Betaflight, choose no reboot, load firmware and flash.

It seems to work but the flie won't boot


*edit: the first time I forgot to check “erase full chip” I have done that every time since though.

Thank you for any assistance all 👍

thanks
Post Reply