Flash over the air after manual flash

Firmware/software/electronics/mechanics
Post Reply
Slaxx
Member
Posts: 86
Joined: Tue Mar 03, 2015 11:19 am
Location: Switzerland

Flash over the air after manual flash

Post by Slaxx »

I tried to install other Operating Systems on the Crazyflie. At this moment I want to set back the CF to its factory state such that I can flash the Firmware over the air. I tried flashing the cflie.bin over the ST-flash tool but I'm still not able to flash over the air. The CF is running fine though. What do I have to flash in order to set it to factory state?

Thank you for the great work
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Flash over the air after manual flash

Post by tobias »

I think you are missing the stm bootloader. Flash that first and then put it in bootloader mode and you should be able to flash it over the air.
Slaxx
Member
Posts: 86
Joined: Tue Mar 03, 2015 11:19 am
Location: Switzerland

Re: Flash over the air after manual flash

Post by Slaxx »

OK thank you. I'll give it a try
Slaxx
Member
Posts: 86
Joined: Tue Mar 03, 2015 11:19 am
Location: Switzerland

Re: Flash over the air after manual flash

Post by Slaxx »

OK I could flash over the air, but now the blue light at M2 is constantly lit when powering on and the props dont spin as initialization.

If I take flash over debugger, then it works.

Edit: Now I can't even flash over the air anymore:
make cload
../crazyflie-clients-python/bin/cfloader flash cflie.bin stm32-fw
Restart the Crazyflie you want to bootload in the next 10 seconds ... Cannot connect the bootloader!
Makefile:261: recipe for target 'cload' failed
make: *** [cload] Error 255
Edit2: In addition I realized that the yaw is drifting at 1°/sec. Is that normal?
Post Reply