[ad_1]
A large thanks to @John_Gardi for displaying me again up and restore flight controllers utilizing STM32CubeProgrammer. This software reads the processor’s reminiscence, making an entire backup of the firmware and configurations in a single file, which you’ll later restore.
Disclaimer
I’ve solely briefly examined this methodology. Whereas it appears to work effectively, I counsel warning. I’m not accountable for any injury or configuration loss to your FC attributable to following these directions. All the time again up your flight controller utilizing typical strategies earlier than making an attempt this one.
For a protected backup/restore methodology, see this information: https://oscarliang.com/backup-restore-betaflight-config/
Why It Issues?
This methodology creates a backup of the firmware and configurations in a single file. This makes backing up and restoring simple.
In my restricted testing, I efficiently switched between two completely different Betaflight variations, retaining all custom-made settings. I additionally tried switching between Betaflight and iNav in just some clicks. The method took solely about 30 seconds, making it an efficient and environment friendly strategy to backup and restore.
This methodology ought to work with any Betaflight/iNav flight controller utilizing STM32 processors, however I’ve solely examined F405 to date.
Obtain
Get STM32CubeProg right here: https://www.st.com/en/development-tools/stm32cubeprog.html
Enter DFU Mode
Comply with this information to place your flight controller in DFU mode: https://oscarliang.com/dfu-mode/
Shut Betaflight Configurator, however go away the FC related to your laptop (nonetheless in DFU mode).
Connecting STM32CubeProg
Run STM32CubeProgrammer.
Within the dropdown listing subsequent to ‘join’, choose “USB”, then click on ‘Join’.
Studying Flight Controller
After connecting, select ‘Learn all’. This reads your complete processor reminiscence which may then be saved.
Backing Up Information
To avoid wasting the info, choose “Save As”.
This may save each the firmware and all of the settings in a single file. The dimensions of the saved file ought to match the processor reminiscence – both 512KB or 1MB relying on the kind of FC processor. Be taught extra about FC processor right here: https://oscarliang.com/f1-f3-f4-flight-controller/
Restoring Information
To revive a flight controller, click on “Open file” to open the saved file.
Then click on “Obtain” possibility (within the high proper blue field) to write down the info to the flight controller. The method takes about 30 seconds.
[ad_2]