watchdogNormalStartTest retruns false

Post here to get support
Post Reply
boris123
Beginner
Posts: 1
Joined: Thu Oct 29, 2015 3:42 pm

watchdogNormalStartTest retruns false

Post by boris123 »

Hi, I have a Crazyflie 1.0 I built it and tested the functions, then I compiled and updated the firmware on the copter. After starting (beeping, turning the propellers) the copter, it blinks red four times, I wanted to debug and noticed that the method watchdogNormalStartTest is called from system.c and it retruns false.
I also noticed that the 20ms stablilizer isn't added and started when I oppened the Log Blocks Debugging Tab in the Crazyfie Client software.
I also deployed the same firmware to the DOF10 model I have and this works fine. Do I have to compile the firware differently for DOF 6 and DOF10? Or what could be the issue here?

Here the debug output after connecting:

SYS: Crazyflie 1.0 is up and running!
SYS: Build 21:db840bd81948 (2015.08.1-21) CLEAN
SYS: I am 0x872252374855725066CFF51 and I have 128KB of flash!
CFGBLK: Verification [FAIL]
IMU: MPU6050 I2C connection [OK].
IMU: HMC5883L I2C connection [FAIL].
IMU: MS5611 I2C connection [FAIL].
MPU6050: Self test [OK].
SYS: The system resumed after watchdog timeout [WARNING]
SYS: No assert information found

Thanks for your help in advance.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: watchdogNormalStartTest retruns false

Post by arnaud »

Did you compile an test the very latest version from Git?

You can try to compile in debug mode (make DEBUG=1 or add DEBUG=1 in config.mk), then the watchdog will be disabled.
dg1vs
Beginner
Posts: 12
Joined: Sat Jun 01, 2013 5:28 pm

Re: watchdogNormalStartTest retruns false

Post by dg1vs »

Hallo,

first of all, thanks a lot! The CF1.0s are flying again. That is really cool.

Anyway, I think a discussion with the developers would be useful. As far as I understand the error message indicate, that something with storing the configuration is going wrong. The

Code: Select all

CFGBLK: Verification [FAIL]
log entry is generated during start-up calling configblockInit

There are two different files (see Makefile)

Code: Select all

PROJ_OBJ_CF1 += configblockflash.o
PROJ_OBJ_CF2 += configblockeeprom.o
with the same function. One is using the flash the other is using the eeprom for storing the information. I will try to understand the code a little bit deeper. But one short question... What's the logical connection between the configuration and the watchdog?????

One problem is still open, I can not configure the CF1.0, but this an other problem. I will first search the forum.....

Again, Thanks a lot!

Karsten

PS:
Are the Crazyflie's you're using 6-DOF or 10-DOF?
Both are 10-DOF CF1.0.
dg1vs
Beginner
Posts: 12
Joined: Sat Jun 01, 2013 5:28 pm

Re: watchdogNormalStartTest retruns false

Post by dg1vs »

Sorry, for the wrong post.
Please see:
viewtopic.php?f=5&t=1836
Post Reply