Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Firmware

ARK CANnode runs the PX4 DroneCAN Firmware. As such, it supports firmware update over the CAN bus and dynamic node allocation. It can also run ArduPilot AP_Periph firmware; see ArduPilot Firmware.

Updating

To flash the application firmware you can use the SD card method as documented here or you can use the DroneCAN GUI Tool and a USB-to-CAN adaptor to flash the firmware directly.

Downloads

Building and Flashing over SWD

ARK CANnode boards ship with recent firmware pre-installed, but if you want to build and flash the latest firmware yourself see PX4 DroneCAN Firmware > Building the Firmware.

Building the Application

make ark_cannode

Building the Bootloader

make ark_cannode_canbootloader

Flashing the Bootloader

To flash the bootloader firmware you need an ST-LINK programmer. See the ST-LINK Flashing Guide for setup instructions.

Flashing the Application

If you flash the application over SWD instead of over CAN, it goes at the application offset — 0x08000000 is the bootloader's address:

ArduPilot Firmware

For flight controller setup with AP_Periph, see ArduPilot Instructions.

Flashing over CAN

Flash the ARK CANnode with AP_Periph firmware using the DroneCAN GUI Tool. See the DroneCAN GUI Tool Guide for detailed instructions on connecting and uploading firmware.

  1. Download the latest AP_Periph firmware for the ARK CANnode from firmware.ardupilot.org/AP_Periph

  2. Connect the CANnode to the flight controller's CAN bus

  3. Open the DroneCAN GUI Tool

  4. Double-click the CANnode in the node list

  5. Click Update Firmware and select the .bin AP_Periph firmware file

Flashing over SWD

If the CANnode has no bootloader and does not show up on the CAN bus, flash it with an ST-LINK using the combined bootloader + application image:

Do not write AP_Periph.bin to 0x08000000 — the bootloader lives there and the application starts at 0x08010000. See Flashing DroneCAN Nodes for details.

Building

Application:

Bootloader:

The bootloader can also be updated from the running AP_Periph firmware by setting FLASH_BOOTLOADER = 1 on the CANnode via the DroneCAN GUI Tool.

The hardware definition can be found here: https://github.com/ArduPilot/ardupilot/tree/master/libraries/AP_HAL_ChibiOS/hwdef/ARK_CANNODE

Node Parameters

These apply to the PX4 DroneCAN firmware. Set them on the CANnode, then reboot it. Use QGroundControl, where each CAN node is a separate Component X under Vehicle Settings > Parameters, or the DroneCAN GUI Tool.

Parameter
Default
Description

0

Enable the built-in CAN bus termination resistor. Set to 1 only if this device is the last node on the CAN bus

CANNODE_NODE_ID

0

Fixed node ID (1–125). 0 uses dynamic node allocation

0

Set to 1 to publish RawIMU messages from the onboard IMU. PX4 also needs UAVCAN_SUB_IMU set to 1

CANNODE_PUB_MAG

1

Publish data from a connected magnetometer. External magnetometers are detected at boot

CANNODE_PUB_BAR

1

Publish data from a connected barometer

SENS_EN_*

0

Start the driver for an external I2C or SPI sensor, for example SENS_EN_SDP3X for a Sensirion SDP3x airspeed sensor

SYS_BL_UPDATE

0

Set to 1 to rewrite the CAN bootloader from the running firmware. The flight controller logs bootloader updated, bootloader unchanged or bootloader update failed, and the parameter returns to 0. Firmware built before October 2026 lacks this parameter

PWM output parameters (PWM_MAIN_*, DSHOT_TEL_CFG) are set per use case; see CANnode as PWM Expander.

Release Notes

v1.18.0.1 - d1f97771 - 2026-10-03

  • PX4 v1.18 base

  • SCH16T driver built in

  • Bootloader update from the running firmware (SYS_BL_UPDATE)

Last updated