Skip to content

加载固件

QGroundControl desktop versions can be used to install PX4 firmware onto Pixhawk-series flight-controller boards.

WARNING

Before you start installing Firmware all USB connections to the vehicle must be disconnected (both direct or through a telemetry radio). The vehicle must not be powered by a battery.

安装稳定的PX4版本

Generally you should use the most recent released version of PX4, in order to benefit from bug fixes and get the latest and greatest features.

TIP

This is the version that is installed by default.

To install PX4:

  1. Start QGroundControl and connect the vehicle.

  2. Select "Q" icon > Vehicle Setup > Firmware (sidebar) to open Firmware Setup.

    Firmware disconnected

  3. Connect the flight controller directly to your computer via USB.

    INFO

    Connect directly to a powered USB port on your machine (do not connect through a USB hub).

:::

  1. Select the PX4 Pro Stable Release vX.x.x option to install the latest stable version of PX4 for your flight controller (autodetected).

    Install PX4 default

  2. Click the OK button to start the update.

    The firmware will then proceed through a number of upgrade steps (downloading new firmware, erasing old firmware etc.). Each step is printed to the screen and overall progress is displayed on a progress bar.

    Firmware upgrade complete

    Once the firmware has completed loading, the device/vehicle will reboot and reconnect.

    TIP

    If QGroundControl installs the FMUv2 target (see console during installation) and you have a newer board, you may need to update the bootloader in order to access all the memory on your flight controller.

:::

Next you will need to specify the vehicle airframe (and then sensors, radio, etc.)

安装PX4 Main, Beta或自定义固件

To install a different version of PX4:

  1. Connect the vehicle as above, and select PX4 Pro Stable Release vX.x.x. Install PX4 version
  2. Check Advanced settings and select the version from the dropdown list:
    • Standard Version (stable): The default version (i.e. no need to use advanced settings to install this!)
    • Beta Testing (beta): A beta/candidate release. 只有当新版本准备完毕时才可用。
    • Developer Build (master): The latest build of PX4/PX4-Autopilot main branch.
    • Custom Firmware file...: A custom firmware file (e.g. that you have built locally). 如果选择 Custom firmware file ,您需要在下一步中从文件系统中选择自定义固件。

Firmware update then continues as before.

Bootloader 更新

硬件通常预先安装匹配版本的引导程序。

您可能需要更新的是安装较新的 Pixhawk 板FMUv2 固件 。 If QGroundControl installs the FMUv2 target (see console during installation), and you have a newer board, you may need to update the bootloader in order to access all the memory on your flight controller.

FMUv2 update

You can update it by following the instructions in Bootloader update > FMUv2 Bootloader Update.

更多信息