Page 1 of 1

Encountered some difficulties in using locodeck for communication

Posted: Wed Jan 06, 2021 3:16 am
by yuchao.shao
We use locodeck communication to create multiple tasks to process different packets, but restarts often occur(watch dog time out). In debug mode, m2 and m3 double blue lights appear during the operation and all the deck lights do not light up,

Re: Encountered some difficulties in using locodeck for communication

Posted: Thu Jan 07, 2021 10:01 am
by arnaud
Hi,

It looks like you are freezing the firmware somehow, this can have many different cause and it is not possible guess from your description.

Can you maybe describe a bit more how your firmware is architectured, how do you pass messages between tasks?

My advice would be to attach a debugger to the Crazyflie and to look at where the execution is stopped when this freeze occurs.

Re: Encountered some difficulties in using locodeck for communication

Posted: Sun Jan 10, 2021 10:33 am
by yuchao.shao
thanks, i use debuger and fix my bug! :D