flash crazyflie 1.0 via USB

Post here to get support
Post Reply
jsmartins
Beginner
Posts: 9
Joined: Tue Dec 16, 2014 3:36 am

flash crazyflie 1.0 via USB

Post by jsmartins »

Hi.
I was trying to do some tests and alterations in the crazyflie firmware but I did a stupid mistake and screwed up everything. I made a kind of infinite loop before the initialisation of the drivers, so now I can't flash other firmware via radio.
Do you know how can I flash a new firmware in my quadcopter? I was thinking about do it straight to the micro-controller via USB. Is it possible? If yes how can I do it?

Help me please!!!

Thank you.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: flash crazyflie 1.0 via USB

Post by tobias »

You shouldn't be able to overwrite the bootloader when flashing using the Crazyradio. It should be OK to flash it using the cfclient.

Unfortunately the CF1 does not have a USB bootloader but you shouldn't be able to brick it without a JTAG anyway (and then you can restore it).
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: flash crazyflie 1.0 via USB

Post by chad »

For CF1 you can't flash it over USB. If you truly overwrote the bootloader, I believe you need to flash it with JTAG. That said, you likely didn't overwrite the bootloader if you were just flashing firmware. You can try to reflash the default firmware or a different working version. Please see the thread here for a little more discussion. Post back if you need further guidance.
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.
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: flash crazyflie 1.0 via USB

Post by chad »

Haha. Oops. Tobias answered while I was writing my response. Anyway, good luck!

Cheers.
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.
jsmartins
Beginner
Posts: 9
Joined: Tue Dec 16, 2014 3:36 am

Re: flash crazyflie 1.0 via USB

Post by jsmartins »

Hi, I just flashed the firmware without any problem.
Thanks for helping!
Post Reply