Betaflight support for CF2.0

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

Re: Betaflight support for CF2.0

Post by theseankelly » Fri Feb 02, 2018 2:25 am

Hey thanks for the details. Sorry for the delay; busy week.

Unfortunately, this doesn't repro for me, using your workflow (and 10.1.0).

The four-blinks after boot is an error code, which indicates "FAILURE_ACCEL_INCOMPATIBLE". According to the code, this error triggers based on a revision check for the MPU6050 IMU. I don't have an explanation for why betaflight is picking up your IMU as the MPU6050 instead of an MPU6500. The crazyflie 1.0 has an MPU6050 on it and so I have to ask the sanity check question: Are you sure this is a Crazyflie 2.0 and not 1.0?

Let me think through other ways to diagnose this and get back to you.


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 » Tue Feb 06, 2018 11:39 am

Hi Sean, thanks for the reply.

Yeah man, it's a CF2, I'll post the console log from stock firmware later and try to make a video of the error after flashing betaflight software too.

Cheers,

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 » Wed Feb 07, 2018 10:27 pm

This is my console output...

Now i'm really confused, Should I have a MPU 6500 and I actually have a 9250?

The bitcraze guys were awesome and worked with me a bit to sort out a some problems I had so it's possible I have a slightly different board but I'm not too sure?

YS: ----------------------------
SYS: Crazyflie 2.0 is up and running!
SYS: Build 0:6ee723ad1144 (2018.01.1) MODIFIED
SYS: I am 0x31323832313347153A002F and I have 1024KB of flash!
CFGBLK: v1, verification [OK]
DECK_DRIVERS: Found 11 drivers
DECK_INFO: Found 0 deck memory.
DECK_CORE: 0 deck enumerated
MPU9250 I2C connection [OK].
AK8963 I2C connection [OK].
LPS25H I2C connection [OK].
ESTIMATOR: Using estimator 1
EEPROM: I2C connection [OK].
AK8963: Self test [OK].
SYS: Free heap: 20760 bytes

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

Re: Betaflight support for CF2.0

Post by theseankelly » Wed Feb 07, 2018 10:47 pm

No, that's correct. You should have a 9250. The 9250 is actually the 6500 plus a mag so betaflight treats it as a 6500.

I'll stare at the code a bit more.

A video of the lights (error code) would be helpful too if possible.

Sean
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 » Fri Feb 09, 2018 6:18 pm

https://youtu.be/nRUa2b3UsYg

Video of error code :)

Post Reply