[SOLVED] CrazieFlie 2.0 Failed IOS flash - stuck on Blue Light

Post here to get support
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: CrazieFlie 2.0 Failed IOS flash - stuck on Blue Light

Post by chad »

Allright. Been barking up the wrong tree here!! :oops:

I decided I should try to replicate what happened to you. I set my iPhone auto-lock to 2 minutes and ran the update from the iOS client. I watched it as it went along. Turns out, it didn't break the STM32 firmware or the bootloader (which is what you've been reflashing - successfully actually). It instead auto-locked and disconnected at about 50% of the way through the nRF51 MCU firmware update.

You can reflash the nRF51 MCU pretty easily doing the exact same thing you did in the first place, use the iOS client update feature!

Try this:

1) Just like you did for DFU, unplug the battery, hold the power button and plug the CF2 into USB. Hold power until the first blue light flashing speed starts (a little less than three seconds). When you let go of the power button, both blue lights (M2 and M3) should flash - you're in the bootloader now.

2) Set your iPhone auto-lock to Never (Settings->General->Auto Lock). Plug your iPhone into a power source (just in case ;-)).

3) Launch the Crazyflie client app on iPhone, go to Settings screen and hit the "Update" button.

4) Wait about 10 minutes and you should see the "Success" alert telling you to restart your Crazyflie.

5) Disconnect the USB and reconnect the battery - CF should restart and you should be good now.

6) Change your iPhone auto-lock setting back to 2 minutes (or whatever you prefer).

So, I hope that gets you back flying and I apologize for leading you astray for a few posts there! Happy Holidays!! :D

BTW, I did learn a lot from this venture (like dfu-util 0.8.0 seems to have an issue with the STM32, and nRF51 doesn't necessarily need a Crazyradio and cfloader to reflash) and I've also logged a bug against the iOS client to prevent auto-lock when updating FW.
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
mnflyer
Beginner
Posts: 8
Joined: Wed Dec 23, 2015 11:29 pm

Re: CrazieFlie 2.0 Failed IOS flash - stuck on Blue Light

Post by mnflyer »

It's totally working (updating via BT !), so excited, in 10 minutes I expect to be able to call this one solved. I learned some things too, and did get the VM to do a successful DFU flash as well (I realized I was not using the sudo command because in Windows didn't need it).
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: CrazieFlie 2.0 Failed IOS flash - stuck on Blue Light

Post by chad »

mnflyer wrote:It's totally working (updating via BT !), so excited, in 10 minutes I expect to be able to call this one solved. I learned some things too, and did get the VM to do a successful DFU flash as well (I realized I was not using the sudo command because in Windows didn't need it).
Awesome! My fingers are crossed that it all works out, but since I just tried it, I'm sure it will!! :)
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
mnflyer
Beginner
Posts: 8
Joined: Wed Dec 23, 2015 11:29 pm

Re: CrazieFlie 2.0 Failed IOS flash - stuck on Blue Light

Post by mnflyer »

It totally worked! Best Christmas ever! Solved!
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: CrazieFlie 2.0 Failed IOS flash - stuck on Blue Light

Post by chad »

Very sweet!
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
Post Reply