Skip to content

Firmament-Autopilot/PX4-Bootloader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootloaders for the Pixhawk board family

Build Status

Build instructions

Use ONLY arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 7-2017-q4-major) 7.2.1 20170904 (release) [ARM/embedded-7-branch revision 255204]

Version 9.3 will cause issues with flash programing and not work at this time!

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: LGPL for libopencm3, BSD for core bootloader (see LICENSE.md)

Contact

Bootloader Usage

Typical use case. The PX4 IO. px4pipbl.pdf

To avoid accidental erasure or bad image loading:

The booaloder need to receive PROTO_GET_SYNC and PROTO_GET_DEVICE Prior to receiving PROTO_CHIP_ERASE
The booaloder need to receive PROTO_GET_SYNC and PROTO_GET_DEVICE and PROTO_PROG_MULTI and PROTO_GET_CRC Prior to receiving PROTO_BOOT

About

PX4 Bootloader for PX4FMU, PX4IO and PX4FLOW

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 91.9%
  • Shell 3.2%
  • Makefile 2.8%
  • Python 2.1%