Page 1 of 1

LED-Ring expansion board not found

Posted: Mon Feb 23, 2015 11:51 am
by Nyothan
Hi everybody,

I have the known issue with the bad soldered IMU, which leads the crazyflie to fail its self-test.

Even if it can't fly, I would like to play with the LED ring expansion by adding new effects in neopixelring.c. The problem is that
The LED-Ring expansion board is not detected when the expbrd module is called: It says "EXPBRD: Found 0 memories".
Here is the complete log:

Code: Select all

SYS: Crazyflie is up and running!
SYS: Build 0:1ab92e55c44b (2014.12.0) CLEAN
SYS: I am 0x313238323133470D31002B and I have 1024KB of flash!
I2CDEV: Error callback nr: 1024
AIL].
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
IMU: AK8963 I2C connection [FAIL].
I2CDEV: Error callback nr: 1024
IMU: LPS25H I2C connection [FAIL].
EXPBRD: Found 0 memories.
EEPROM: I2C connection [OK].
OW: Found 0.
30 78 42 43 0 50 0 0 0 0 0 0 0 0 0 7D 
Status 0
30 78 42 43 0 50 0 0 0 0 0 0 0 0 0 7D 
Status 0
I would like to know if the fact that the IMU fails to initialize can have an impact on the fact that the LED Ring expansion board
is not detected.

Re: LED-Ring expansion board not found

Posted: Tue Feb 24, 2015 9:13 am
by Nyothan
Any idea?

Re: LED-Ring expansion board not found

Posted: Tue Feb 24, 2015 8:02 pm
by poizone
I see no where on the schematic that links the IMU and expansion header. I would assume that this is the result of you attempting to work in the zone of Undefined Behavior after a failed test. While continuing to work after failure occurs during flight should be a goal, this is what I would consider the expected behavior when a failure occurs before flight.

Disable your IMU and IMU test in firmware and see if it works.

Re: LED-Ring expansion board not found

Posted: Wed Feb 25, 2015 8:26 am
by tobias
The system doesn't start when a test has failed. You can comment the stababilizer test to make it pass.

Re: LED-Ring expansion board not found

Posted: Thu Feb 26, 2015 10:05 am
by Nyothan
I commented the 'stabilizerTest()' line in system.c, but the LED Ring is still not detected.

Here is the console output:

Code: Select all

SYS: ----------------------------
SYS: Crazyflie is up and running!
SYS: Build 31+:1781d07675cf (2014.12.0) MODIFIED
SYS: I am 0x313238323133470D31002B and I have 1024KB of flash!
I2CDEV: Error callback nr: 1024
IMU: MPU9250 I2C connection [FAIL].
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
IMU: AK8963 I2C connection [FAIL].
I2CDEV: Error callback nr: 1024
IMU: LPS25H I2C connection [FAIL].
EXPBRD: Found 0 memories.
EEPROM: I2C connection [OK].
OW: Found 0.
SYS: Free heap: 6048 bytes
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
I2CDEV: Error callback nr: 1024
If I am right, it's the call to 'expbrdInit()' which tries to detect if an expansion board is connected. But it prints 'EXPBRD: Found 0 memories'...

Re: LED-Ring expansion board not found

Posted: Tue Mar 03, 2015 11:44 pm
by chad
Nyothan wrote:I commented the 'stabilizerTest()' line in system.c, but the LED Ring is still not detected.
Have you installed the board on the top of the Crazyflie or the bottom? It only works with a bottom install.