Page 1 of 1

selftest fails

Posted: Tue Feb 16, 2016 4:41 pm
by Coumodo
I got a brand new crazyflie 2. Unfortunatly the selftest fails and I only got the M1 LED blinks 5 times fast RED.

Re: selftest fails

Posted: Wed Feb 17, 2016 2:38 am
by chad
Coumodo wrote:I got a brand new crazyflie 2. Unfortunatly the selftest fails and I only got the M1 LED blinks 5 times fast RED.
If you plug the Crazyflie in using a USB cable, connect to it in the GUI client, and look at the console tab, are there any errors? Can you post the output?

Re: selftest fails

Posted: Wed Feb 17, 2016 3:44 pm
by Coumodo
connecting by crazyradio just give endless:

Code: Select all

WARNING:cflib.crazyflie:Got packet on header (15,3) but no callback to handle it
connected by USB I got:

Code: Select all

INFO:cflib.crazyflie:We are connected[usb://0], request connection setup
INFO:cflib.crazyflie:Callback->Connected to [usb://0]
INFO:cflib.crazyflie.toc:TOC for port [5] found in cache
INFO:cflib.crazyflie:Log TOC finished updating
INFO:cflib.crazyflie.mem:Requesting number of memories
INFO:cflib.crazyflie.mem:3 memories found
INFO:cflib.crazyflie.mem:Requesting first id
INFO:cflib.crazyflie.mem:Requesting information about memory 1
INFO:cflib.crazyflie.mem:Memory: id=1, type=LED driver, size=24
INFO:cflib.crazyflie.mem:Requesting information about memory 2
INFO:cflib.crazyflie.mem:Done getting all the memories, start reading the OWs
INFO:cflib.crazyflie.mem:Updating content of memory 2
INFO:cflib.crazyflie.mem:Requesting new chunk of 11bytes at 0x0
INFO:cflib.crazyflie.mem:READ: Mem=2, addr=0x0, status=0x0, data=(235, 0, 128, 0, 0, 188, 1, 35, 0, 14, 1)
INFO:cflib.crazyflie.mem:READING: We are still interested in request for mem 2
INFO:cflib.crazyflie.mem:--> HEADER OK
INFO:cflib.crazyflie.mem:Requesting new chunk of 17bytes at 0x8
INFO:cflib.crazyflie.mem:READ: Mem=2, addr=0x8, status=0x0, data=(0, 14, 1, 9, 98, 99, 76, 101, 100, 82, 105, 110, 103, 2, 1, 66, 157)
INFO:cflib.crazyflie.mem:READING: We are still interested in request for mem 2
INFO:cflib.crazyflie.mem:--> ELEMENT OK
INFO:cflib.crazyflie.mem:OW 0D00C912000000D6 (BC:01): {'Board revision': 'B', 'Board name': 'bcLedRing'}
INFO:cflib.crazyflie:Memories finished updating
INFO:cflib.crazyflie.toc:TOC for port [2] found in cache
INFO:cflib.crazyflie:Param TOC finished updating
INFO:cflib.crazyflie:Callback->Connection setup finished [usb://0]
INFO:cfclient.utils.logconfigreader:Parsing [stabilizer.json]
INFO:cflib.crazyflie.mem:Writing new chunk of 24bytes at 0x0
INFO:cflib.crazyflie.mem:Updating content of memory 0
INFO:cflib.crazyflie.mem:Requesting new chunk of 16bytes at 0x0
INFO:cfclient.ui.tabs.LEDTab:Memory: id=1, type=LED driver, size=24
INFO:cfclient.ui.tabs.FlightTab:[imu_sensors.HMC5883L]: 0
INFO:cflib.crazyflie.mem:WRITE: Mem=1, addr=0x0, status=0x0
INFO:cflib.crazyflie.mem:This write request is done
INFO:cflib.crazyflie.mem:Write to LED driver done
INFO:cfclient.ui.main:LED write done callback
INFO:cflib.crazyflie.log:Have successfully started logging for id=9
INFO:cfclient.ui.tabs.FlightTab:[imu_sensors.MS5611]: 0
INFO:cflib.crazyflie.log:Have successfully started logging for id=11
INFO:cfclient.ui.tabs.FlightTab:Changed effect to 6

Re: selftest fails

Posted: Wed Feb 17, 2016 3:51 pm
by chad
Thanks Coumodo, but what I actually want to see is the output in the Console tab of the cfclient GUI rather than the Terminal window that started the client.

Re: selftest fails

Posted: Wed Feb 17, 2016 5:04 pm
by Coumodo

Code: Select all

SYS: I am 0x3134383531334707290028 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
I2CDEV: I2C error callback dev2CDEV: I2C timeout callback dev: 2
IMU: AK8963 I2C connection [FAIL].
I2CDEV: I2C error callback dev2CDEV: I2C timeout callback dev: 2
IMU: LPS25H I2C connection [FAIL].
DECK_DRIVERS: Found 6 driv<F>

Re: selftest fails

Posted: Wed Feb 17, 2016 7:06 pm
by tobias
@Coumodo Send you a PM.