CF2 crashes when in DEBUG mode with Locodeck
Posted: Tue Apr 02, 2019 2:48 pm
As title says. With the locodeck attached and the firmware in debug mode (DEBUG=1 in the config.mk file) the CF2 won't start (it crashes with red leds).
Most I get out of the console in the cfclient is this:
SYS: ----------------------------
SYS: Crazyflie 2.0 is up and running!
SYS: Build 40:0583fa65062c (2019.02 +40) CLEAN
SYS: I am 0x313139313535511400400030 and I have 1024KB of flash!
CFGBLK: v1, verification [OK]
DECK_DRIVERS: Found 15 drivers
DECK_DRIVERS: VID:PID 00:00 (bcRZR)
DECK_DRIVERS: VID:PID BC:01 (bcLedRing)
DECK_DRIVERS: VID:PID BC:04 (bcBuzzer)
DECK_DRIVERS: VID:PID BC:07 (b
but then it just stops. If I remove the deck, it does not crash. If I add another deck (SD deck for instance) it does work.
I do not have an idea where to start looking for the problem in the code.
Most I get out of the console in the cfclient is this:
SYS: ----------------------------
SYS: Crazyflie 2.0 is up and running!
SYS: Build 40:0583fa65062c (2019.02 +40) CLEAN
SYS: I am 0x313139313535511400400030 and I have 1024KB of flash!
CFGBLK: v1, verification [OK]
DECK_DRIVERS: Found 15 drivers
DECK_DRIVERS: VID:PID 00:00 (bcRZR)
DECK_DRIVERS: VID:PID BC:01 (bcLedRing)
DECK_DRIVERS: VID:PID BC:04 (bcBuzzer)
DECK_DRIVERS: VID:PID BC:07 (b
but then it just stops. If I remove the deck, it does not crash. If I add another deck (SD deck for instance) it does work.
I do not have an idea where to start looking for the problem in the code.