[SOLVED] OTA Flashing issue

Firmware/software/electronics/mechanics
Post Reply
askuechler
Beginner
Posts: 3
Joined: Sat Dec 27, 2014 10:15 pm

[SOLVED] OTA Flashing issue

Post by askuechler »

Hi,

I just cloned both the current python and cf2 firmware repos. Make looks good and tells me that the crazyloader has been built. When I try to flash my CF2 OTA however all I get when running make cload is this:

ask@fliebox:~/crazyflie-firmware$ make cload
../crazyflie-clients-python/bin/cfloader flash cflie.bin
Restart the Crazyflie you want to bootload in the next 10 seconds ... done!
Connected to bootloader on Crazyflie 2.0 (version=0x10)
Target info: nrf51 (0xFE)
Flash pages: 232 | Page size: 1024 | Buffer pages: 1 | Start page: 88
144 KBytes of flash avaliable for firmware image.
Target info: stm32 (0xFF)
Flash pages: 1024 | Page size: 1024 | Buffer pages: 10 | Start page: 16
1008 KBytes of flash avaliable for firmware image.
Not an archive, must supply one target to flash

Reset in firmware mode ...

What am I missing here?

Thanks for your help
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: OTA Flashing issue

Post by chad »

It looks like the target "stm32-fw" is missing from your cfloader command line. It should look like this:

Code: Select all

../crazyflie-clients-python/bin/cfloader flash cflie.bin stm32-fw
Is your CF2 firmware repository on 'origin/crazyflie2' or 'origin/master'? I think what you're seeing might happen on master since it doesn't have the CF2 stuff yet. You should be on the crazyflie2 branch.
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.
askuechler
Beginner
Posts: 3
Joined: Sat Dec 27, 2014 10:15 pm

Re: OTA Flashing issue

Post by askuechler »

You are my hero of the day ;-) Thanks, that did it.
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: [SOLVED] OTA Flashing issue

Post by chad »

Awesome!! Glad to hear it. Have fun. :D
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