This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
doc:lighthouse:bootloader [2019-03-07 11:20] arnaud |
doc:lighthouse:bootloader [2019-03-10 12:13] arnaud [Firmware versioning] |
||
---|---|---|---|
Line 9: | Line 9: | ||
==== Uart protocol ==== | ==== Uart protocol ==== | ||
- | There is two UARTs on the deck, UART0 on the Crazyflie deck interface and UART1 on 2.54mm soldering pads available for external communication. The bootloader is available on both UARTs. The UARTs are setup with a baudrate of 115200. | + | There is two UARTs on the deck, UART0 on the Crazyflie deck interface and UART1 on 2.54mm soldering pads available for external communication. The bootloader is available on both UARTs. The UARTs are setup with a baudrate |
+ | |||
+ | <WRAP center round important> | ||
+ | **Warning**: | ||
+ | </ | ||
When using the UART, commands are sent on the RX line and answer will be sent back by the bootloader on the TX line. Since the bootloader and the Flash SPI bus are working much faster than the UART, there is no need for flow control. | When using the UART, commands are sent on the RX line and answer will be sent back by the bootloader on the TX line. Since the bootloader and the Flash SPI bus are working much faster than the UART, there is no need for flow control. | ||
Line 36: | Line 41: | ||
===== Bootloader protocol ===== | ===== Bootloader protocol ===== | ||
- | All numbers are expressed | + | All numbers are encoded |
==== Boot ==== | ==== Boot ==== | ||
Line 108: | Line 113: | ||
===== Firmware versioning ===== | ===== Firmware versioning ===== | ||
- | The firmware is an iCE40 bitstream ((The bitstream format has been [[http:// | + | The firmware is an iCE40 bitstream ((The bitstream format has been [[http:// |
The version string format is a base 10 integer number in ascii indicating the version. For example " | The version string format is a base 10 integer number in ascii indicating the version. For example " |