Skip to content

PX4/PX4-Bootloader

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

This PR aligns boards.txt between ArduPilot and PX4. A matching PR will be submitted to the other repo.
70859fd

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
January 28, 2021 09:53
November 24, 2021 08:18
October 27, 2022 06:28
October 27, 2022 06:28
July 5, 2018 07:24
July 5, 2018 07:24
July 5, 2018 07:24
October 31, 2016 11:12

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.