User Tools

Site Tools


doc:crazyflie:bootloader:protocol

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:crazyflie:bootloader:protocol [2015-08-20 14:40]
arnaud
doc:crazyflie:bootloader:protocol [2021-06-24 16:36] (current)
kimberly
Line 1: Line 1:
 +<WRAP center round important 60%>
 +This page has deprecated and will be archived. Please go to [[https://www.bitcraze.io/]].
 +</WRAP>
 +
 ====== Crazyflie bootloader architecture and protocol ====== ====== Crazyflie bootloader architecture and protocol ======
  
Line 79: Line 83:
 | 0x19  | FLASH_STATUS  |   | | 0x19  | FLASH_STATUS  |   |
 | 0x1C  | READ_FLASH  |   | | 0x1C  | READ_FLASH  |   |
 +| 0xFF  | RESET_INIT  | Only implemented in version 0x10 target 0xFE |
 +| 0xF0  | RESET | Only implemented in version 0x10 target 0xFE |
 +| 0x01  | ALLOFF | Only implemented in version 0x10 target 0xFE |
 +| 0x02  | SYSOFF | Only implemented in version 0x10 target 0xFE |
 +| 0x03  | SYSON | Only implemented in version 0x10 target 0xFE |
 +| 0x04  | GETVBAT | Only implemented in version 0x10 target 0xFE |
  
 ==== GET_INFO ==== ==== GET_INFO ====
Line 242: Line 252:
 </WRAP> </WRAP>
 </WRAP> </WRAP>
 +
 +====  RESET_INIT ====
 +
 +Prepare to reset (no additional data fields). The result will be the original request.
 +
 +====  RESET ====
 +
 +Reset (no additional data fields). No result will be sent.
 +
 +====  ALLOFF ====
 +
 +Turn everything off as if the power button would have been pressed (i.e. STM32 and radio). The CF won't be able to wake-up unless the power button is pressed. No result will be sent.
 +
 +====  SYSOFF ====
 +
 +Turn the STM32 off, but keep the NRF51 with radio awake. The CF can be woken up by: sending reset, pressing the power button, or sendind SYSON. No result will be sent.
 +
 +====  SYSON ====
 +
 +Turn the STM32 on. No result will be sent.
 +
 +====  GETVBAT ====
 +
 +<WRAP group>
 +<WRAP half column>
 +</WRAP>
 +
 +<WRAP half column>
 +^ Byte ^ Answer fields ^ Content  ^
 +|  0-3   | vbat | floating point value containing the current battery voltage in volts |
 +</WRAP>
 +</WRAP>
 +
 +Check battery status (works even if the STM32 is turned off). 
  
  
doc/crazyflie/bootloader/protocol.1440074414.txt.gz · Last modified: 2015-08-20 14:40 by arnaud