No calibration
Posted: Mon Sep 11, 2017 8:06 am
Hi
Probably connected with my post "brutal unsteadiness", my cf2 do not calibrate during starting process. Left red blink do not end slow beating.
With a new tab giving calibration infos, I can see that gyro and acc calibrations are corrects. In the console, I see the "SYS: Free heap" information, at the end of this step.
Looking at the STM firmware, the system looks blocked in the starting of system, mainly in:
"XTaskCreate(systemTask, SYSTEM_TASK_NAME,..."
instruction (in system.c). Hence, I do not reach "VtaskScheduler()" in main.c.
I am actually too lazy to enter Free RTOS lib.
Help ?
Jean-Claude
Firmware is Oe886c2, modified with one DEBUG_PRINT("JCM XXXX SYTÈME LANCÉ") added between systemLaunch and vTaskSchelduler in main.c. This print does not appear in console printing:
Console:
SYS: ----------------------------
SYS: Crazyflie 2.0 is up and running!
SYS: Build 20:0e886c2c3176 (2017.06-20) MODIFIED
SYS: I am 0x3131393135355116350037 and I have 1024KB of flash!
CFGBLK: v1, verification [OK]
DECK_DRIVERS: Found 10 drivers
DECK_INFO: Found 1 deck memory.
DECK_CORE: 1 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].
DECK_CORE: Deck 0 test [OK].
SYS: Free heap: 19296 bytes
Probably connected with my post "brutal unsteadiness", my cf2 do not calibrate during starting process. Left red blink do not end slow beating.
With a new tab giving calibration infos, I can see that gyro and acc calibrations are corrects. In the console, I see the "SYS: Free heap" information, at the end of this step.
Looking at the STM firmware, the system looks blocked in the starting of system, mainly in:
"XTaskCreate(systemTask, SYSTEM_TASK_NAME,..."
instruction (in system.c). Hence, I do not reach "VtaskScheduler()" in main.c.
I am actually too lazy to enter Free RTOS lib.
Help ?
Jean-Claude
Firmware is Oe886c2, modified with one DEBUG_PRINT("JCM XXXX SYTÈME LANCÉ") added between systemLaunch and vTaskSchelduler in main.c. This print does not appear in console printing:
Console:
SYS: ----------------------------
SYS: Crazyflie 2.0 is up and running!
SYS: Build 20:0e886c2c3176 (2017.06-20) MODIFIED
SYS: I am 0x3131393135355116350037 and I have 1024KB of flash!
CFGBLK: v1, verification [OK]
DECK_DRIVERS: Found 10 drivers
DECK_INFO: Found 1 deck memory.
DECK_CORE: 1 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].
DECK_CORE: Deck 0 test [OK].
SYS: Free heap: 19296 bytes