Flashing PX4 Binary and Vehicle Config
How to flash PX4 firmware and the vehicle configuration file onto a local Skynode without repackaging AuterionOS and without building the firmware from source.
Last updated
How to flash PX4 firmware and the vehicle configuration file onto a local Skynode without repackaging AuterionOS and without building the firmware from source.
Last updated
Any change to the flight control source code can have severe impacts on the vehicle's safety.
In production environments APX4 (Auterion PX4) firmware binaries and configuration files will be bundled into an AuterionOS image and deployed by updating AuterionOS as a whole. For development purposes this is time-consuming. Thus you can use the following commands to directly update the flight controller in Skynode with a new firmware and / or configuration. These instructions require you to download and set up the first before proceeding.
PX4 configurations and the PX4 firmware binaries are located in ./fmu/config
and ./fmu/binaries
of your directory. These files are included in the AuterionOS image during the packaging. During an update of AuterionOS the PX4 binary and configuration are flashed on to the flight controller.
The following command can be used to upload a custom APX4 binary to Skynode. This is assuming a custom firmware file that is stored in the default location, as is typically the case for custom FMU builds by an OEM.
It is also possible to only update the PX4 configuration files, such as the airframe definitions or UAVCAN firmware binaries. Assuming all related files are located in the folder ./fmu/config
of your copy of the Auterion Developer tools, you can use the following command to perform the update:
The two aforementioned commands for uploading a new APX4 firmware and the configuration can of course be combined to a single line as the following example shows: