Flashing PX4 (Upstream) Firmware

Flash PX4 Upstream Firmware onto a local Skynode

The developer Skynode Auterion OS image includes APX4. If you would like to try a more recent PX4 flight kernel, you can install the upstream PX4 from PX4/PX4-Autopilot.

Upstream PX4 will generally work, with the following caveats:

  • Configuration and drivers for components of your exact product may not be present. You may encounter missing configuration or functionality for ESCs, batteries, sensors, and so on.

  • Some parameters might have different default values in the PX4 release shipped with Auterion OS.

  • Features accessed by vendor-specific customizations running on the companion computer may not be present in PX4.

Building/Uploading Firmware

PX4 px4_fmu-v5x binaries for Skynode can be built from source using the PX4 developer environment and PX4 build commands, and uploaded by specifying either the upload_skynode_usb or upload_skynode_wifi upload target.

SSH and TAR are needed to use these upload targets, but are expected to be present by default on Ubuntu and Ubuntu running on Windows in WSL2. On macOS you should first install gnu-tar.

First get the PX4 source code using the command:

git clone https://github.com/PX4/PX4-Autopilot.git --recursive
cd PX4-Autopilot

Then build PX4 with the upload target for the connection you are using. You will need to enter the password for the Skynode developer image twice during the upload process.

make px4_fmu-v5x upload_skynode_usb

Restoring the Default Skynode APX4 Firmware

To reinstall the original Skynode version of APX4, run the following command in the root of the PX4-Autopilot repository:

./Tools/auterion/upload_skynode.sh --revert

Last updated