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.
Betaflight support for CF2.0
-
- Expert
- Posts: 153
- Joined: Mon Dec 28, 2015 3:23 pm
- Contact:
Re: Betaflight support for CF2.0
http://www.thejumperwire.com
Tips, tutorials, and science about DIY electronics, drones, and embedded software.
Tips, tutorials, and science about DIY electronics, drones, and embedded software.
-
- Member
- Posts: 51
- Joined: Wed Dec 17, 2014 12:56 pm
Re: Betaflight support for CF2.0
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,
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,
-
- Member
- Posts: 51
- Joined: Wed Dec 17, 2014 12:56 pm
Re: Betaflight support for CF2.0
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
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
-
- Expert
- Posts: 153
- Joined: Mon Dec 28, 2015 3:23 pm
- Contact:
Re: Betaflight support for CF2.0
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
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.
Tips, tutorials, and science about DIY electronics, drones, and embedded software.
-
- Member
- Posts: 51
- Joined: Wed Dec 17, 2014 12:56 pm