This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
doc:crazyflie:client:cfloader:index [2015-07-15 16:31] 127.0.0.1 external edit |
doc:crazyflie:client:cfloader:index [2019-09-05 15:25] kimberly |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP center round important 60%> | ||
+ | This page is deprecated and is moved to the main Bitcraze website. Please go to: | ||
+ | |||
+ | [[ | ||
+ | https:// | ||
+ | ]] | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
====== Bootloader the Crazyflie 1.0/2.0 ====== | ====== Bootloader the Crazyflie 1.0/2.0 ====== | ||
The Crazyflie can be bootloaded from the commandline using the // | The Crazyflie can be bootloaded from the commandline using the // | ||
- | **Note:** To enter the bootloader for the Crazyflie 1.0 just restart the platform. To enter the bootloader for the Crazyflie 2.0 power off the platform and start it again by pressing the power button for at least 3 seconds, but not more than 10. | + | **Note:** To enter the bootloader for the Crazyflie 1.0 just restart the platform. To enter the bootloader for the Crazyflie 2.0 power off the platform and start it again by pressing the power button for at least 1.5 seconds, but not more than 5. |
+ | |||
+ | ====== Programming Crazyflie from firmware projects ====== | ||
+ | |||
+ | When developping with the Crazyflie firmware projects, either [[https:// | ||
+ | < | ||
+ | make cload | ||
+ | </ | ||
+ | |||
+ | If you want the Crazyflie to restart automatically in bootloader mode you can enable the warmboot mode. To do so, edit the file ' | ||
+ | < | ||
+ | CLOAD_CMDS = -w radio:// | ||
+ | </ | ||
+ | |||
+ | After this, 'make cload' will restart the Crazyflie in bootlader mode, flash it and restart it with the new firmware. | ||
+ | |||
+ | |||
+ | <WRAP center round info> | ||
+ | In warmboot mode the bootloader is launched using a random address. This means that multiple Crazyflie can be programmed at the same time without collision. | ||
+ | </ | ||
+ | <WRAP center round important> | ||
+ | // | ||
+ | If the flashing operation fails or if the firmware has a bug, it may be impossible to warmboot. In that case start the bootloader manually and disable warmboot temporarly by programming with: | ||
+ | < | ||
+ | make cload CLOAD_CMDS= | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
====== cfloader ====== | ====== cfloader ====== |