Skip to content

PX4 Bootloader for PX4FMU, PX4IO and PX4FLOW

License

Notifications You must be signed in to change notification settings

PX4/PX4-Bootloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootloader for the Pixhawk board family

GitHub Actions Status

Build instructions

Build all targets:

git submodule sync --recursive
git submodule update --init --recursive
make

The binaries will be in build/BOARDNAME/BOARDNAME.elf. Two files are built: ELF files for use with JTAG adapters and BIN files for direct onboard upgrading.

Build a specific board: Please check the Makefile for specific build targets.

License

License: LGPL3 for libopencm3, BSD-3-clause for core bootloader (see LICENSE.md)

Contact

Bootloader Usage

The typical use case as used for the the PX4IO is described in px4pipbl.pdf.

To avoid accidental erasure or bad image loading:

  • The bootloader needs to receive PROTO_GET_SYNC and PROTO_GET_DEVICE prior to receiving PROTO_CHIP_ERASE.
  • The bootloader needs to receive PROTO_GET_SYNC and PROTO_GET_DEVICE and PROTO_PROG_MULTI and PROTO_GET_CRC prior to receiving PROTO_BOOT.