Page 1 of 1
Firmware with hello.c fail
Posted: Mon Aug 27, 2018 1:24 am
by Duncan
Hi, I flashed the crazyflie after adding the hello.c as the "howto" deck driver tutorial. It worked fine at first and I can see the "hello" message in the console but after several minutes the crazyflie entered the situation with lighting two red LEDs and one blue LED solidly. This situation happened again even after I reflash the firmware or restart the machine.
It makes me hard to test my deck driver code with such unstable operating manner.
Any advice would help.
Thank you in advance.
Duncan
Re: Firmware with hello.c fail
Posted: Mon Aug 27, 2018 12:27 pm
by arnaud
What version of the firmware are you starting from, the latest one from Github?
What you are observing looks like a hard-fault. Does it also happen if you remove your driver? If it is the case it is a bug in the firmware and it would be great if you could push an issue in Github about it!
You could try running from older state, like the latest stable tag, to see if the bug occurs there as well.
Ps. I moved the topic to crazyflie/developer discussions to give it more visibility.
Re: Firmware with hello.c fail
Posted: Tue Aug 28, 2018 10:22 am
by wannacrypt_
I have the same issue. I implemented my own deck as shown here
https://wiki.bitcraze.io/doc:crazyflie: ... deck:howto.
And it works just great without any deck on CF2.
But once I attach the loco positioning deck, two red LEDs and blue LED are on.
Re: Firmware with hello.c fail
Posted: Wed Aug 29, 2018 3:40 am
by Duncan
If there is no diver, it worked fine. And later I tried the older firmware with the hello.c deck diver, it worked well without any problem. I didn't attach any actual deck on the crazyflie.