Before you start
ArduPilot for the FCU-6C is built with the YukeFCU6C board definition (hwdef). The board is based on the Pixhawk 6C definition, but because of differences in the IMU, barometer, compass, parameter storage and IOMCU crystal, stock Pixhawk6C firmware does not fully work on it. The LSM6DSK320X driver is currently only in ArduPilot master, so the firmware is built from master; a backport of the driver to 4.7 is pending. For firmware files, write to [email protected].
Keep propellers off the motors for the whole setup. Make the first connection over USB-C only; the board runs from USB when no power module is connected.
- A data-capable USB-C cable and a computer with Mission Planner or QGroundControl.
- Firmware files: arducopter_with_bl.hex (bootloader + firmware) for a blank board, arducopter.apj for later updates.
- For a blank board, STM32CubeProgrammer and, if needed, an ST-Link.
Loading the firmware
If the board already has a bootloader, go straight to updating. A blank board needs the bootloader first. USB DFU is the easiest route: close the BOOT0_DFU (JP1) solder bridge on the bottom side or short it with tweezers, plug in USB, select the USB connection in STM32CubeProgrammer and write arducopter_with_bl.hex. Then open the bridge and power-cycle the board. The same file can also be written with an ST-Link through the FMU debug pads: TP8 SWDIO, TP9 SWCLK, TP10 nRST, TP11 GND, TP7 3.3 V reference.
The IOMCU bootloader is written only once, at address 0x08000000 (iomcu_f103_8MHz_bl.bin). Use the IO debug pads (TP16 SWDIO, TP17 SWCLK, TP18 nRST, TP19 GND) with an ST-Link, or the IO_BOOT0_UART (JP2) bridge with a 3.3 V USB-UART adapter. From then on the FMU checks the IO firmware at every boot and loads it itself when needed.
- For later updates, load arducopter.apj with “Load custom firmware” on Mission Planner's Install Firmware screen, or with the custom firmware file option in the advanced settings of QGroundControl's Firmware screen.
- Parameters are kept in a reserved part of flash, so a firmware update does not erase them.
- Until an official ArduPilot board ID is assigned, the board uses a temporary ID and ArduPilot's default USB identity; the ground station may show it as a generic ArduPilot device.
Connection and basic settings
Plug in USB-C, select the board's COM port in the ground station and connect. First define the vehicle: for an X quad in ArduCopter, FRAME_CLASS = 1 and FRAME_TYPE = 1. Reboot the board after the change.
Set up the serial ports for the devices you connected: TELEM1 is SERIAL1, TELEM2 SERIAL2, GPS1 SERIAL3, GPS2 SERIAL4 and TELEM3 SERIAL5. For example, with a CRSF receiver on TELEM3 set SERIAL5_PROTOCOL = 23. For the power module, set BATT_MONITOR = 4 and enter the voltage and current scales of your own module.
- If you need bidirectional DShot, connect the motors to FMU PWM OUT (AUX, SERVO9–16), assign the matching SERVOx_FUNCTION values to the motors and choose the DShot rate with MOT_PWM_TYPE.
- With DroneCAN ESCs no PWM output is needed; the settings are in the AM32 DroneCAN ESC wiring document.
- If a safety switch is wired to the GPS1 connector, it has to be pressed before arming. If you will not use one, turn that behaviour off deliberately with BRD_SAFETY_DEFLT.
Wait for the heater, then calibrate
The IMUs sit on a heated island held at 45 °C. Calibrate only after the island has settled at that temperature; offsets taken on a cold board are not valid at flight temperature. After connecting, watch the IMU temperature in the ground station and wait a few minutes until it holds steady around 45 °C. The target is set by the BRD_HEAT_TARG parameter.
- Accelerometer: run the six-position calibration, then finish with a level calibration on a flat surface.
- Compass: calibrate the onboard MMC5983MA and any external compass on GPS1 after the board is mounted in the vehicle and wired up. On most vehicles, giving priority to the external compass, away from the power wiring, works better.
- Radio: in the radio calibration, check that every channel reaches both ends and moves in the right direction.
- IMU position: the IMUs sit about 31 mm ahead of the board centre. Measure INS_POS1_X/Y and INS_POS2_X/Y from the vehicle's centre of gravity and enter them; with the board centred on the CG, X is about 0.031 m.
Final checks before the first flight
If one of these checks does not give the expected result, do not compensate with AHRS_ORIENTATION; report it to [email protected] with the log file and a screenshot. On prototype boards, these tests are how sensor orientations get verified.
- Tilt the board nose-down and to the right: pitch and roll must change with the correct sign on both IMUs. The front of the board is the end with the IMU island.
- With the board level, heading must increase when you turn it clockwise.
- BARO1 (ICP-20100) must appear.
- Use a motor test without propellers to confirm motor order and spin directions.
- Do not arm until every pre-arm message is resolved.