# Setup & Configuration

1. Power via 5V regulated supply.
2. Connect CAN1 or CAN2 to autopilot [CAN port](https://docs.px4.io/main/en/can/#wiring).
3. Flash firmware using:
   * DroneCAN bootloader (via CAN)
   * ST-Link (SWD)
4. Set parameters:
   * CAN\_P1\_DRIVER = 1
   * CAN\_P1\_PROTOCOL = 1
5. Use Mission Planner / DroneCAN GUI to:
   * View node status
   * Assign node ID
   * Update firmware

{% hint style="info" %}
Note: The AeroBridge module comes pre-installed with the latest stable DroneCAN or ap\_periph firmware, so flashing is not required out of the box unless you want to update or customize the firmware.
{% endhint %}

#### LED Status Indicators

During the firmware flashing process, both the red and blue LEDs on the AeroBridge module will illuminate. Once the module has booted successfully and is running correctly, only the blue LED will remain solid.

If you notice a solid red LED, this typically indicates a problem. Please check the following:

* Ensure your flight controller has a valid SD card inserted.
* Confirm that the DroneCAN bootloader (e.g., ap\_periph\_canbootloader) has been flashed to the module before uploading the main firmware (e.g., ap\_periph\_default).
* If errors persist, try removing any existing firmware files from the root and ufw folders on the SD card, then rebuild and reflash the firmware.

{% hint style="info" %}
If you’re using multiple AeroBridge modules, ensure each has a unique Node ID (can be set in firmware source or via DroneCAN GUI tools.)
{% endhint %}
