Crazyflie 2 board fails POST out of box.

Post here to get support
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Crazyflie 2 board fails POST out of box.

Post by tobias »

@moejetz Seems like a soldering issue with the pressure sensor LPS25H. I sent you a PM
z506
Beginner
Posts: 5
Joined: Tue Feb 16, 2016 5:01 am

Re: Crazyflie 2 board fails POST out of box.

Post by z506 »

My less than a week old CF2 is presenting this behaviour I checked the console and have that MPU9250 connection fail.

Code: Select all

SYS: Crazyflie 2.0 is up and running!
SYS: Build NA:NA (2016.02) CLEAN
SYS: I am 0x3134383531334701300026 and I have 1024KB of flash!
CFGBLK: v1, verification [OK]
I2CDEV: I2C error callback dev2CDEV: I2C timeout callback dev: 2
IMU: MPU9250 I2C connection [FAIL].
I2CDEV: I2C error callback dev2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C error callback dev2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C error callback dev2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C error callback dev2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C error callback dev2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C error callback dev2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C error callback dev2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C error callback dev2CDEV: I2C timeout callback dev: 2
IMU: AK8963 I2C connection [OK].
IMU: LPS25H I2C connection [OK].
DECK_DRIVERS: Found 6 drivers
DECK_INFO: Found 0 deck memory.
DECK_CORE: 0 deck enumerated
EEPROM: I2C connection [OK].
AK8963: Self test [OK].
LPS25H: Self test [O<F>
Is there anything I can do to fix this ?

thanks
z506
Beginner
Posts: 5
Joined: Tue Feb 16, 2016 5:01 am

Re: Crazyflie 2 board fails POST out of box.

Post by z506 »

Anyone with info on this issue ?
asnelt
Beginner
Posts: 5
Joined: Sat Feb 06, 2016 3:47 pm

Re: Crazyflie 2 board fails POST out of box.

Post by asnelt »

I also have a similar problem. Whenever the crazyflie was working, it was working fine with MPU9250, AK8963 and LPS25H all OK. But every now and then the red LED would start flashing five times and then it would take a lot of effort to get it out of that state again. Switching off and on wouldn't help. First I thought it might be a sensor calibration issue. So I tried the shaking as recommended in another thread and after some time it would work again. However, there were also the "I2CDEV: Error callback nr: 1024" error on the console with fail for MPU9250, AK8963 and LPS25H. In particular, it happened every time I used the Turnigy Nano-Tech 300 mAh instead of the stock battery. Now I assume this is because the Turnigy is narrower than the stock battery and therefore doesn't put pressure on the sensor like the stock battery does.

After a while I found this thread, perfectly matching the behavior I have seen. So I tried to reflow the pressure sensor (U9 on the board) with a hot air rework station, but I only managed to make the behavior more stable: instead of occasionally not working it now never works.

With the latest cf2-2016.02.bin firmware release, when I connect the Crazyradio PA to the Crazyflie right after I switch it on, I now always get:

Code: Select all

I2CDEV: I2C timeout callback dev: 2
IMU: MPU9250 I2C connection [FAIL].
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
I2CDEV: I2C timeout callback dev: 2
IMU: 
 I2C connection [FAIL].
I2CDEV: I2C timeout callback dev: 2
IMU: LPS25H I2C connection [FAIL].
DECK_DRIVERS: Found 6 drivers
DECK_INFO: Found 0 deck memory.
DECK_CORE: 0 deck enumerated
EEPROM: I2C connection [OK].
I also flashed the manufacturing test firmware (cf2_run_imu_manufacturing_test.bin). With that, I get:

Code: Select all

SYS: I am 0x3132383231334715360022 and I have 1024KB of flash!
IMU: MPU9250 I2C connection [FAIL].
IMU: AK8963 I2C connection [FAIL].
IMU: LPS25H I2C connection [FAIL].
EXPBRD: Found 0 memories.
30 78 42 43 0 50 0 0 0 0 0 0 0 0 0 7D 
Status 0
EEPROM: I2C connection [OK].
Actually, I do not need altitude hold. So it would be perfectly fine to just disable the pressure sensor functionality.
I recompiled the crazyflie firmware with "#define IMU_ENABLE_PRESSURE_LPS25H" commented out in hal/src/imu_cf2.c as described in
viewtopic.php?f=5&t=1125&p=6141&hilit=E ... back#p6215
Unfortunately, that also doesn't work. With this self-compiled firmware I get:

Code: Select all

h!
IMU: MPU9250 I2C connection [FAIL].
IMU: AK8963 I2C connection [FAIL].
EXPBRD: Found 0 memories.
EEPROM: I2C connection [OK].
OW: Found 0.
30 78 42 43 1 50 0 0 0 0 0 0 0 0 0 E7 
Status 0
30 78 42 43 1 50 0 0 0 0 0 0 0 0 0 E7 
Status 0
E7 E7 E7 E7 1 
Status 0
Does this have to do with the AK8963 also failing? AK8963 also failed before my reflow attempt whenever MPU9250 failed. But whenever MPU9250 was OK, AK8963 and LPS25H were also OK. Do I need to make additional changes in the firmware source or do I have to get the reflow working?
dataway
Beginner
Posts: 2
Joined: Tue Apr 05, 2016 9:51 pm

Re: Crazyflie 2 board fails POST out of box.

Post by dataway »

I am having similar problems, I was finally able to connect the CF2 to the python console and once it finally showed the battery status and the horizon was way off and very slow to react now I can not get it to read out again but the CF2 seems to connect to the python console. The behavior I am seeing is when I can get it to not fail the self test still not sure what is causing this but it fails more than it is successful. I spool up the thrust and only one side of motors come up I hold it and give it thrust and the 4 motors spin but seem to be fighting themselves and the CF2 will just flip over.

Who do we contact to have someone look at the main board, can I send it somewhere ?

Regards
Post Reply