blocking of the crazyflie-led M2 blue

Firmware/software/electronics/mechanics
Hada Hamdi
Beginner
Posts: 25
Joined: Wed Jul 22, 2020 4:19 am

blocking of the crazyflie-led M2 blue

Post by Hada Hamdi »

Hi,

I flashed the crazyflie, and it is blocked, even when closing and opening it always the M2 led is blue. Even I removed the battery and I put it, still the same problem. what is happening !

Thank you!
arnaud
Bitcraze
Posts: 2353
Joined: Tue Feb 06, 2007 12:36 pm

Re: blocking of the crazyflie-led M2 blue

Post by arnaud »

Sounds like the STM32 is not booting.

See this answer I just wrote on another thread, it explains the situation and solutions: viewtopic.php?p=20643#p20643
Hada Hamdi
Beginner
Posts: 25
Joined: Wed Jul 22, 2020 4:19 am

Re: blocking of the crazyflie-led M2 blue

Post by Hada Hamdi »

Hi,

I followed steps here viewtopic.php?p=20643#p20643 but it still the same problem, I can't see Crazyflie in a state where M2 and M3 are blinking.

Help please!
arnaud
Bitcraze
Posts: 2353
Joined: Tue Feb 06, 2007 12:36 pm

Re: blocking of the crazyflie-led M2 blue

Post by arnaud »

If you follow the procedure:
If the radio chip firmware also has a problem, you can:
- disconnect the battery
- press the button
- connect the battery
- When M2 starts blinking, release the button
What state of the LED are you seeing?
Hada Hamdi
Beginner
Posts: 25
Joined: Wed Jul 22, 2020 4:19 am

Re: blocking of the crazyflie-led M2 blue

Post by Hada Hamdi »

Hi,

I can see all the leds blinking but I couldn't put it in bootloader mode.

Help! Thanks!
arnaud
Bitcraze
Posts: 2353
Joined: Tue Feb 06, 2007 12:36 pm

Re: blocking of the crazyflie-led M2 blue

Post by arnaud »

If both M2 and M3 blue led are blinking, you are in booloader mode.

You can now upload new firmware using the Crazyradio using either the client (https://www.bitcraze.io/documentation/r ... re-upgrade) or by using "make cload" in the firmware projects.
Hada Hamdi
Beginner
Posts: 25
Joined: Wed Jul 22, 2020 4:19 am

Re: blocking of the crazyflie-led M2 blue

Post by Hada Hamdi »

Hi,

now, it just the M2 led blinking blue !!
kristoffer
Bitcraze
Posts: 345
Joined: Tue Jun 30, 2015 7:47 am

Re: blocking of the crazyflie-led M2 blue

Post by kristoffer »

If only M2 is flashing (a bit faster) you were probably pressing the power button too long.
Hold the power pressed for around 2 seconds.
dastonge
Beginner
Posts: 6
Joined: Tue Jul 14, 2020 9:51 pm

Re: blocking of the crazyflie-led M2 blue

Post by dastonge »

Hi Kristoffer,

I'm trying to help Hada debug her CFs. We managed to flash the firmware using the dfu-utils, and I recompiled the firmware with the CLOAD=0 flag to flash it altogether. The behavior is still the same: when holding power to get into bootloader mode, we only have M2 blinking. I made a short video to show the behavior,it may be easier for you to help us: https://youtu.be/N4g1u1yzR0U.

Thanks for you help.
kimberly
Bitcraze
Posts: 616
Joined: Fri Jul 06, 2018 11:13 am

Re: blocking of the crazyflie-led M2 blue

Post by kimberly »

Hi!

The fact that you are using the DFU utils, might have overwritten the bootloader of the STM. We don't recommend using the DFU utils and only recommend using crazyradio PA with make Cload or the cfclient uploader.

FIRST: Try to put the crazyflie in recovery bootloader mode. Arnaud already explained the procedure before, however since I don't see it in your video I've made a video of the entire thing: https://youtu.be/is5Hy9GlWAo. You might need two people for this if this, its a bit difficult to connect the battery with one hand.

If this works, flash the latest release firmware through the cfclient: https://www.bitcraze.io/documentation/r ... re-upgrade

ONLY IF the M1 and M2 are not flashing as they are doing in my video, then probably the bootloader is broken. Try to flash it back again with this:

First get the bootloader bin here: https://github.com/bitcraze/crazyflie2- ... r/releases

Code: Select all

sudo dfu-util -d 0483:df11 -a 0 -s 0x08000000 -D cf2loader-1.0.bin
After that don't try to use DFU-utils again since it can happen to easily that the bootloader is overwritten.
Post Reply