Firmware Recovery
Procedures to resolve firmware-related issues
Recovery may be necessary if a firmware update fails or incompatible firmware is loaded.
Attempt flashing the bootloader via SWD port if the Cube is:
Not showing up as a USB device at all
Showing up as a single USB Serial Device
Displaying an error related to firmware
Prerequisites
J-Link device (i.e. EDU Mini V2) or similar
J-Link Adapter Board and 6-pin JST SUR plug for SWD port
Refer here for Carrier Board pinout: FMU Debug pinout
Pinout of example J-Link Adapter Board w/ JST SUR plug: J-Link Adapter Board
“J-Link Software and Documentation Pack” (segger.com/downloads/jlink/)
Download latest “arducopter_with_bl.hex” for your flight controller from firmware.ardupilot.org (or other vehicle type of your choice).
De-cased Carrier Board
Remove 4x Phillips head mounting Cube onto Carrier Board.
Remove 4x Phillips head from side of housing.
Remove 4x 1.5mm hex head from base of housing.
Press in plastic clips and gently separate the two parts of the housing.
Procedures
J-Link with J-Flash Lite
Plug J-Link into the left port on the Carrier Board.

Connect J-Link to PC over USB.
Open J-Flash Lite (JFlashLite.exe).
Use the following parameters, changing the target device according to the table:

CubeOrange+
STM32H757XI_M7
CubeOrange
STM32H753XI
Click OK.
Plug the Cube into USB (for power) and immediately click Erase Chip.

Click the button under Data File and open the arducopter_with_bl.hex file
Click Program Device.
Check the log for the following output:

Unplug the Cube's USB port and Carrier Board's SWD port.
Plug USB into the Cube and verify connectivity with Mission Planner.
Check the version matches the .hex file flashed. You should now be able install firmware using Mission Planner.
Last updated
Was this helpful?