Page 1 of 1

[SOLVED] OTA Flashing issue

Posted: Sat Dec 27, 2014 10:22 pm
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

Re: OTA Flashing issue

Posted: Sun Dec 28, 2014 4:17 am
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.

Re: OTA Flashing issue

Posted: Sun Dec 28, 2014 6:12 pm
by askuechler
You are my hero of the day ;-) Thanks, that did it.

Re: [SOLVED] OTA Flashing issue

Posted: Mon Dec 29, 2014 1:24 am
by chad
Awesome!! Glad to hear it. Have fun. :D