LED-Ring expansion board not found

Post here to get support
Post Reply
Nyothan
Beginner
Posts: 15
Joined: Tue Feb 10, 2015 4:36 pm

LED-Ring expansion board not found

Post 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.
Nyothan
Beginner
Posts: 15
Joined: Tue Feb 10, 2015 4:36 pm

Re: LED-Ring expansion board not found

Post by Nyothan »

Any idea?
poizone
Member
Posts: 59
Joined: Thu Feb 05, 2015 3:59 am
Location: Ohio, USA

Re: LED-Ring expansion board not found

Post 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.
One day our flies will drown out the sun in an autonomous Skynet of whirring motors and blinking lights.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: LED-Ring expansion board not found

Post by tobias »

The system doesn't start when a test has failed. You can comment the stababilizer test to make it pass.
Nyothan
Beginner
Posts: 15
Joined: Tue Feb 10, 2015 4:36 pm

Re: LED-Ring expansion board not found

Post 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'...
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: LED-Ring expansion board not found

Post 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.
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
Post Reply