Wiki
  • About CBUnmanned
  • Products
    • CBUnmanned Stamp Eco System
      • Start Here & FAQs
      • H743 Stamp Flight Controller (& Low Cost)
        • Pin Out
        • ArduPilot Wiring & Parameters
        • PCB Footprints & 3D Model
        • Breakout PCB Pinout
        • Flashing & Firmware
      • AM32 ESC
        • PCB Footprints
        • Example PCB Schematics & Layouts
        • Firmware
      • CAN Stamp
        • Example Schematics and Firmware
    • OpenWRT UAV Router
      • Getting Started
      • Connections & Pinout
      • Update Firmware
      • USB Data Tethering
      • TailScale VPN
      • Mavlink Through Serial
      • Mavlink Through Ethernet
      • Mavlink Forwarding with mavp2p
    • 2-8s Battery Monitor
  • Products (EOL)
    • CBU-CM405-FC (EOL)
      • Overview & Initial Setup
      • Female Header F405
        • RC In/SBus Wiring
        • UART
        • I2C
      • Male Header USB Hub
      • Micro USB
      • ESC Connector
        • CM405-FC-BO Pinout
      • Cameras
      • Micro SD Card
      • 40 Pin GPIO
      • FC>CM4 Telemetry
      • DIP Switch
      • Flashing Guide
        • STM32F405
        • Compute Module 4 EMMC
      • Firmware Build Files
        • CM4
        • ArduPilot
          • hwdef.dat
          • hwdef-bl.dat
      • Power Requirements
      • 3D Printable Frames
Powered by GitBook
On this page
  1. Products (EOL)
  2. CBU-CM405-FC (EOL)
  3. Flashing Guide

STM32F405

PreviousFlashing GuideNextCompute Module 4 EMMC

Last updated 2 years ago

To flash the STM32 range of IC's, it is recommended to use STM's official tool "STM32 Cube Programmer". Download the tool from .

Download your selected Firmware file, either from the CBUnmanned GitHub or directly from your flight controller software distribution.

Example of Flashing ArduCopter:

  1. Download the Firmware with Bootloader (arducopter_with_bl.hex).

  2. Put the flight controller into DFU bootloader mode (find more information under each products wiki).

  3. Remove CM4 (only needs to be removed if being solely powered through USB due to current limitations).

  4. Connect USB

  5. Open STM32CubeProgrammer and ensure that "USB" is selected on the right (Red)

  6. Click Refresh (Red) to show the device and then select it in the "Port" drop down. Click Connect (Purple).

  7. Device memory (Red) should populate and you should get some information in the Log (Purple).

  8. Click on "Erasing & Programming" on the left (Red) to open a different window. Browse (Purple) for the firmware file and ensure flash settings match the screenshot (Orange). Finally Click "Start Programming" (Brown).

  9. Wait for the flash to finalise and the board to reboot fully. Please note you may have initial sensor issues if you have selected "Run After Programming" above, a complete power cycle fully solves this.

  10. Reset switches back to Non-DFU mode.

here